Advertisement
Guest User

Untitled

a guest
Oct 6th, 2012
124
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.18 KB | None
  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 - - - - smtpd
  12. #submission inet n - - - - smtpd
  13. # -o smtpd_tls_security_level=encrypt
  14. # -o smtpd_sasl_auth_enable=yes
  15. # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  16. # -o milter_macro_daemon_name=ORIGINATING
  17. #smtps inet n - - - - smtpd
  18. # -o smtpd_tls_wrappermode=yes
  19. # -o smtpd_sasl_auth_enable=yes
  20. # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  21. # -o milter_macro_daemon_name=ORIGINATING
  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. proxywrite unix - - n - 1 proxymap
  36. smtp unix - - - - - smtp
  37. # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
  38. relay unix - - - - - smtp
  39. -o smtp_fallback_relay=
  40. # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  41. showq unix n - - - - showq
  42. error unix - - - - - error
  43. retry unix - - - - - error
  44. discard unix - - - - - discard
  45. local unix - n n - - local
  46. virtual unix - n n - - virtual
  47. lmtp unix - - - - - lmtp
  48. anvil unix - - - - 1 anvil
  49. scache unix - - - - 1 scache
  50. #
  51. # ====================================================================
  52. # Interfaces to non-Postfix software. Be sure to examine the manual
  53. # pages of the non-Postfix software to find out what options it wants.
  54. #
  55. # Many of the following services use the Postfix pipe(8) delivery
  56. # agent. See the pipe(8) man page for information about ${recipient}
  57. # and other message envelope options.
  58. # ====================================================================
  59. #
  60. # maildrop. See the Postfix MAILDROP_README file for details.
  61. # Also specify in main.cf: maildrop_destination_recipient_limit=1
  62. #
  63. maildrop unix - n n - - pipe
  64. flags=DRhu user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${nexthop} ${sender}
  65. #
  66. # ====================================================================
  67. #
  68. # Recent Cyrus versions can use the existing "lmtp" master.cf entry.
  69. #
  70. # Specify in cyrus.conf:
  71. # lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
  72. #
  73. # Specify in main.cf one or more of the following:
  74. # mailbox_transport = lmtp:inet:localhost
  75. # virtual_transport = lmtp:inet:localhost
  76. #
  77. # ====================================================================
  78. #
  79. # Cyrus 2.1.5 (Amos Gouaux)
  80. # Also specify in main.cf: cyrus_destination_recipient_limit=1
  81. #
  82. #cyrus unix - n n - - pipe
  83. # user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
  84. #
  85. # ====================================================================
  86. # Old example of delivery via Cyrus.
  87. #
  88. #old-cyrus unix - n n - - pipe
  89. # flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
  90. #
  91. # ====================================================================
  92. #
  93. # See the Postfix UUCP_README file for configuration details.
  94. #
  95. uucp unix - n n - - pipe
  96. flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  97. #
  98. # Other external delivery methods.
  99. #
  100. ifmail unix - n n - - pipe
  101. flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  102. bsmtp unix - n n - - pipe
  103. flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
  104. scalemail-backend unix - n n - 2 pipe
  105. flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
  106. mailman unix - n n - - pipe
  107. flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  108. ${nexthop} ${user}
  109.  
  110. dovecot unix - n n - - pipe
  111. flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop}
  112. amavis unix - - - - 2 smtp
  113. -o smtp_data_done_timeout=1200
  114. -o smtp_send_xforward_command=yes
  115.  
  116. 127.0.0.1:10025 inet n - - - - smtpd
  117. -o content_filter=
  118. -o local_recipient_maps=
  119. -o relay_recipient_maps=
  120. -o smtpd_restriction_classes=
  121. -o smtpd_client_restrictions=
  122. -o smtpd_helo_restrictions=
  123. -o smtpd_sender_restrictions=
  124. -o smtpd_recipient_restrictions=permit_mynetworks,reject
  125. -o mynetworks=127.0.0.0/8
  126. -o strict_rfc821_envelopes=yes
  127. -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
  128. -o smtpd_bind_address=127.0.0.1
Advertisement
RAW Paste Data Copied
Advertisement