Advertisement
JConnors

Untitled

Jun 21st, 2012
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
  15. #SENDING MAIL
  16. myorigin = $myhostname
  17.  
  18. # RECEIVING MAIL
  19. inet_interfaces = all
  20. inet_protocols = all
  21. mydestination = $myhostname, localhost.$mydomain, localhost
  22.  
  23. #REJECTING MAIL FOR UNKNOWN LOCAL USERS
  24.  
  25. #local_recipient_maps = unix:passwd.byname $alias_maps
  26. #local_recipient_maps = proxy:unix:passwd.byname $alias_maps
  27. #local_recipient_maps =
  28. unknown_local_recipient_reject_code = 550
  29.  
  30. # TRUST AND RELAY CONTROL
  31. mynetworks = 127.0.0.0/8, 172.30.39.0/24 <--- local network ??
  32. relay_host = $mydomain <-- Mail server ??
  33.  
  34. # REJECTING UNKNOWN RELAY USERS
  35. #relay_recipient_maps = hash:/etc/postfix/relay_recipients
  36. #in_flow_delay = 1s
  37.  
  38. # ADDRESS REWRITING
  39. alias_maps = hash:/etc/aliases
  40. alias_database = hash:/etc/aliases
  41.  
  42. # ADDRESS EXTENSIONS (e.g., user+foo)
  43. #recipient_delimiter = +
  44.  
  45. # DELIVERY TO MAILBOX
  46. home_mailbox = ~/Maildir/
  47. mail_spool_directory = /var/spool/mail
  48. mailbox_command = /usr/libexec/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIENT"
  49.  
  50. # JUNK MAIL CONTROLS
  51. #header_checks = regexp:/etc/postfix/header_checks
  52.  
  53. # FAST ETRN SERVICE
  54. #fast_flush_domains = $relay_domains
  55.  
  56. # SHOW SOFTWARE VERSION OR NOT
  57. smtpd_banner = $myhostname ESMTP $mail_name
  58.  
  59. # DEBUGGING CONTROL
  60. debug_peer_level = 2
  61. #debug_peer_list = 127.0.0.1
  62. #debug_peer_list = some.domain
  63. debugger_command =
  64. PATH=/bin:/usr/bin:/usr/local/bin; export PATH; (echo cont;
  65. echo where) | gdb $daemon_directory/$process_name $process_id 2>&1
  66.  
  67. # INSTALL-TIME CONFIGURATION INFORMATION
  68.  
  69. sendmail_path = /usr/sbin/sendmail.postfix
  70. newaliases_path = /usr/bin/newaliases.postfix
  71. mailq_path = /usr/bin/mailq.postfix
  72. setgid_group = postdrop
  73. html_directory = no
  74.  
  75. ## Add-Ons ##1
  76. masquerade_domains = dmc-mail-1.rdlab.dv
  77.  
  78. ## TLS ##
  79. smtpd_sasl_auth_enable = yes
  80. smtpd_sasl_type = dovecot
  81. smtpd_sasl_path = private/auth
  82. smtpd_tls_received_header = yes
  83. smtpd_tls_security_level = may
  84. smtpd_tls_auth_only = no
  85. smtpd_tls_cert_file = /etc/postfix/keys/postfix_cert.pem
  86. smtpd_tls_key_file = /etc/postfix/keys/postfix_key.pem
  87. smtpd_starttls_timeout = 300s
  88. smtpd_tls_loglevel = 0
  89.  
  90. #SASL
  91. smtpd_sasl_local_domain =
  92. smtpd_sasl_auth_enable = yes
  93. smtpd_sasl_security_options = noanonymous
  94. broken_sasl_auth_clients = yes
  95. smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement