Postfix

From Leo's Notes
Revision as of 21:54, 12 February 2019 by Leo (talk | contribs) (Created page with " == Mail Relay == To use Postfix as a mail relay server, edit the {{code|/etc/postfix/main.cf}} configuration with the following: {{highlight|lang=terminal|code= relayhost =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page was last edited on 12 February 2019, at 21:54.

Mail Relay

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