2018-01-07, 08:38 AM
A few days ago I moved my site from one VPS to another and now after that no emails are being sent by mybb and error I am getting in "System Mail Log" is "Failed to start TLS encryption".
I am using 3rd party email service to send emails and all SPF, DKIM etc. settings are the same and working in my email service so I wonder what happened!?
May be I failed to enable some service on new server!? Previous one was Debian 8 while this one is Debian 9.
I used sample PHP mail sending script from this thread and here are the detailed error messages I am getting for each TLS and SSL.
https://community.mybb.com/thread-209319...68737.html
When I use TLS to send email
Error: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086SL routines:tls_process_server_certificate:certificate verify failed
When I use SSL to send email
Error: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086SL routines:tls_process_server_certificate:certificate verify failedError: fsockopen(): Failed to enable cryptoError: fsockopen(): unable to connect to ssl://smtp.zoho.com:465 (Unknown error)Error: stream_set_timeout() expects parameter 1 to be resource, boolean given
How do I fix this issue?
I am using 3rd party email service to send emails and all SPF, DKIM etc. settings are the same and working in my email service so I wonder what happened!?
May be I failed to enable some service on new server!? Previous one was Debian 8 while this one is Debian 9.
I used sample PHP mail sending script from this thread and here are the detailed error messages I am getting for each TLS and SSL.
https://community.mybb.com/thread-209319...68737.html
When I use TLS to send email
Error: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086SL routines:tls_process_server_certificate:certificate verify failed
When I use SSL to send email
Error: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086SL routines:tls_process_server_certificate:certificate verify failedError: fsockopen(): Failed to enable cryptoError: fsockopen(): unable to connect to ssl://smtp.zoho.com:465 (Unknown error)Error: stream_set_timeout() expects parameter 1 to be resource, boolean given
How do I fix this issue?