Advertisement
jose_d

gmail main.cnf

Dec 13th, 2021
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. # main.cnf using gmail account as SMTP gateway :)
  2.  
  3. relayhost = [smtp.gmail.com]:587
  4. smtp_use_tls = yes
  5. smtp_sasl_auth_enable = yes
  6. smtp_sasl_security_options =
  7. smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
  8. smtp_tls_CAfile = /etc/ssl/certs/ca-bundle.crt
  9. smtp_header_checks = pcre:/etc/postfix/header_checks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement