Sendmail Configuration Basics

Sendmail configuration should be done in the /etc/mail/ file

To generate configuration changes, use the m4 macro processor:

m4 /etc/mail/ > /etc/mail/

To restart sendmail after making changes:

/etc/init.d/sendmail restart

Define the domainnames for which your mail server handles mail for in the /etc/mail/local-host-names file. For example, if you handle mail for, add this to the local-host-names file.
Restart sendmail after you make changes to this file.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.