SHARE
TWEET

Untitled

a guest Feb 15th, 2016 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. queue_directory = /var/spool/postfix
  3. command_directory = /usr/sbin
  4.  
  5. daemon_directory = /usr/libexec/postfix
  6. data_directory = /var/lib/postfix
  7.  
  8. mail_owner = postfix
  9. myhostname = mail.mydomain.com
  10. #myhostname = virtual.domain.tld
  11.  
  12. mydomain = mydomain.com
  13.  
  14. #myorigin = $myhostname
  15. myorigin = $mydomain
  16.  
  17. inet_interfaces = localhost, $myhostname
  18.  
  19. # Enable IPv4, and IPv6 if supported
  20. inet_protocols = all
  21.  
  22. mydestination = $myhostname, localhost.$mydomain, localhost
  23.  
  24. unknown_local_recipient_reject_code = 550
  25.  
  26. #EHLO REstrictions
  27. smtpd_delay_reject = yes
  28. smtpd_helo_required = yes
  29. #smtpd_helo_restrictions = permit_mynetworks, reject_invalid_helo_hostname, permit
  30. #[relay_host sendgrid] i use this to send emails through sendgrid
  31. smtpd_sasl_type=dovecot
  32. smtpd_sasl_path = private/auth
  33. smtp_sasl_auth_enable=yes
  34. smtpd_sasl_auth_enable=yes
  35. smtp_sasl_password_maps=static:sendgridusr:sendgridpass
  36. smtp_sasl_security_options=noanonymous
  37. smtp_tls_security_level=encrypt
  38. header_size_limit=4096000
  39. relayhost=[smtp.sendgrid.net]:587
  40.  
  41. #alias_maps = dbm:/etc/aliases
  42. alias_maps = hash:/etc/aliases
  43. #alias_maps = hash:/etc/aliases, nis:mail.aliases
  44. #alias_maps = netinfo:/aliases
  45.  
  46. # The alias_database parameter specifies the alias database(s) that
  47. # are built with "newaliases" or "sendmail -bi".  This is a separate
  48. # configuration parameter, because alias_maps (see above) may specify
  49. # tables that are not necessarily all under control by Postfix.
  50. #
  51. #alias_database = dbm:/etc/aliases
  52. #alias_database = dbm:/etc/mail/aliases
  53. alias_database = hash:/etc/aliases
  54. #alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases
  55.  
  56. #home_mailbox = Mailbox
  57. home_mailbox = Maildir/
  58.  
  59.  
  60. # DEBUGGING CONTROL
  61. #
  62. # The debug_peer_level parameter specifies the increment in verbose
  63. # logging level when an SMTP client or server host name or address
  64. # matches a pattern in the debug_peer_list parameter.
  65. #
  66. debug_peer_level = 2
  67.  
  68. debugger_command =
  69.      PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
  70.      ddd $daemon_directory/$process_name $process_id & sleep 5
  71.  
  72. sendmail_path = /usr/sbin/sendmail.postfix
  73.  
  74. newaliases_path = /usr/bin/newaliases.postfix
  75.  
  76. mailq_path = /usr/bin/mailq.postfix
  77.  
  78. setgid_group = postdrop
  79.  
  80. html_directory = no
  81.  
  82. manpage_directory = /usr/share/man
  83.  
  84. sample_directory = /usr/share/doc/postfix-2.6.6/samples
  85.  
  86. readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
  87.  
  88. smtp_tls_CAfile = /etc/postfix/certs/gd_bundle-g2-g1.crt
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top