gregor5 Posted July 10, 2018 Share Posted July 10, 2018 (edited) We upgraded PHP to version 5.6.36 and our mail notifications stopped working. Prestashop version is 1.6.1.18 and it doesn't matter if I have mail setting on "Use PHP's mail() function" or "Set my own SMTP parameters" ... mails are not going out. Mail was working fine with PHP v. 5.4 Edited July 10, 2018 by gregor5 (see edit history) Link to comment Share on other sites More sharing options...
gregor5 Posted July 10, 2018 Author Share Posted July 10, 2018 This is what we see in mail error log: Jul 10 14:41:34 mx01 postfix/smtpd[2098]: connect from xxxx.xxx.com[xx.xx.56.228] Jul 10 14:41:34 mx01 postfix/smtpd[2098]: SSL_accept error from xxxx.xxx.com[xx.xx.56.228]: 0 Jul 10 14:41:34 mx01 postfix/smtpd[2098]: warning: TLS library problem: 2098:error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:s3_pkt.c:1493:SSL alert number 48: Jul 10 14:41:34 mx01 postfix/smtpd[2098]: lost connection after STARTTLS from xxxx.xxx.com[xx.xx.56.228] Link to comment Share on other sites More sharing options...
gregor5 Posted August 8, 2018 Author Share Posted August 8, 2018 (edited) We are still having this problem - now with PHP 7.0.31 . Anyone else had this issue? ... when I test sending mail using "Use PHP's mail() function" in the back-end (in Prestashop) I get confirmation that everything was fine and mail se "A test email has been sent to the email address you provided." But the mail never comes... There is a log of outgoing mails in Prestashop that never came to these addresses. SMTP setting on the other hand gives an error. Customers do not get any notifications. please help Edited August 8, 2018 by gregor5 (see edit history) Link to comment Share on other sites More sharing options...
Tsop Posted January 16, 2019 Share Posted January 16, 2019 Any solutions so far? I have same problem... I guess we need to do something like this solution: https://serverfault.com/questions/660241/postfix-tls-error?fbclid=IwAR23wpDbKaoqkgt-QAdrX0juJ1AG3tUa4ihI2VuLdHUAqr1avu3iRzgt2yk They are using this code: $config['smtp_conn_options'] = array( 'ssl' => array( 'verify_peer' => false, 'verify_peer_name' => false, ), ); Link to comment Share on other sites More sharing options...
gregor5 Posted January 16, 2019 Author Share Posted January 16, 2019 there was something wrong with certificate - I server admin fixed it and I think this was the solution https://tinyurl.com/y8om89y3 Link to comment Share on other sites More sharing options...
Tsop Posted January 18, 2019 Share Posted January 18, 2019 Solved it!!! It was indeed a Certificate Issue. Postfix needs the Chain Certificate instead of the regular file! Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now