Question

Dovecot SSL/TLS not working

This morning, I set up my email server following this tutorial and it works mostly fine. It sends email and I’ve setup DKIM; it doesn’t send encrypted messages using SSL/TLS it only works with STARTTLS (which isn’t safe right now).

Receiving emails using SSL/TLS works fine it’s only sending so my IMAP is all set up perfectly, It’s just the SMTP.

I logged what shows up in console so here’s the log.

Note: I’m using Ubuntu 16.04 and I know the tutorial is for 12.04 but considering everything else has worked fine I doubt this is the issue.

Just in case this helps here are my config files for Dovecot.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This question was answered by @arehandoro:

Actually my issue was that I had not defined smtpd_use_tls=yes. It is working now.

View the original comment