Setting up sendmail over SSL on Ensim Pro Control Panel for Linux
Login as root on your Ensim Pro Control Panel for Linux box
Backup your current sendmail conf file
Prepare sendmail’s certificate
make sendmail.pem
You will be prompted with several questions typical for SSL certificate generation)
Backup /usr/lib/opcenter/sendmail/install/sendmail.mc file
Edit /usr/lib/opcenter/sendmail/install/sendmail.mc file
Uncomment the following lines to point to your generated certificate
define(`confCACERT’,`/usr/share/ssl/certs/ca-bundle.crt’)
define(`confSERVER_CERT’,`/usr/share/ssl/certs/sendmail.pem’)
define(`confSERVER_KEY’,`/usr/share/ssl/certs/sendmail.pem’)
Add DAEMON_OPTIONS to make sendmail listen on port 465
DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, Name=MTA’)dnl
DAEMON_OPTIONS(`Port=smtps, Name=SSLMTA, M=s’)dnl
Rebuild sendmail conf file
Restart sendmail
You can check if sendmail is listening on 465 port by issuing command
Reference: http://parallels.com
Leave a Reply
You must be logged in to post a comment.