Installing sendmail on CentOS

Here’s a good post to reference:

1. Install sendmail
yum install sendmail-cf sendmail-doc sendmail-devel

2. Set sendmail for auto startup
chkconfig sendmail on

3. Send a test email – Need to create MX record before
mail -v -s 'Testing sendmail'

By default logs can be found in /var/log/maillog.

And here’s another post related to setting up SMTP authentication:

Leave a Reply

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