Skip to content

Instantly share code, notes, and snippets.

@ehabkost
Created July 27, 2011 16:37
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 ehabkost/1109769 to your computer and use it in GitHub Desktop.
Save ehabkost/1109769 to your computer and use it in GitHub Desktop.
My postfix auth config
relayhost = [smtp.gmail.com]:587
smtp_tls_policy_maps = hash:/etc/postfix/tls_policy
smtp_tls_CAfile = /etc/pki/tls/cert.pem
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relayhost
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_pass
smtp_sasl_security_options =
smtp_defer_if_no_mx_address_found = yes
smtp.gmail.com user@example.com:MYPASSWORD
[smtp.gmail.com]:587 verify protocols=TLSv1 ciphers=high
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment