Warning when email is sending: TLS context initialization failed.

Refers to:

  • Plesk 11.5 for Linux

Created:

2016-11-16 13:11:20 UTC

Modified:

2017-02-21 12:06:12 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Warning when email is sending: TLS context initialization failed.

Symptoms

Mail delivery fails with error:

warning: Wrapper-mode request dropped for service smtps. TLS context initialization failed.

Cause

TLS parameters are not correct in /etc/postfix/main.cf .

Resolution

  1. Make sure that smtpd_use_tls is enabled, it should look as below:

    # grep -i tls /etc/postfix/main.cf

    smtpd_tls_cert_file = /etc/postfix/postfix_default.pem
    smtpd_tls_key_file = $smtpd_tls_cert_file
    smtpd_tls_security_level = may
    smtpd_use_tls = yes
  2. Certificate files exists:

    # ls -la /etc/postfix/postfix_default.pem
    -rw------- 1 root root 3050 Nov 27 15:11 /etc/postfix/postfix_default.pem
Have more questions? Submit a request
Please sign in to leave a comment.