Super-User:
> All,
>
> We are not getting our emails stuck in the spam folders of gmail but they are
> saying our emails are not encrypted.
>
> The emails received show a "red padlock" and when you click on the pad lock
> it says we are not encrypting our emails.
>
> I thought I have the correct settings to encrypt our outgoing emails, but I
> see the following errors in my log files.
>
> ::::::::::::::
> Error
> ::::::::::::::
>
> Oct 4 10:03:05 posta postfix/smtpd[29824]: [ID 947731 mail.crit] fatal:
> unexpected command-line argument: !SSLv3,
Maybe there are non-ASCII codes in the file. I suggest that you examine
"postconf -Mf output" with "od -cb".
As for not encrypting outbound mail, that is a CLIENT not SERVER
feature, so the following does not work:
> submission inet n - n - - smtpd
> -o smtpd_tls_security_level=may
> -o smtp_tls_security_level=may << this is an SMTP client feature.
And you don't need to set smtp_tls_cert_file/smtp_tls_key_file (or
smtp_tls_CAfile) to encrypt outbound email.
> smtp_tls_CAfile = /dovecot/certs/2020/ov_networksolutionsovserverca2.crt
> smtp_tls_cert_file =
> /usr/local/tools/dovecot/certs/2020/email_server.example.com.crt
> smtp_tls_exclude_ciphers = RC4, aNULL, DES, 3DES
> smtp_tls_key_file =
> /usr/local/tools/dovecot/certs/2020/2020.email_server.example.com.key
> smtp_tls_loglevel = 1
> smtp_tls_protocols = !SSLv2, !SSLv3
Wietse