MTA: Sendmail

SSL configuration

by ross at 07:22:48 on October 28, 2011

Create keys as described here: OpenSSL certificates

Add to /etc/mail/YOUR-HOSTNAME.mc:

define(`confCACERT_PATH',`/etc/certs')
define(`confCACERT',`/etc/certs/server.crt')
define(`confSERVER_CERT',`/etc/certs/server.crt')
define(`confSERVER_KEY',`/etc/certs/server.unencrypted.key')

Make sure all files are readable by Sendmail. Compile config files and restart sendmail:

# cd /etc/mail
# make cf
# make install
# make restart

 

Comments