1

CiviMail throws the error Mailing_send_test : STARTTLS failed when doing a test email. Sending results in bounces. I have a handful of CiviCRM installations running on the same server and only 4.7 installs seem affected.

Version 4.6.9 no error. Version 4.7.3+ error as described.

Does anyone know what would have caused this?

(I did recently add mysqli per the recent blog post, and I went from PHP 5.5.38 to 5.6.24 in the process. But perhaps that's unrelated.)

Edit: I use CiviSMTP.

1

This sounds like it's the same problem described here.

While the solutions there suggest hacks to the code, most likely you're either a) connecting to a mail server that has a self-signed certificate, or b) your CiviCRM is installed on a server with an outdated list of CAs. Fixing the root problem is preferable. Let's Encrypt issues free SSL certificates in case your problem is the former one.

  • Thanks for the tips. I tried the fix in the thread you referenced with no luck. So I reverted those changes then took the coward's way out and rolled PHP back to 5.5.38 which resolved the problem. I'll explore the rest of your advice in the meantime. – Eric H Aug 17 '16 at 23:20
  • @EricH Do you have root access on the server your CiviCRM is hosted on? If not, talk to your webhost! If so - are you running an outdated version of your OS? Also, if you're running FreeBSD, I think the CAs they ship with are out of date. – Jon G - Megaphone Tech Aug 18 '16 at 19:08
  • I have root access. It's running CentOS 6.8. – Eric H Aug 19 '16 at 20:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.