Outbound TLS Policy
Configure opportunistic or policy-driven TLS for deliveries and relays.
Production note: Back up configuration, run
postfix check, and stage changes before reloading.Baseline
smtp_tls_security_level = may
smtp_tls_loglevel = 1
smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crtPer-destination policy
smtp_tls_policy_maps = hash:/etc/postfix/tls_policy
# tls_policy
example.net encrypt
[relay.example.com]:587 secure match=relay.example.comBuild and test
postmap /etc/postfix/tls_policy
postmap -q example.net hash:/etc/postfix/tls_policy
postfix reloadOperational risk
Mandatory TLS can defer mail when remote systems are misconfigured. Apply strict policy only where the business requirement and certificate identity are understood.