web analytics


Virtualmin: Enable Postfix SSL for SMTP

Tags: postfix sslvirtalmin

Published on: August 10, 2014 by Felix

Virtualmin: Enable Postfix SSL for SMTP


Follow the steps to enable the Postfix SSL for SMTP in the Virtualmin server:

1. Login to Virtualmin control panel. https://xx.xx.xx.xx:1000

2. Click Edit Virtual Server. Go into Enabled Features and check “ Setup SSL website too ? ”, then hit save


If the web server is nginx then the option will be ” Nginx SSL website “


3. Edit /etc/postfix/master.cf. Find these lines and uncomment them:

# smtps inet n - n - - smtpd

# -o smtpd_tls_wrappermode=yes

# -o smtpd_sasl_auth_enable=yes

# -o smtpd_client_restrictions=permit_sasl_authenticated,reject

# -o milter_macro_daemon_name=ORIGINATING


4. Restart SSL AUTH daemon 

# /etc/init.d/saslauthd restart


5. Server Configuration -> Manage SSL Certificate and Click the button “Copy to Postfix” at the bottom. That’ll setup Postfix with that new SSL cert you just created.


6. Restart mail server

# /etc/init.d/postfix restart


Category : DirectAdmin, Linux



Firaz has been in the Web Hosting industry since 2012. He is always fascinated in resolving complicated DNS, cPanel and other Web hosting issues. He loves to help newbies to climb the hill from a fresher to an experienced System admin. Movies and songs are his favourite passtime.

You may also read:


Add new commentSIGN IN

Let's Connect

Get new updates


$0.000 items