Category Archives: encryption
I’m seeing more and more questions related to this and wanted to put how to fix it out there for folks.
Gmail has started flagging emails that were sent without encryption using a small red lock. It looks like this:
To fix this is pretty easy with Postfix.
- Log in to the server
- Open up /etc/postfix/main.cf
- Ensure the following values are set:
- Reload postfix: service postfix reload
- Send a test email and check gmail. You should now see that there is no broken lock:
smtpd_tls_security_level = may
smtp_tls_security_level = may
smtp_tls_loglevel = 1
smtpd_tls_loglevel = 1
(there are three levels you can set: none, may, or encrypt. Using may ensures we don’t lock out those who can’t do encryption)