- Plesk 12.0 for Linux
Mail send attempt fails with an error:
There was an error sending your message: Could not open secure TLS connection to the server.
the following is seen:
ERR: HORDE [imp] Could not open secure TLS connection to the server. TLS not available due to local problem [pid 250389 on line 1150 of "/usr/share/psa-horde/imp/lib/Compose.php"]
Postfix Certificate is absent.
Check whether certificate is present on the server:
# grep -ir tls_cert /etc/postfix/main.cf
smtpd_tls_cert_file = /etc/postfix/postfix_default.pem
# ls -la /etc/postfix/postfix_default.pem*
ls: /etc/postfix/postfix_default.pem*: No such file or directory
If not, then create it and make sure to set in Postfix configuration.