TrumanWong

sendmail

Famous email servers

Supplementary instructions

sendmail command is a well-known email transfer agent, also known as an email server. It is based on the standard Simple Mail Transfer Protocol (SMTP).

grammar

sendmail(options)

Options

-bd: Run the command in daemon mode;
-bD: Run in foreground mode;
-bi: Initialize the alias database;
-bm: Send email as regular;
-bp: Display the mail sending queue;
-C: Specify the configuration file;
-D: Save the debugging output information to the log file instead of displaying it on the standard output device;
-F: Specify the full name of the email sender;
-n: Disable the use of the email alias function;
-f: Specify the sender’s name;
-q: Set the time interval for processing mail in the mail queue.