smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
+# Apparently TLS for the client (outgoing mail) isn't the default prior to
+# compat level 3.11, for whatever reason
+
+smtp_tls_security_level = may
+smtp_tls_policy_maps = inline:{
+ # This is SpamAssassin/spampd, which doesn't support TLS, and checking
+ # seems to cause delays
+ {127.0.0.1:10025 = none},
+ }
+
# Milter configuration
# Based on https://www.linode.com/docs/guides/configure-spf-and-dkim-in-postfix-on-debian-9/#testing-postfix-dkim-on-debian-9-with-a-gmail-test
# http://www.opendkim.org/opendkim-README