Advertisement
Guest User

Untitled

a guest
Aug 30th, 2014
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. #
  2.  
  3. smtp_use_tls=yes
  4. smtp_sasl_auth_enable = yes
  5. smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
  6. smtp_sasl_security_options = noanonymous
  7. smtp_sasl_tls_security_options = noanonymous
  8.  
  9. smtp.gmail.com some.user@gmail.com:PASSWORD
  10.  
  11. # See /usr/share/postfix/main.cf.dist for a commented, more complete version
  12.  
  13.  
  14. # Debian specific: Specifying a file name will cause the first
  15. # line of that file to be used as the name. The Debian default
  16. # is /etc/mailname.
  17. #myorigin = /etc/mailname
  18.  
  19. smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
  20. biff = no
  21.  
  22. # appending .domain is the MUA's job.
  23. append_dot_mydomain = no
  24.  
  25. # Uncomment the next line to generate "delayed mail" warnings
  26. #delay_warning_time = 4h
  27.  
  28. readme_directory = no
  29. myorigin = /etc/mailname
  30. mydestination =
  31. relayhost = [smtp.gmail.com]:submission
  32. mynetworks = 127.0.0.0/8, 10.0.0.0/8
  33. mailbox_size_limit = 0
  34. recipient_delimiter = +
  35. inet_interfaces = all
  36. smtp_use_tls=yes
  37. smtp_sasl_auth_enable = yes
  38. smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
  39. smtp_sasl_security_options = noanonymous
  40. smtp_sasl_tls_security_options = noanonymous
  41.  
  42. smtp_sender_dependent_authentication = yes
  43. sender_dependent_relayhost_maps = hash:/etc/postfix/relayhost_map
  44.  
  45. smtpd_sasl_path = smtpd
  46. smtpd_sasl_auth_enable = yes
  47. smtpd_sasl_security_options = noanonymous
  48. #smtpd_sasl_security_options = noanonymous, noplaintext
  49.  
  50. smtpd_recipient_restrictions =
  51. permit_sasl_authenticated,
  52. reject_unauth_destination
  53.  
  54. --------------------------------------------
  55.  
  56. > http://www.postfix.org/SASL_README.html
  57. > http://www.postfix.org/postconf.5.html
  58. > http://enc.com.au/myscripts/postfixmysql.html
  59. > http://braiden.org/?p=15
  60. > https://help.ubuntu.com/community/Postfix
  61. > http://www.debianhelp.org/node/2120
  62. > http://www.blogternals.com/2009/04/30/postfix-google-apps-gmail-smtp-relay/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement