Hey guys,
Recently used Plesk pci compliance resolver to be sure to make our server compliant to the latest PCI compliance standard.. which means TLSv1 is disabled server wide... in doing this, it seems that Php 5.5 and 5.6 no longer works with phpmailer or smtp emails at all. Emails are no longer going through WHMCS or Wordpress contact forms. A valid certificate is installed and emails work fine within email apps, but php just wont work with email smtp at all... I believe it has to do with openssl and pointing openssl to the specific certificate files in php.ini... the SSL we are using for mail is Letsencrypt. Here is the error in WHMCS. Everything is correct, including the mail server, username and login.
CLIENT -> SERVER: EHLO www.MYDOMAIN.com
CLIENT -> SERVER: STARTTLS
SMTP Error: Could not connect to SMTP host.
CLIENT -> SERVER: QUIT
SMTP ERROR: QUIT command failed:
SMTP Error: Could not connect to SMTP host.
Email Sending Failed - SMTP Error: Could not connect to SMTP host.
Please advise, thanks!
Centos/Cloudlinux 6.8
Plesk Onyx
Postfix & Dovecot
Recently used Plesk pci compliance resolver to be sure to make our server compliant to the latest PCI compliance standard.. which means TLSv1 is disabled server wide... in doing this, it seems that Php 5.5 and 5.6 no longer works with phpmailer or smtp emails at all. Emails are no longer going through WHMCS or Wordpress contact forms. A valid certificate is installed and emails work fine within email apps, but php just wont work with email smtp at all... I believe it has to do with openssl and pointing openssl to the specific certificate files in php.ini... the SSL we are using for mail is Letsencrypt. Here is the error in WHMCS. Everything is correct, including the mail server, username and login.
CLIENT -> SERVER: EHLO www.MYDOMAIN.com
CLIENT -> SERVER: STARTTLS
SMTP Error: Could not connect to SMTP host.
CLIENT -> SERVER: QUIT
SMTP ERROR: QUIT command failed:
SMTP Error: Could not connect to SMTP host.
Email Sending Failed - SMTP Error: Could not connect to SMTP host.
Please advise, thanks!
Centos/Cloudlinux 6.8
Plesk Onyx
Postfix & Dovecot