Advertisement
Guest User

Untitled

a guest
Feb 15th, 2014
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.88 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. # ==========================================================================
  6. # service type private unpriv chroot wakeup maxproc command + args
  7. # (yes) (yes) (yes) (never) (100)
  8. # ==========================================================================
  9. # smtp inet n - n - - smtpd
  10. smtp inet n - n - 1 postscreen
  11. smtpd pass - - n - - smtpd -o content_filter=spamassassin
  12. dnsblog unix - - n - 0 dnsblog
  13.  
  14. #submission inet n - - - - smtpd
  15. # -o smtpd_enforce_tls=yes
  16. # -o smtpd_sasl_auth_enable=yes
  17. # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  18. #smtps inet n - - - - smtpd
  19. # -o smtpd_tls_wrappermode=yes
  20. # -o smtpd_sasl_auth_enable=yes
  21. # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  22. #628 inet n - - - - qmqpd
  23. pickup fifo n - - 60 1 pickup
  24. cleanup unix n - - - 0 cleanup
  25. qmgr fifo n - n 300 1 qmgr
  26. #qmgr fifo n - - 300 1 oqmgr
  27. tlsmgr unix - - - 1000? 1 tlsmgr
  28. rewrite unix - - - - - trivial-rewrite
  29. bounce unix - - - - 0 bounce
  30. defer unix - - - - 0 bounce
  31. trace unix - - - - 0 bounce
  32. verify unix - - - - 1 verify
  33. flush unix n - - 1000? 0 flush
  34. proxymap unix - - n - - proxymap
  35. smtp unix - - - - - smtp
  36. # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
  37. # relay unix - - - - - smtp
  38. # -o fallback_relay=
  39. # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  40. showq unix n - - - - showq
  41. error unix - - - - - error
  42. discard unix - - - - - discard
  43. local unix - n n - - local
  44. virtual unix - n n - - virtual
  45. lmtp unix - - - - - lmtp
  46. anvil unix - - - - 1 anvil
  47. scache unix - - - - 1 scache
  48. #
  49. # ====================================================================
  50. # Interfaces to non-Postfix software. Be sure to examine the manual
  51. # pages of the non-Postfix software to find out what options it wants.
  52. #
  53. # Many of the following services use the Postfix pipe(8) delivery
  54. # agent. See the pipe(8) man page for information about ${recipient}
  55. # and other message envelope options.
  56. # ====================================================================
  57. #
  58. # maildrop. See the Postfix MAILDROP_README file for details.
  59. # Also specify in main.cf: maildrop_destination_recipient_limit=1
  60. #
  61. maildrop unix - n n - - pipe
  62. flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
  63. #
  64. # See the Postfix UUCP_README file for configuration details.
  65. #
  66. uucp unix - n n - - pipe
  67. flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  68. #
  69. # Other external delivery methods.
  70. #
  71. ifmail unix - n n - - pipe
  72. flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  73. bsmtp unix - n n - - pipe
  74. flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
  75. scalemail-backend unix - n n - 2 pipe
  76. flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
  77. mailman unix - n n - - pipe
  78. flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  79. ${nexthop} ${user}
  80.  
  81.  
  82. #spamassassin
  83. # unix - n n - - pipe
  84. # user=nobody argv=/usr/bin/spamc -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
  85.  
  86.  
  87.  
  88. spamassassin
  89. unix - n n - - pipe
  90. flags=Rq user=nobody argv=/etc/filter.sh -oi -f ${sender} ${recipient}
  91.  
  92.  
  93.  
  94. submission inet n - n - - smtpd
  95. -o header_checks=pcre:/etc/postfix/checks/header_checks
  96. -o smtpd_sasl_auth_enable=yes
  97. -o smtpd_proxy_filter=
  98. -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
  99.  
  100. retry unix - - - - - error
  101. relay unix - - n - - smtp -o smtp_fallback_relay=
  102. # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement