Article ID: 118353, created on Nov 1, 2013, last review on Sep 28, 2016

  • Applies to:
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux
  • Plesk 11.5 for Linux


Unable to send emails via SMTP with SSL encryption on port 465. This can be verified with the following command:

openssl s_client -crlf -connect localhost:465

But it is possible to send emails via SMTP with TLS encryption on port 465:

openssl s_client -starttls smtp -crlf -connect localhost:465


Postfix configuration file was changed manually. Postfix works with either SSL or TLS encryption (not with both at the same time). By default Plesk uses SSL. This is the default configuration:

/etc/postfix/ file contains the following entries:

smtp_tls_security_level = may
smtpd_sasl_auth_enable = yes
smtpd_tls_cert_file = /etc/postfix/postfix_default.pem
smtpd_tls_key_file = /etc/postfix/postfix_default.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes 

/etc/postfix/ contains the following options:

plesk_saslauthd unix y y n - 1 plesk_saslauthd status=5 listen=6 dbpath=/var/spool/postfix/plesk/passwd.db
smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes
submission inet n - n - - smtpd -o smtpd_enforce_tls=yes -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtp      inet  n       -       n       -       -       smtpd   


Change Postfix configuration to default:

  1. Backup current configuration files:

    # cp /etc/postfix/{,.orig}
    # cp /etc/postfix/{,.orig}
  2. Change options in /etc/postfix/ and /etc/postfix/ files to default.

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f 742559b1631652fadd74764ae8be475e e335d9adf7edffca6a8af8039031a4c7 2a5151f57629129e26ff206d171fbb5f

Email subscription for changes to this article
Save as PDF