Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.94 KB | None | 0 0
  1. alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
  2. alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
  3. append_dot_mydomain = no
  4. biff = no
  5. body_checks = regexp:/etc/postfix/body_checks
  6. broken_sasl_auth_clients = yes
  7. compatibility_level = 2
  8. header_checks = regexp:/etc/postfix/header_checks
  9. html_directory = /usr/share/doc/postfix/html
  10. inet_interfaces = all
  11. inet_protocols = ipv4
  12. mailbox_size_limit = 0
  13. maildrop_destination_concurrency_limit = 1
  14. maildrop_destination_recipient_limit = 1
  15. mime_header_checks = regexp:/etc/postfix/mime_header_checks
  16. mydestination = foo.bar.net, localhost, localhost.localdomain
  17. myhostname = foo.bar.net
  18. mynetworks = 127.0.0.0/8 [::1]/128
  19. myorigin = raisedfist.net
  20. nested_header_checks = regexp:/etc/postfix/nested_header_checks
  21. owner_request_special = no
  22. proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_ali
  23. as_domains $sender_bcc_maps $virtual_mailbox_maps $virtual_mailbox_domains $relay_recip
  24. ient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_ma
  25. ps $relocated_maps $transport_maps $mynetworks $smtpd_sender_login_maps
  26. readme_directory = /usr/share/doc/postfix
  27. recipient_delimiter = +
  28. relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
  29. relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
  30. relayhost =
  31. sender_bcc_maps = proxy:mysql:/etc/postfix/mysql-virtual_outgoing_bcc.cf
  32. smtp_tls_exclude_ciphers = RC4, aNULL
  33. smtp_tls_protocols = !SSLv2,!SSLv3
  34. smtp_tls_security_level = may
  35. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  36. smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
  37. smtpd_client_message_rate_limit = 100
  38. smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client
  39. .cf
  40. smtpd_helo_required = yes
  41. smtpd_helo_restrictions = permit_sasl_authenticated, permit_mynetworks, check_helo_acce
  42. ss regexp:/etc/postfix/helo_access, reject_invalid_hostname, reject_non_fqdn_hostname,
  43. reject_invalid_helo_hostname, reject_unknown_helo_hostname, check_helo_access regexp:/e
  44. tc/postfix/blacklist_helo
  45. smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_una
  46. uth_destination, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf,
  47. reject_rbl_client zen.spamhaus.org, check_recipient_access mysql:/etc/postfix/mysql-vir
  48. tual_policy_greylist.cf,. reject_unauth_destination, check_policy_service unix:private/
  49. policyd-spf
  50. smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_drelay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
  51. relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
  52. relayhost =
  53. sender_bcc_maps = proxy:mysql:/etc/postfix/mysql-virtual_outgoing_bcc.cf
  54. smtp_tls_exclude_ciphers = RC4, aNULL
  55. smtp_tls_protocols = !SSLv2,!SSLv3
  56. smtp_tls_security_level = may
  57. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  58. smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
  59. smtpd_client_message_rate_limit = 100
  60. smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client
  61. .cf
  62. smtpd_helo_required = yes
  63. smtpd_helo_restrictions = permit_sasl_authenticated, permit_mynetworks, check_helo_acce
  64. ss regexp:/etc/postfix/helo_access, reject_invalid_hostname, reject_non_fqdn_hostname,
  65. reject_invalid_helo_hostname, reject_unknown_helo_hostname, check_helo_access regexp:/e
  66. tc/postfix/blacklist_helo
  67. smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_una
  68. uth_destination, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf,
  69. reject_rbl_client zen.spamhaus.org, check_recipient_access mysql:/etc/postfix/mysql-vir
  70. tual_policy_greylist.cf,. reject_unauth_destination, check_policy_service unix:private/
  71. policyd-spf
  72. smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_d
  73. estination
  74. smtpd_sasl_auth_enable = yes
  75. smtpd_sasl_authenticated_header = yes
  76. smtpd_sasl_path = private/auth
  77. smtpd_sasl_type = dovecot
  78. smtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql-virtual_sender_login_maps.cf
  79. smtpd_sender_restrictions = check_sender_access regexp:/etc/postfix/tag_as_originating.
  80. re , permit_mynetworks, permit_sasl_authenticated, check_sender_access mysql:/etc/postf
  81. ix/mysql-virtual_sender.cf, check_sender_access regexp:/etc/postfix/tag_as_foreign.re
  82. smtpd_tls_cert_file = /etc/postfix/smtpd.cert
  83. smtpd_tls_exclude_ciphers = RC4, aNULL
  84. smtpd_tls_key_file = /etc/postfix/smtpd.key
  85. smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3
  86. smtpd_tls_protocols = !SSLv2,!SSLv3
  87. smtpd_tls_security_level = may
  88. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  89. smtpd_use_tls = yes
  90. transport_maps = hash:/var/lib/mailman/data/transport-mailman, proxy:mysql:/etc/postfix
  91. /mysql-virtual_transports.cf
  92. virtual_alias_domains =
  93. virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman, proxy:mysql:/etc/postf
  94. ix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf
  95. virtual_gid_maps = mysql:/etc/postfix/mysql-virtual_gids.cf
  96. virtual_mailbox_base = /var/vmail
  97. virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
  98. virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
  99. virtual_transport = dovecot
  100. virtual_uid_maps = mysql:/etc/postfix/mysql-virtual_uids.cf
  101. estination
  102.  
  103.  
  104. smtp inet n - y - - smtpd
  105. #smtp inet n - y - 1 postscreen
  106. #smtpd pass - - y - - smtpd
  107. #dnsblog unix - - y - 0 dnsblog
  108. #tlsproxy unix - - y - 0 tlsproxy
  109. submission inet n - y - - smtpd
  110. -o syslog_name=postfix/submission
  111. -o smtpd_tls_security_level=encrypt
  112. -o smtpd_sasl_auth_enable=yes
  113. # -o smtpd_reject_unlisted_recipient=no
  114. # -o smtpd_client_restrictions=$mua_client_restrictions
  115. # -o smtpd_helo_restrictions=$mua_helo_restrictions
  116. # -o smtpd_sender_restrictions=$mua_sender_restrictions
  117. # -o smtpd_recipient_restrictions=
  118. # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  119. # -o milter_macro_daemon_name=ORIGINATING
  120. smtps inet n - y - - smtpd
  121. -o syslog_name=postfix/smtps
  122. -o smtpd_tls_wrappermode=yes
  123. -o smtpd_sasl_auth_enable=yes
  124. # -o smtpd_reject_unlisted_recipient=no
  125. # -o smtpd_client_restrictions=$mua_client_restrictions
  126. # -o smtpd_helo_restrictions=$mua_helo_restrictions
  127. # -o smtpd_sender_restrictions=$mua_sender_restrictions
  128. # -o smtpd_recipient_restrictions=
  129. # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  130. # -o milter_macro_daemon_name=ORIGINATING
  131. #628 inet n - y - - qmqpd
  132. pickup unix n - y 60 1 pickup
  133. cleanup unix n - y - 0 cleanup
  134. qmgr unix n - n 300 1 qmgr
  135. #qmgr unix n - n 300 1 oqmgr
  136. tlsmgr unix - - y 1000? 1 tlsmgr
  137. rewrite unix - - y - - trivial-rewrite
  138. bounce unix - - y - 0 bounce
  139. defer unix - - y - 0 bounce
  140. trace unix - - y - 0 bounce
  141. verify unix - - y - 1 verify
  142. flush unix n - y 1000? 0 flush
  143. proxymap unix - - n - - proxymap
  144.  
  145.  
  146. proxywrite unix - - n - 1 proxymap
  147. smtp unix - - y - - smtp
  148. relay unix - - y - - smtp
  149. # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  150. showq unix n - y - - showq
  151. error unix - - y - - error
  152. retry unix - - y - - error
  153. discard unix - - y - - discard
  154. local unix - n n - - local
  155. virtual unix - n n - - virtual
  156. lmtp unix - - y - - lmtp
  157. anvil unix - - y - 1 anvil
  158. scache unix - - y - 1 scache
  159. #
  160. # ====================================================================
  161. # Interfaces to non-Postfix software. Be sure to examine the manual
  162. # pages of the non-Postfix software to find out what options it wants.
  163. #
  164. # Many of the following services use the Postfix pipe(8) delivery
  165. # agent. See the pipe(8) man page for information about ${recipient}
  166. # and other message envelope options.
  167. # ====================================================================
  168. #
  169. # maildrop. See the Postfix MAILDROP_README file for details.
  170. # Also specify in main.cf: maildrop_destination_recipient_limit=1
  171. #
  172. maildrop unix - n n - - pipe
  173. flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
  174. #
  175. # ====================================================================
  176. #
  177. # Recent Cyrus versions can use the existing "lmtp" master.cf entry.
  178. #
  179. # Specify in cyrus.conf:
  180. # lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
  181. #
  182. # Specify in main.cf one or more of the following:
  183. # mailbox_transport = lmtp:inet:localhost
  184. # virtual_transport = lmtp:inet:localhost
  185. #
  186. # ====================================================================
  187. #
  188. # Cyrus 2.1.5 (Amos Gouaux)
  189. # Also specify in main.cf: cyrus_destination_recipient_limit=1
  190. #
  191. #cyrus unix - n n - - pipe
  192. # user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
  193. #
  194. # ====================================================================
  195. # Old example of delivery via Cyrus.
  196.  
  197. # maildrop. See the Postfix MAILDROP_README file for details.
  198. # Also specify in main.cf: maildrop_destination_recipient_limit=1
  199. #
  200. maildrop unix - n n - - pipe
  201. flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
  202. #
  203. # ====================================================================
  204. #
  205. # Recent Cyrus versions can use the existing "lmtp" master.cf entry.
  206. #
  207. # Specify in cyrus.conf:
  208. # lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
  209. #
  210. # Specify in main.cf one or more of the following:
  211. # mailbox_transport = lmtp:inet:localhost
  212. # virtual_transport = lmtp:inet:localhost
  213. #
  214. # ====================================================================
  215. #
  216. # Cyrus 2.1.5 (Amos Gouaux)
  217. # Also specify in main.cf: cyrus_destination_recipient_limit=1
  218. #
  219. #cyrus unix - n n - - pipe
  220. # user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
  221. #
  222. # ====================================================================
  223. # Old example of delivery via Cyrus.
  224. #
  225. #old-cyrus unix - n n - - pipe
  226. # flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
  227. #
  228. # ====================================================================
  229. #
  230. # See the Postfix UUCP_README file for configuration details.
  231. #
  232. uucp unix - n n - - pipe
  233. flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  234. #
  235. # Other external delivery methods.
  236. #
  237. ifmail unix - n n - - pipe
  238. flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  239. bsmtp unix - n n - - pipe
  240. flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
  241. scalemail-backend unix - n n - 2 pipe
  242. flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user}
  243. ${extension}
  244. mailman unix - n n - - pipe
  245. flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  246. ${nexthop} ${user}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement