Skip to content

Instantly share code, notes, and snippets.

@ombak
Created May 29, 2020 12:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ombak/d8d19dcea9f9d4de972311c0675d36f0 to your computer and use it in GitHub Desktop.
Save ombak/d8d19dcea9f9d4de972311c0675d36f0 to your computer and use it in GitHub Desktop.
# Minimum Postfix-specific configurations.
mydomain_fallback = localhost
mail_owner = _postfix
setgid_group = _postdrop
relayhost=smtp.gmail.com:587
# Enable SASL authentication in the Postfix SMTP client.
smtp_sasl_auth_enable=yes
smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options=
# Enable Transport Layer Security (TLS), i.e. SSL.
smtp_use_tls=yes
smtp_tls_security_level=encrypt
tls_random_source=dev:/dev/urandom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment