Guest User

master.cf123

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