daily pastebin goal
71%
SHARE
TWEET

master.cf

a guest Jul 9th, 2012 11 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. 1025      inet  n       -       -       -       -       smtpd
  13.   -o smtpd_sasl_auth_enable=yes
  14.   -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  15. submission inet n       -       -       -       -       smtpd
  16.   -o smtpd_sasl_auth_enable=yes
  17.   -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  18.  
  19. #  -o milter_macro_daemon_name=ORIGINATING
  20. smtps     inet  n       -       -       -       -       smtpd
  21.   -o smtpd_sasl_auth_enable=yes
  22.   -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  23. #  -o milter_macro_daemon_name=ORIGINATING
  24. #628       inet  n       -       -       -       -       qmqpd
  25. pickup    fifo  n       -       -       60      1       pickup
  26. cleanup   unix  n       -       -       -       0       cleanup
  27. qmgr      fifo  n       -       n       300     1       qmgr
  28. #qmgr     fifo  n       -       -       300     1       oqmgr
  29. tlsmgr    unix  -       -       -       1000?   1       tlsmgr
  30. rewrite   unix  -       -       -       -       -       trivial-rewrite
  31. bounce    unix  -       -       -       -       0       bounce
  32. defer     unix  -       -       -       -       0       bounce
  33. trace     unix  -       -       -       -       0       bounce
  34. verify    unix  -       -       -       -       1       verify
  35. flush     unix  n       -       -       1000?   0       flush
  36. proxymap  unix  -       -       n       -       -       proxymap
  37. proxywrite unix -       -       n       -       1       proxymap
  38. smtp      unix  -       -       -       -       -       smtp
  39. # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
  40. relay     unix  -       -       -       -       -       smtp
  41.         -o smtp_fallback_relay=
  42. #       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  43. showq     unix  n       -       -       -       -       showq
  44. error     unix  -       -       -       -       -       error
  45. retry     unix  -       -       -       -       -       error
  46. discard   unix  -       -       -       -       -       discard
  47. local     unix  -       n       n       -       -       local
  48. virtual   unix  -       n       n       -       -       virtual
  49. lmtp      unix  -       -       -       -       -       lmtp
  50. anvil     unix  -       -       -       -       1       anvil
  51. scache    unix  -       -       -       -       1       scache
  52. #
  53. # ====================================================================
  54. # Interfaces to non-Postfix software. Be sure to examine the manual
  55. # pages of the non-Postfix software to find out what options it wants.
  56. #
  57. # Many of the following services use the Postfix pipe(8) delivery
  58. # agent.  See the pipe(8) man page for information about ${recipient}
  59. # and other message envelope options.
  60. # ====================================================================
  61. #
  62. # maildrop. See the Postfix MAILDROP_README file for details.
  63. # Also specify in main.cf: maildrop_destination_recipient_limit=1
  64. #
  65.  
  66. maildrop  unix  -       n       n       -       -       pipe
  67.   flags=DRhu user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${nexthop} ${sender}
  68.  
  69. dovecot   unix  -       n       n       -       -       pipe
  70.   flags=DRhu user=vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient}
  71.  
  72.  
  73. #
  74. # ====================================================================
  75. #
  76. # Recent Cyrus versions can use the existing "lmtp" master.cf entry.
  77. #
  78. # Specify in cyrus.conf:
  79. #   lmtp    cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
  80. #
  81. # Specify in main.cf one or more of the following:
  82. #  mailbox_transport = lmtp:inet:localhost
  83. #  virtual_transport = lmtp:inet:localhost
  84. #
  85. # ====================================================================
  86. #
  87. # Cyrus 2.1.5 (Amos Gouaux)
  88. # Also specify in main.cf: cyrus_destination_recipient_limit=1
  89. #
  90. #cyrus     unix  -       n       n       -       -       pipe
  91. #  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
  92. #
  93. # ====================================================================
  94. # Old example of delivery via Cyrus.
  95. #
  96. #old-cyrus unix  -       n       n       -       -       pipe
  97. #  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
  98. #
  99. # ====================================================================
  100. #
  101. # See the Postfix UUCP_README file for configuration details.
  102. #
  103. uucp      unix  -       n       n       -       -       pipe
  104.   flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  105. #
  106. # Other external delivery methods.
  107. #
  108. ifmail    unix  -       n       n       -       -       pipe
  109.   flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  110. bsmtp     unix  -       n       n       -       -       pipe
  111.   flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
  112. scalemail-backend unix  -       n       n       -       2       pipe
  113.   flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
  114. mailman   unix  -       n       n       -       -       pipe
  115.   flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  116.   ${nexthop} ${user}
  117.  
  118. # ==========================================================================
  119. # service type  private unpriv  chroot  wakeup  maxproc command + args
  120. #               (yes)   (yes)   (yes)   (never) (100)
  121. # ==========================================================================
  122. # Added using postfix-add-policy script:
  123. policy-spf unix    -       n       n       -       0     spawn
  124.       user=nobody argv=/usr/bin/policyd-spf
  125. # ==========================================================================
  126. # service type  private unpriv  chroot  wakeup  maxproc command + args
  127. #               (yes)   (yes)   (yes)   (never) (100)
  128. # ==========================================================================
  129. # Added using postfix-add-filter script:
  130. amavis unix - - - - 2 smtp
  131.         -o smtp_data_done_timeout=1200
  132.         -o smtp_send_xforward_command=yes
  133.  
  134. smtp-amavis unix    -       -       -       -       2     smtp
  135.      -o smtp_data_done_timeout=1200
  136.      -o smtp_send_xforward_command=yes
  137.      -o smtp_tls_note_starttls_offer=no
  138.  
  139. 127.0.0.1:10025 inet n    -       -       -       -     smtpd
  140.      -o content_filter=
  141.      -o smtpd_delay_reject=no
  142.      -o smtpd_client_restrictions=permit_mynetworks,reject
  143.      -o smtpd_helo_restrictions=
  144.      -o smtpd_sender_restrictions=
  145.      -o smtpd_recipient_restrictions=permit_mynetworks,reject
  146.      -o smtpd_data_restrictions=reject_unauth_pipelining
  147.      -o smtpd_end_of_data_restrictions=
  148.      -o smtpd_restriction_classes=
  149.      -o mynetworks=127.0.0.0/8
  150.      -o smtpd_error_sleep_time=0
  151.      -o smtpd_soft_error_limit=1001
  152.      -o smtpd_hard_error_limit=1000
  153.      -o smtpd_client_connection_count_limit=0
  154.      -o smtpd_client_connection_rate_limit=0
  155.      -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters
  156.      -o local_header_rewrite_clients=
  157.      -o smtpd_milters=
  158.      -o local_recipient_maps=
  159.      -o relay_recipient_maps=
  160.  
  161. vacation unix - n n - - pipe
  162.         flags=Rq user=vacation argv=/var/spool/vacation/vacation.pl -f ${sender} ${recipient}
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top