Mail Relay[edit | edit source]

To use Postfix as a mail relay server, edit the /etc/postfix/main.cf configuration with the following:

relayhost = [smtp.example.com]:587
smtp_use_tls = yes
smtp_sasl_auth_enable = no

This assumes that smtp.example.com accepts TLS encrypted SMTP connections via 587.

See Also[edit | edit source]