sendmail
The /etc/mail/local-host-names configuration file
sendmail uses the following configuration files:
The /etc/mail/local-host-names configuration file
sendmail uses the following configuration files:
Linux Sendmail Introduction and Configuration smtp and mail server
Sendmail was originally developed by Eric Allman, in 1979, as "delevermail", which first shipped with BSD 4.0. This program was not very flexible and required configuration at compile time. With the growth of TCP protocol and other factors, it became obvious that delevermail was not flexible enough to handle these new demands.
For your new e-mail server to work, you must first get all the DNS issues straight.
LINUX- Submitting mail from the command line with sendmail and configuration
For Submitting mail from the command line with sendmail Type the following command where user@example.com is the address of the recipient:
[root@indiapoly.com ~]/usr/sbin/sendmail demo@example.com
- Type in your message, then
- press Enter and
- type in a dot and
- press Enter again.
Thats all your mail has been sent based on the headers provided in conf files.
Piping to sendmailYou can pipe in a message to sendmail with the following command where filename is name of the file containi
Configure sendmail as a smart host linux sendmail
Smart host is very handy if you are on dial up network or sometimes a host finds mail that it is unable to deliver directly to the desired remote host.
Send Email With Linux using mail command
The most commaon command in linux for sending the mails is mail command.The mail program is a command-line interface for sending and receiving electronic mail. It works, but it's not pretty. Later in this section, you'll learn about Pine, a much friendlier email interface, but you should know how to use mail since it's guaranteed to be available on any Unix system.
Let's say you're logged in as root and you want to send a message to hermie.

Sign In





