Advertisement
Postbote

master.cf

Jan 28th, 2012
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.07 KB | None | 0 0
  1. root@jabra-server:/etc/postfix# cat 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").
  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) (yes) (never) (100)
  11. # ==========================================================================
  12. smtp inet n - y - - smtpd
  13. #submission inet n - - - - smtpd
  14. # -o smtpd_tls_security_level=encrypt
  15. # -o smtpd_sasl_auth_enable=yes
  16. # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  17. # -o milter_macro_daemon_name=ORIGINATING
  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. # -o milter_macro_daemon_name=ORIGINATING
  23. #628 inet n - - - - qmqpd
  24. pickup fifo n - - 60 1 pickup
  25. cleanup unix n - - - 0 cleanup
  26. qmgr fifo n - n 300 1 qmgr
  27. #qmgr fifo n - - 300 1 oqmgr
  28. tlsmgr unix - - - 1000? 1 tlsmgr
  29. rewrite unix - - - - - trivial-rewrite
  30. bounce unix - - - - 0 bounce
  31. defer unix - - - - 0 bounce
  32. trace unix - - - - 0 bounce
  33. verify unix - - - - 1 verify
  34. flush unix n - - 1000? 0 flush
  35. proxymap unix - - n - - proxymap
  36. proxywrite unix - - n - 1 proxymap
  37. smtp unix - - - - - smtp
  38. # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
  39. relay unix - - - - - smtp
  40. -o smtp_fallback_relay=
  41. # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  42. showq unix n - - - - showq
  43. error unix - - - - - error
  44. retry unix - - - - - error
  45. discard unix - - - - - discard
  46. local unix - n n - - local
  47. virtual unix - n n - - virtual
  48. lmtp unix - - - - - lmtp
  49. anvil unix - - - - 1 anvil
  50. scache unix - - - - 1 scache
  51. #
  52. # ====================================================================
  53. # Interfaces to non-Postfix software. Be sure to examine the manual
  54. # pages of the non-Postfix software to find out what options it wants.
  55. #
  56. # Many of the following services use the Postfix pipe(8) delivery
  57. # agent. See the pipe(8) man page for information about ${recipient}
  58. # and other message envelope options.
  59. # ====================================================================
  60. #
  61. # maildrop. See the Postfix MAILDROP_README file for details.
  62. # Also specify in main.cf: maildrop_destination_recipient_limit=1
  63. #
  64. maildrop unix - n n - - pipe
  65. flags=DRhu user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${nexthop} ${sender}
  66. #
  67. # ====================================================================
  68. #
  69. # Recent Cyrus versions can use the existing "lmtp" master.cf entry.
  70. #
  71. # Specify in cyrus.conf:
  72. # lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
  73. #
  74. # Specify in main.cf one or more of the following:
  75. # mailbox_transport = lmtp:inet:localhost
  76. # virtual_transport = lmtp:inet:localhost
  77. #
  78. # ====================================================================
  79. #
  80. # Cyrus 2.1.5 (Amos Gouaux)
  81. # Also specify in main.cf: cyrus_destination_recipient_limit=1
  82. #
  83. #cyrus unix - n n - - pipe
  84. # user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
  85. #
  86. # ====================================================================
  87. # Old example of delivery via Cyrus.
  88. #
  89. #old-cyrus unix - n n - - pipe
  90. # flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
  91. #
  92. # ====================================================================
  93. #
  94. # See the Postfix UUCP_README file for configuration details.
  95. #
  96. uucp unix - n n - - pipe
  97. flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  98. #
  99. # Other external delivery methods.
  100. #
  101. ifmail unix - n n - - pipe
  102. flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  103. bsmtp unix - n n - - pipe
  104. flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
  105. scalemail-backend unix - n n - 2 pipe
  106. flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
  107. mailman unix - n n - - pipe
  108. flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  109. ${nexthop} ${user}
  110.  
  111.  
  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
Add Comment
Please, Sign In to add comment
Advertisement