Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2019
407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 8.03 KB | None | 0 0
  1. #
  2. # Postfix master process configuration file.  For details on the format
  3. # of the file, see the master(5) manual page (command: "man 5 master" or
  4. # on-line: http://www.postfix.org/master.5.html).
  5. #
  6. # Do not forget to execute "postfix reload" after editing this file.
  7. #
  8. # ==========================================================================
  9. # service type  private unpriv  chroot  wakeup  maxproc command + args
  10. #               (yes)   (yes)   (no)    (never) (100)
  11. # ==========================================================================
  12. smtp      inet  n       -       y       -       1       postscreen
  13. smtpd     pass  -       -       y       -       -       smtpd
  14. dnsblog   unix  -       -       y       -       0       dnsblog
  15. tlsproxy  unix  -       -       y       -       0       tlsproxy
  16. #submission inet n       -       y       -       -       smtpd
  17. #  -o syslog_name=postfix/submission
  18. #  -o smtpd_tls_security_level=encrypt
  19. #  -o smtpd_sasl_auth_enable=yes
  20. #  -o smtpd_reject_unlisted_recipient=no
  21. #  -o smtpd_client_restrictions=$mua_client_restrictions
  22. #  -o smtpd_helo_restrictions=$mua_helo_restrictions
  23. #  -o smtpd_sender_restrictions=$mua_sender_restrictions
  24. #  -o smtpd_recipient_restrictions=
  25. #  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  26. #  -o milter_macro_daemon_name=ORIGINATING
  27. #smtps     inet  n       -       y       -       -       smtpd
  28. #  -o syslog_name=postfix/smtps
  29. #  -o smtpd_tls_wrappermode=yes
  30. #  -o smtpd_sasl_auth_enable=yes
  31. #  -o smtpd_reject_unlisted_recipient=no
  32. #  -o smtpd_client_restrictions=$mua_client_restrictions
  33. #  -o smtpd_helo_restrictions=$mua_helo_restrictions
  34. #  -o smtpd_sender_restrictions=$mua_sender_restrictions
  35. #  -o smtpd_recipient_restrictions=
  36. #  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  37. #  -o milter_macro_daemon_name=ORIGINATING
  38. #628       inet  n       -       y       -       -       qmqpd
  39. #smtp       inet  n       -       -       -       -       smtpd
  40. pickup     unix  n       -       n       60      1       pickup
  41. cleanup    unix  n       -       n       -       0       cleanup
  42. #qmgr     unix  n       -       n       300     1       oqmgr
  43. qmgr       unix  n       -       n       300     1       qmgr
  44. tlsmgr     unix  -       -       n       1000?   1       tlsmgr
  45. rewrite    unix  -       -       n       -       -       trivial-rewrite
  46. bounce     unix  -       -       n       -       0       bounce
  47. defer      unix  -       -       n       -       0       bounce
  48. trace      unix  -       -       n       -       0       bounce
  49. verify     unix  -       -       n       -       1       verify
  50. flush      unix  n       -       n       1000?   0       flush
  51. proxymap   unix  -       -       n       -       -       proxymap
  52. proxywrite unix  -       -       n       -       1       proxymap
  53. smtp       unix  -       -       n       -       -       smtp
  54. #       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  55. relay      unix  -       -       n       -       -       smtp
  56. showq      unix  n       -       n       -       -       showq
  57. error      unix  -       -       n       -       -       error
  58. retry      unix  -       -       n       -       -       error
  59. discard    unix  -       -       n       -       -       discard
  60. local      unix  -       n       n       -       -       local
  61. virtual    unix  -       n       n       -       -       virtual
  62. lmtp       unix  -       -       n       -       -       lmtp
  63. anvil      unix  -       -       n       -       1       anvil
  64. #
  65. # ====================================================================
  66. # Interfaces to non-Postfix software. Be sure to examine the manual
  67. # pages of the non-Postfix software to find out what options it wants.
  68. #
  69. # Many of the following services use the Postfix pipe(8) delivery
  70. # agent.  See the pipe(8) man page for information about ${recipient}
  71. # and other message envelope options.
  72. # ====================================================================
  73. #
  74. # maildrop. See the Postfix MAILDROP_README file for details.
  75. # Also specify in main.cf: maildrop_destination_recipient_limit=1
  76. #
  77. scache     unix  -       -       n       -       1       scache
  78. #
  79. # ====================================================================
  80. #
  81. # Recent Cyrus versions can use the existing "lmtp" master.cf entry.
  82. #
  83. # Specify in cyrus.conf:
  84. #   lmtp    cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
  85. #
  86. # Specify in main.cf one or more of the following:
  87. #  mailbox_transport = lmtp:inet:localhost
  88. #  virtual_transport = lmtp:inet:localhost
  89. #
  90. # ====================================================================
  91. #
  92. # Cyrus 2.1.5 (Amos Gouaux)
  93. # Also specify in main.cf: cyrus_destination_recipient_limit=1
  94. #
  95. #cyrus     unix  -       n       n       -       -       pipe
  96. #  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
  97. #
  98. # ====================================================================
  99. # Old example of delivery via Cyrus.
  100. #
  101. #old-cyrus unix  -       n       n       -       -       pipe
  102. #  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
  103. #
  104. # ====================================================================
  105. #
  106. # See the Postfix UUCP_README file for configuration details.
  107. #
  108. maildrop   unix  -       n       n       -       -       pipe flags=DRhu
  109.     user=vmail argv=/usr/bin/maildrop -d ${recipient}
  110. #
  111. # Other external delivery methods.
  112. #
  113. uucp       unix  -       n       n       -       -       pipe flags=Fqhu
  114.     user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  115. ifmail     unix  -       n       n       -       -       pipe flags=F user=ftn
  116.     argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  117. bsmtp      unix  -       n       n       -       -       pipe flags=Fq.
  118.     user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
  119. scalemail-backend unix - n       n       -       2       pipe flags=R
  120.     user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop}
  121.     ${user} ${extension}
  122.  
  123. mailman    unix  -       n       n       -       -       pipe flags=FR
  124.     user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop}
  125.     ${user}
  126. # Submission, port 587, force TLS connection.
  127. submission inet n       -       n       -       -       smtpd
  128.   -o syslog_name=postfix/submission
  129.   -o smtpd_tls_security_level=encrypt
  130.   -o smtpd_sasl_auth_enable=yes
  131.   -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  132.   -o content_filter=smtp-amavis:[127.0.0.1]:10026
  133.  
  134. # Use dovecot's `deliver` program as LDA.
  135. dovecot unix    -       n       n       -       -      pipe
  136.     flags=DRh user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${domain} -m ${extension}
  137.  
  138. # mlmmj - mailing list manager
  139. # ${nexthop} is '%d/%u' in transport ('mlmmj:%d/%u')
  140. mlmmj   unix  -       n       n       -       -       pipe
  141.     flags=ORhu user=mlmmj:mlmmj argv=/usr/bin/mlmmj-amime-receive -L /var/vmail/mlmmj/${nexthop}
  142.  
  143. # Amavisd integration.
  144. smtp-amavis unix -  -   n   -   3  smtp
  145.     -o syslog_name=postfix/amavis
  146.     -o smtp_data_done_timeout=1200
  147.     -o smtp_send_xforward_command=yes
  148.     -o disable_dns_lookups=yes
  149.     -o max_use=20
  150.  
  151. 127.0.0.1:10025 inet n  -   n   -   -  smtpd
  152.     -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings
  153.     -o syslog_name=postfix/10025
  154.     -o content_filter=
  155.     -o mynetworks_style=host
  156.     -o mynetworks=127.0.0.0/8
  157.     -o local_recipient_maps=
  158.     -o relay_recipient_maps=
  159.     -o strict_rfc821_envelopes=yes
  160.     -o smtp_tls_security_level=none
  161.     -o smtpd_tls_security_level=none
  162.     -o smtpd_restriction_classes=
  163.     -o smtpd_delay_reject=no
  164.     -o smtpd_client_restrictions=permit_mynetworks,reject
  165.     -o smtpd_helo_restrictions=
  166.     -o smtpd_sender_restrictions=
  167.     -o smtpd_recipient_restrictions=permit_mynetworks,reject
  168.     -o smtpd_end_of_data_restrictions=
  169.     -o smtpd_error_sleep_time=0
  170.     -o smtpd_soft_error_limit=1001
  171.     -o smtpd_hard_error_limit=1000
  172.     -o smtpd_client_connection_count_limit=0
  173.     -o smtpd_client_connection_rate_limit=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement