Don't like ads? PRO users don't see any ads ;-)

main.cf.6.21.2012

By: JConnors on Jun 21st, 2012  |  syntax: None  |  size: 2.80 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #LOCAL PATHNAME INFORMATION
  2. queue_directory = /var/spool/postfix
  3. command_directory = /usr/sbin
  4. daemon_directory = /usr/libexec/postfix
  5. data_directory = /var/lib/postfix
  6.  
  7. #QUEUE AND PROCESS OWNERSHIP
  8. mail_owner = postfix
  9. #default_privs = nobody
  10.  
  11. #INTERNET HOST AND DOMAIN NAMES
  12. myhostname = dmc-mail-1.rdlab.dv
  13. mydomain = $myhostname
  14. #proxy_interfaces = 64.235.215.188
  15.  
  16. #SENDING MAIL
  17. myorigin = $myhostname
  18.  
  19. # RECEIVING MAIL
  20. inet_interfaces = all
  21. inet_protocols = all
  22. mydestination = $myhostname, localhost.$mydomain, localhost
  23.  
  24. #REJECTING MAIL FOR UNKNOWN LOCAL USERS
  25.  
  26. #local_recipient_maps = unix:passwd.byname $alias_maps
  27. #local_recipient_maps = proxy:unix:passwd.byname $alias_maps
  28. #local_recipient_maps =
  29. unknown_local_recipient_reject_code = 550
  30.  
  31. # TRUST AND RELAY CONTROL
  32. mynetworks = 127.0.0.0/8, 172.30.50.0/24
  33. relay_domains = 172.30.50.76/24
  34.  
  35. # INTERNET OR INTRANET
  36. #relayhost = $mydomain
  37. #relayhost = [gateway.my.domain]
  38. #relayhost = [mailserver.isp.tld]
  39. #relayhost = uucphost
  40. #relayhost = [an.ip.add.ress]
  41.  
  42. # REJECTING UNKNOWN RELAY USERS
  43. #relay_recipient_maps = hash:/etc/postfix/relay_recipients
  44. #in_flow_delay = 1s
  45.  
  46. # ADDRESS REWRITING
  47. alias_maps = hash:/etc/aliases
  48. alias_database = hash:/etc/aliases
  49.  
  50. # ADDRESS EXTENSIONS (e.g., user+foo)
  51. #recipient_delimiter = +
  52.  
  53. # DELIVERY TO MAILBOX
  54. home_mailbox = ~/Maildir/
  55. mail_spool_directory = /var/spool/mail
  56. mailbox_command = /usr/libexec/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIENT"
  57.  
  58. # JUNK MAIL CONTROLS
  59. #header_checks = regexp:/etc/postfix/header_checks
  60.  
  61. # FAST ETRN SERVICE
  62. #fast_flush_domains = $relay_domains
  63.  
  64. # SHOW SOFTWARE VERSION OR NOT
  65. smtpd_banner = $myhostname ESMTP $mail_name
  66.  
  67. # DEBUGGING CONTROL
  68. debug_peer_level = 2
  69. #debug_peer_list = 127.0.0.1
  70. #debug_peer_list = some.domain
  71. debugger_command =
  72.         PATH=/bin:/usr/bin:/usr/local/bin; export PATH; (echo cont;
  73.         echo where) | gdb $daemon_directory/$process_name $process_id 2>&1
  74.  
  75. # INSTALL-TIME CONFIGURATION INFORMATION
  76.  
  77. sendmail_path = /usr/sbin/sendmail.postfix
  78. newaliases_path = /usr/bin/newaliases.postfix
  79. mailq_path = /usr/bin/mailq.postfix
  80. setgid_group = postdrop
  81. html_directory = no
  82.  
  83. ## Add-Ons ##1
  84. masquerade_domains = ddmc-mail-1.rdlab.dv
  85.  
  86. ## TLS ##
  87. smtpd_sasl_auth_enable = yes
  88. smtpd_sasl_type = dovecot
  89. smtpd_sasl_path = private/auth
  90. smtpd_tls_received_header = yes
  91. smtpd_tls_security_level = may
  92. smtpd_tls_auth_only = no
  93. smtpd_tls_cert_file = /etc/postfix/keys/postfix_cert.pem
  94. smtpd_tls_key_file = /etc/postfix/keys/postfix_key.pem
  95. smtpd_starttls_timeout = 300s
  96. smtpd_tls_loglevel = 0
  97.  
  98. #SASL
  99. smtpd_sasl_local_domain =
  100. smtpd_sasl_auth_enable = yes
  101. smtpd_sasl_security_options = noanonymous
  102. broken_sasl_auth_clients = yes
  103. smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination