Table of Contents

Red Hat 9.0 Postfix+SASL+TLS Server Notes

Preparation

Configuration

# SASL configuration
broken_sasl_auth_clients=yes
smtpd_sasl_auth_enable=yes
smtpd_sasl_local_domain=
smtpd_sasl_security_options=noanonymous
smtpd_recipient_restrictions=permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination

# TLS configuration
smtpd_use_tls = yes
smtpd_tls_auth_only = yes
smtpd_tls_key_file = /usr/share/ssl/certs/postfix.pem
smtpd_tls_cert_file = /usr/share/ssl/certs/postfix.pem
smtpd_tls_received_headers = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
mech_list: plain login
pwcheck_method: saslauthd
ln -s /etc/pam.d/smtp.postfix /etc/pam.d/smtp