Advertisement
Guest User

Untitled

a guest
May 7th, 2017
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.06 KB | None | 0 0
  1. root@mserv:/usr/local/etc/postfix # postconf -nf
  2. broken_sasl_auth_clients = yes
  3. command_directory = /usr/local/sbin
  4. content_filter = smtp-amavis:[127.0.0.1]:10024
  5. daemon_directory = /usr/local/libexec/postfix
  6. data_directory = /var/db/postfix
  7. debug_peer_level = 2
  8. debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd
  9. $daemon_directory/$process_name $process_id & sleep 5
  10. html_directory = /usr/local/share/doc/postfix
  11. inet_protocols = ipv4
  12. mail_owner = postfix
  13. mailq_path = /usr/local/bin/mailq
  14. manpage_directory = /usr/local/man
  15. message_size_limit = 40960000
  16. mydestination = localhost.$mydomain, localhost
  17. mydomain = nimed.org
  18. myhostname = mserv.northamptonwellness.com
  19. mynetworks_style = host
  20. newaliases_path = /usr/local/bin/newaliases
  21. proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps
  22. $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains
  23. $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps
  24. $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks
  25. $virtual_mailbox_limit_maps
  26. queue_directory = /var/spool/postfix
  27. readme_directory = /usr/local/share/doc/postfix
  28. relay_domains = proxy:mysql:/usr/local/etc/postfix/mysql_relay_domains_maps.cf
  29. sample_directory = /usr/local/etc/postfix
  30. sendmail_path = /usr/local/sbin/sendmail
  31. setgid_group = maildrop
  32. smtp_tls_note_starttls_offer = yes
  33. smtp_use_tls = yes
  34. smtpd_client_restrictions = check_client_access
  35. cidr:/usr/local/etc/postfix/cidr_client_access
  36. smtpd_data_restrictions = reject_unauth_pipelining
  37. smtpd_delay_reject = yes
  38. smtpd_helo_required = yes
  39. smtpd_helo_restrictions = permit_mynetworks, reject_non_fqdn_helo_hostname,
  40. reject_invalid_helo_hostname, permit
  41. smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
  42. check_sender_access hash:/usr/local/etc/postfix/rbl_blacklist,
  43. reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient,
  44. reject_unauth_destination, reject_unauth_pipelining,
  45. reject_invalid_hostname, check_policy_service unix:private/spf-policy
  46. reject_rbl_client bl.spamcop.net, reject_rbl_client sbl.spamhaus.org
  47. reject_rbl_client xbl.spamhaus.org reject_rbl_client cbl.abuseat.org
  48. reject_rbl_client ubl.unsubscore.com
  49. smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated,
  50. reject_rbl_client zen.spamhaus.org, reject_rhsbl_helo dbl.spamhaus.org,
  51. reject_rhsbl_sender dbl.spamhaus.org
  52. smtpd_sasl_auth_enable = yes
  53. smtpd_sasl_authenticated_header = yes
  54. smtpd_sasl_local_domain = $myhostname
  55. smtpd_sasl_path = private/auth
  56. smtpd_sasl_security_options = noanonymous
  57. smtpd_sasl_type = dovecot
  58. smtpd_sender_restrictions = permit_mynetworks, reject_non_fqdn_sender,
  59. reject_unknown_sender_domain, check_sender_access
  60. hash:/usr/local/etc/postfix/sender_access, permit
  61. smtpd_tls_CAfile = /etc/mail/certs/cacert.pem
  62. smtpd_tls_cert_file = /etc/ssl/postfix/smtpd.pem
  63. smtpd_tls_key_file = /etc/ssl/postfix/smtpd.pem
  64. smtpd_tls_loglevel = 1
  65. smtpd_tls_received_header = yes
  66. smtpd_tls_session_cache_timeout = 3600s
  67. smtpd_use_tls = yes
  68. soft_bounce = no
  69. spf-policy_time_limit = 3600
  70. tls_random_source = dev:/dev/urandom
  71. transport_maps = hash:/usr/local/etc/postfix/transport
  72. unknown_local_recipient_reject_code = 550
  73. vacation_destination_recipient_limit = 1
  74. virtual_alias_maps =
  75. proxy:mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf
  76. virtual_gid_maps = static:125
  77. virtual_mailbox_base = /usr/local/virtual
  78. virtual_mailbox_domains =
  79. proxy:mysql:/usr/local/etc/postfix/mysql_virtual_domains_maps.cf
  80. virtual_mailbox_limit = 0
  81. virtual_mailbox_limit_maps =
  82. proxy:mysql:/usr/local/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
  83. virtual_mailbox_maps =
  84. proxy:mysql:/usr/local/etc/postfix/mysql_virtual_mailbox_maps.cf
  85. virtual_minimum_uid = 125
  86. virtual_transport = virtual
  87. virtual_uid_maps = static:125
  88.  
  89. root@mserv:/usr/local/etc/postfix # postconf -Mf
  90. smtp inet n - n - - smtpd
  91. spf-policy unix - n n - 0 spawn user=nobody
  92. argv=/usr/local/libexec/postfix-policyd-spf-perl
  93. smtps inet n - n - - smtpd
  94. -o smtpd_tls_wrappermode=yes
  95. -o smtpd_sasl_auth_enable=yes
  96. -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  97. -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  98. pickup unix n - n 60 1 pickup
  99. cleanup unix n - n - 0 cleanup
  100. qmgr unix n - n 300 1 qmgr
  101. tlsmgr unix - - n 1000? 1 tlsmgr
  102. rewrite unix - - n - - trivial-rewrite
  103. bounce unix - - n - 0 bounce
  104. defer unix - - n - 0 bounce
  105. trace unix - - n - 0 bounce
  106. verify unix - - n - 1 verify
  107. flush unix n - n 1000? 0 flush
  108. proxymap unix - - n - - proxymap
  109. proxywrite unix - - n - 1 proxymap
  110. smtp unix - - n - - smtp
  111. relay unix - - n - - smtp
  112. showq unix n - n - - showq
  113. error unix - - n - - error
  114. retry unix - - n - - error
  115. discard unix - - n - - discard
  116. local unix - n n - - local
  117. virtual unix - n n - - virtual
  118. lmtp unix - - n - - lmtp
  119. anvil unix - - n - 1 anvil
  120. scache unix - - n - 1 scache
  121. vacation unix - n n - - pipe flags=Rq
  122. user=vacation argv=/var/spool/vacation/vacation.pl -f ${sender}
  123. ${recipient}
  124. smtp-amavis unix - - n - 2 smtp
  125. -o smtp_data_done_timeout=1200
  126. -o smtp_send_xforward_command=yes
  127. -o disable_dns_lookups=yes
  128. -o max_use=20
  129. 127.0.0.1:10025 inet n - n - - smtpd
  130. -o content_filter=
  131. -o local_recipient_maps=
  132. -o relay_recipient_maps=
  133. -o smtpd_restriction_classes=
  134. -o smtpd_delay_reject=no
  135. -o smtpd_client_restrictions=permit_mynetworks,reject
  136. -o smtpd_data_restrictions=reject_unauth_pipelining
  137. -o smtpd_end_of_data_restrictions=
  138. -o smtpd_helo_restrictions=
  139. -o smtpd_sender_restrictions=
  140. -o smtpd_recipient_restrictions=permit_mynetworks,reject
  141. -o mynetworks_style=host
  142. -o mynetworks=127.0.0.0/8
  143. -o strict_rfc821_envelopes=yes
  144. -o smtpd_error_sleep_time=0
  145. -o smtpd_soft_error_limit=1001
  146. -o smtpd_hard_error_limit=1000
  147. -o smtpd_client_connection_count_limit=0
  148. -o smtpd_client_connection_rate_limit=0
  149. -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement