Postfix: Difference between revisions

From Leo's Notes
This page was last edited on 14 June 2020, at 23:50.
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 =..."
 
m Added categories
Line 13: Line 13:
== See Also ==
== See Also ==
* https://www.howtoforge.com/tutorial/configure-postfix-to-use-gmail-as-a-mail-relay/
* https://www.howtoforge.com/tutorial/configure-postfix-to-use-gmail-as-a-mail-relay/
{{Navbox Linux}}[[Category:Linux]]
[[Category:LinuxUtilities]]
[[Category:Networking]]

Revision as of 23:50, 14 June 2020

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