mail-proxy starttls and ssl on

bobykus nginx-forum at
Mon Oct 10 09:29:45 UTC 2016

The manual 

Setting up SSL/TLS for a Mail Proxy


Enable SSL/TLS for mail proxy with the ssl directive. If the directive is
specified in the mail context, SSL/TLS will be enabled for all mail proxy
servers. You can also enable STLS and STARTTLS with the starttls directive:
mail {
    ssl      on;
    starttls on;

However if I add both, 

nginx: [warn] "ssl" directive conflicts with "starttls" in
nginx: configuration file /root/nginx.conf test failed

How comes?

Posted at Nginx Forum:,270147,270147#msg-270147

More information about the nginx mailing list