Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 6.37 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").
  4. #
  5. # Do not forget to execute "postfix reload" after editing this file.
  6. #
  7. # ==========================================================================
  8. # service type  private unpriv  chroot  wakeup  maxproc command + args
  9. #               (yes)   (yes)   (yes)   (never) (100)
  10. # ==========================================================================
  11. smtp      inet  n       -       n       -       -       smtpd -o content_filter=spamassassin
  12. #smtp      inet  n       -       n       -       1       postscreen
  13. #smtpd     pass  -       -       n       -       -       smtpd
  14. #dnsblog   unix  -       -       n       -       0       dnsblog
  15. #tlsproxy  unix  -       -       n       -       0       tlsproxy
  16. submission inet n       -       n       -       -       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=permit_sasl_authenticated,reject
  25.   -o milter_macro_daemon_name=ORIGINATING
  26. smtps     inet  n       -       n       -       -       smtpd
  27.   -o syslog_name=postfix/smtps
  28.   -o smtpd_tls_wrappermode=yes
  29.   -o smtpd_sasl_auth_enable=yes
  30.   -o smtpd_reject_unlisted_recipient=no
  31.   -o smtpd_client_restrictions=$mua_client_restrictions
  32.   -o smtpd_helo_restrictions=$mua_helo_restrictions
  33.   -o smtpd_sender_restrictions=$mua_sender_restrictions
  34.   -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
  35.   -o milter_macro_daemon_name=ORIGINATING
  36. #628       inet  n       -       n       -       -       qmqpd
  37. pickup    unix  n       -       n       60      1       pickup
  38. cleanup   unix  n       -       n       -       0       cleanup
  39. qmgr      unix  n       -       n       300     1       qmgr
  40. #qmgr     unix  n       -       n       300     1       oqmgr
  41. tlsmgr    unix  -       -       n       1000?   1       tlsmgr
  42. rewrite   unix  -       -       n       -       -       trivial-rewrite
  43. bounce    unix  -       -       n       -       0       bounce
  44. defer     unix  -       -       n       -       0       bounce
  45. trace     unix  -       -       n       -       0       bounce
  46. verify    unix  -       -       n       -       1       verify
  47. flush     unix  n       -       n       1000?   0       flush
  48. proxymap  unix  -       -       n       -       -       proxymap
  49. proxywrite unix -       -       n       -       1       proxymap
  50. smtp      unix  -       -       n       -       -       smtp
  51. relay     unix  -       -       n       -       -       smtp
  52. #       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  53. showq     unix  n       -       n       -       -       showq
  54. error     unix  -       -       n       -       -       error
  55. retry     unix  -       -       n       -       -       error
  56. discard   unix  -       -       n       -       -       discard
  57. local     unix  -       n       n       -       -       local
  58. virtual   unix  -       n       n       -       -       virtual
  59. lmtp      unix  -       -       n       -       -       lmtp
  60. anvil     unix  -       -       n       -       1       anvil
  61. scache    unix  -       -       n       -       1       scache
  62. #
  63. # ====================================================================
  64. # Interfaces to non-Postfix software. Be sure to examine the manual
  65. # pages of the non-Postfix software to find out what options it wants.
  66. #
  67. # Many of the following services use the Postfix pipe(8) delivery
  68. # agent.  See the pipe(8) man page for information about ${recipient}
  69. # and other message envelope options.
  70. # ====================================================================
  71. #
  72. # maildrop. See the Postfix MAILDROP_README file for details.
  73. # Also specify in main.cf: maildrop_destination_recipient_limit=1
  74. #
  75. #maildrop  unix  -       n       n       -       -       pipe
  76. #  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
  77. #
  78. # ====================================================================
  79. #
  80. # Recent Cyrus versions can use the existing "lmtp" master.cf entry.
  81. #
  82. # Specify in cyrus.conf:
  83. #   lmtp    cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
  84. #
  85. # Specify in main.cf one or more of the following:
  86. #  mailbox_transport = lmtp:inet:localhost
  87. #  virtual_transport = lmtp:inet:localhost
  88. #
  89. # ====================================================================
  90. #
  91. # Cyrus 2.1.5 (Amos Gouaux)
  92. # Also specify in main.cf: cyrus_destination_recipient_limit=1
  93. #
  94. #cyrus     unix  -       n       n       -       -       pipe
  95. #  user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
  96. #
  97. # ====================================================================
  98. #
  99. # Old example of delivery via Cyrus.
  100. #
  101. #old-cyrus unix  -       n       n       -       -       pipe
  102. #  flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
  103. #
  104. # ====================================================================
  105. #
  106. # See the Postfix UUCP_README file for configuration details.
  107. #
  108. #uucp      unix  -       n       n       -       -       pipe
  109. #  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  110. #
  111. # ====================================================================
  112. #
  113. # Other external delivery methods.
  114. #
  115. #ifmail    unix  -       n       n       -       -       pipe
  116. #  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  117. #
  118. #bsmtp     unix  -       n       n       -       -       pipe
  119. #  flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
  120. #
  121. #scalemail-backend unix -       n       n       -       2       pipe
  122. #  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
  123. #  ${nexthop} ${user} ${extension}
  124. #
  125. #mailman   unix  -       n       n       -       -       pipe
  126. #  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  127. #  ${nexthop} ${user}
  128. dovecot   unix  -       n       n       -       -       pipe
  129.     flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${recipient}
  130. spamassassin unix - n n - - pipe flags=R user=spamd argv=/usr/bin/spamc -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement