Hi,
I have a clean built Centos 7.2.1511 with Plesk 12.5 installed on it. This is the first Centos 7 + Plesk I have used, I am more used to Centos 6.7 with Plesk.
I have got several domains which contain Joomla and Wordpress sites, when either site is set up to use SMTP for email sending with SSL or TLS SMTP Authentication set to yes I get the following error.
When the same is configured not to use authentication the emails are able to pass without any problems.
Ok So I take a step back and open an SSH window
This appears to work as expected I get the certificate returned and all the good stuff finishing with
Do the same with
This time it returns
If I then do a quick ping to get a valid IP for smtp.office365.com and use that in place of smtp.office365.com again it works as expected and returns the certificate all the good stuff finishing with
I have had a look in maillog and nothing is screaming out to me anything obvious. Any hints or suggestions would be warmly welcomed. I have had a look over similar posts but not able to find anything that helps.
Regards
I have a clean built Centos 7.2.1511 with Plesk 12.5 installed on it. This is the first Centos 7 + Plesk I have used, I am more used to Centos 6.7 with Plesk.
I have got several domains which contain Joomla and Wordpress sites, when either site is set up to use SMTP for email sending with SSL or TLS SMTP Authentication set to yes I get the following error.
Code:
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Ok So I take a step back and open an SSH window
Code:
openssl s_client -starttls smtp -crlf -connect smtp.gmail.com:587
Code:
Verify return code: 0 (ok)
Do the same with
Code:
openssl s_client -starttls smtp -crlf -connect smtp.office365.com:587
Code:
getaddrinfo: Name or service not known - connect:errno=0
If I then do a quick ping to get a valid IP for smtp.office365.com and use that in place of smtp.office365.com again it works as expected and returns the certificate all the good stuff finishing with
Code:
Verify return code: 0 (ok)
Regards