Advertisement
Guest User

Untitled

a guest
Jun 11th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.62 KB | None | 0 0
  1. alias_database = hash:/etc/aliases
  2. alias_maps = hash:/etc/aliases
  3. append_dot_mydomain = no
  4. biff = no
  5. body_checks = regexp:/etc/postfix/body_checks
  6. broken_sasl_auth_clients = yes
  7. config_directory = /etc/postfix
  8. content_filter = amavis:[127.0.0.1]:10024
  9. header_checks = regexp:/etc/postfix/header_checks
  10. html_directory = /usr/share/doc/postfix/html
  11. inet_interfaces = all
  12. mailbox_command = procmail -a "$EXTENSION"
  13. mailbox_size_limit = 0
  14. message_size_limit = 0
  15. mime_header_checks = regexp:/etc/postfix/mime_header_checks
  16. mydestination = dell.woopta.com, localhost, localhost.localdomain
  17. myhostname = dell.woopta.com
  18. mynetworks = 127.0.0.0/8 [::1]/128
  19. myorigin = /etc/mailname
  20. nested_header_checks = regexp:/etc/postfix/nested_header_checks
  21. proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
  22. readme_directory = /usr/share/doc/postfix
  23. receive_override_options = no_address_mappings
  24. recipient_delimiter = +
  25. relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
  26. relayhost =
  27. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  28. smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
  29. smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
  30. smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
  31. smtpd_sasl_auth_enable = yes
  32. smtpd_sasl_authenticated_header = yes
  33. smtpd_sasl_security_options = noanonymous
  34. smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
  35. smtpd_tls_cert_file = /etc/postfix/smtpd.cert
  36. smtpd_tls_key_file = /etc/postfix/smtpd.key
  37. smtpd_tls_security_level = may
  38. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  39. smtpd_use_tls = yes
  40. transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
  41. virtual_alias_domains =
  42. virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
  43. virtual_gid_maps = static:5000
  44. virtual_mailbox_base = /var/vmail
  45. virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
  46. virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
  47. virtual_transport = maildrop
  48. virtual_uid_maps = static:5000
  49.  
  50.  
  51. Master.cf
  52. #
  53. # Postfix master process configuration file. For details on the format
  54. # of the file, see the master(5) manual page (command: "man 5 master").
  55. #
  56. # Do not forget to execute "postfix reload" after editing this file.
  57. #
  58. # ==========================================================================
  59. # service type private unpriv chroot wakeup maxproc command + args
  60. # (yes) (yes) (yes) (never) (100)
  61. # ==========================================================================
  62. #125 inet n - - - - smtpd
  63. smtp inet n - - - - smtpd
  64. #submission inet n - - - - smtpd
  65. # -o smtpd_tls_security_level=encrypt
  66. # -o smtpd_sasl_auth_enable=yes
  67. # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  68. # -o milter_macro_daemon_name=ORIGINATING
  69. #smtps inet n - - - - smtpd
  70. # -o smtpd_tls_wrappermode=yes
  71. # -o smtpd_sasl_auth_enable=yes
  72. # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  73. # -o milter_macro_daemon_name=ORIGINATING
  74. #628 inet n - - - - qmqpd
  75. pickup fifo n - - 60 1 pickup
  76. cleanup unix n - - - 0 cleanup
  77. qmgr fifo n - n 300 1 qmgr
  78. #qmgr fifo n - - 300 1 oqmgr
  79. tlsmgr unix - - - 1000? 1 tlsmgr
  80. rewrite unix - - - - - trivial-rewrite
  81. bounce unix - - - - 0 bounce
  82. defer unix - - - - 0 bounce
  83. trace unix - - - - 0 bounce
  84. verify unix - - - - 1 verify
  85. flush unix n - - 1000? 0 flush
  86. proxymap unix - - n - - proxymap
  87. proxywrite unix - - n - 1 proxymap
  88. smtp unix - - - - - smtp
  89. # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
  90. relay unix - - - - - smtp
  91. -o smtp_fallback_relay=
  92. # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  93. showq unix n - - - - showq
  94. error unix - - - - - error
  95. retry unix - - - - - error
  96. discard unix - - - - - discard
  97. local unix - n n - - local
  98. virtual unix - n n - - virtual
  99. lmtp unix - - - - - lmtp
  100. anvil unix - - - - 1 anvil
  101. scache unix - - - - 1 scache
  102. #
  103. # ====================================================================
  104. # Interfaces to non-Postfix software. Be sure to examine the manual
  105. # pages of the non-Postfix software to find out what options it wants.
  106. #
  107. # Many of the following services use the Postfix pipe(8) delivery
  108. # agent. See the pipe(8) man page for information about ${recipient}
  109. # and other message envelope options.
  110. # ====================================================================
  111. #
  112. # maildrop. See the Postfix MAILDROP_README file for details.
  113. # Also specify in main.cf: maildrop_destination_recipient_limit=1
  114. #
  115. maildrop unix - n n - - pipe
  116. flags=R user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${nexthop} ${sender}
  117. #
  118. # See the Postfix UUCP_README file for configuration details.
  119. #
  120. uucp unix - n n - - pipe
  121. flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  122. #
  123. # Other external delivery methods.
  124. #
  125. ifmail unix - n n - - pipe
  126. flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  127. bsmtp unix - n n - - pipe
  128. flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
  129. scalemail-backend unix - n n - 2 pipe
  130. flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
  131. mailman unix - n n - - pipe
  132. flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  133. ${nexthop} ${user}
  134.  
  135.  
  136. amavis unix - - - - 2 smtp
  137. -o smtp_data_done_timeout=1200
  138. -o smtp_send_xforward_command=yes
  139.  
  140. 127.0.0.1:10025 inet n - - - - smtpd
  141. -o content_filter=
  142. -o local_recipient_maps=
  143. -o relay_recipient_maps=
  144. -o smtpd_restriction_classes=
  145. -o smtpd_client_restrictions=
  146. -o smtpd_helo_restrictions=
  147. -o smtpd_sender_restrictions=
  148. -o smtpd_recipient_restrictions=permit_mynetworks,reject
  149. -o mynetworks=127.0.0.0/8
  150. -o strict_rfc821_envelopes=yes
  151. -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
  152. -o smtpd_bind_address=127.0.0.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement