Advertisement
Guest User

master.cf

a guest
Jan 31st, 2013
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.61 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. # 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.       -o receive_override_options=no_address_mappings
  13.       -o content_filter=autoresponder:dummy
  14. 587 inet n - - - - smtpd
  15.       -o receive_override_options=no_address_mappings
  16.       -o content_filter=autoresponder:dummy
  17.  
  18. #submission inet n       -       -       -       -       smtpd
  19. #  -o smtpd_tls_security_level=encrypt
  20. #  -o smtpd_sasl_auth_enable=yes
  21. #  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  22. #  -o milter_macro_daemon_name=ORIGINATING
  23. smtps     inet  n       -       -       -       -       smtpd
  24.   -o smtpd_tls_wrappermode=yes
  25.   -o smtpd_sasl_auth_enable=yes
  26.   -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  27. #  -o milter_macro_daemon_name=ORIGINATING
  28. #628      inet  n       -       -       -       -       qmqpd
  29. pickup    fifo  n       -       -       60      1       pickup
  30. cleanup   unix  n       -       -       -       0       cleanup
  31. qmgr      fifo  n       -       n       300     1       qmgr
  32. #qmgr     fifo  n       -       -       300     1       oqmgr
  33. tlsmgr    unix  -       -       -       1000?   1       tlsmgr
  34. rewrite   unix  -       -       -       -       -       trivial-rewrite
  35. bounce    unix  -       -       -       -       0       bounce
  36. defer     unix  -       -       -       -       0       bounce
  37. trace     unix  -       -       -       -       0       bounce
  38. verify    unix  -       -       -       -       1       verify
  39. flush     unix  n       -       -       1000?   0       flush
  40. proxymap  unix  -       -       n       -       -       proxymap
  41. proxywrite unix -       -       n       -       1       proxymap
  42. smtp      unix  -       -       -       -       -       smtp
  43. # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
  44. relay     unix  -       -       -       -       -       smtp
  45.     -o smtp_fallback_relay=
  46. #       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  47. showq     unix  n       -       -       -       -       showq
  48. error     unix  -       -       -       -       -       error
  49. retry     unix  -       -       -       -       -       error
  50. discard   unix  -       -       -       -       -       discard
  51. local     unix  -       n       n       -       -       local
  52. virtual   unix  -       n       n       -       -       virtual
  53. lmtp      unix  -       -       -       -       -       lmtp
  54. anvil     unix  -       -       -       -       1       anvil
  55. scache    unix  -       -       -       -       1       scache
  56. #
  57. # ====================================================================
  58. # Interfaces to non-Postfix software. Be sure to examine the manual
  59. # pages of the non-Postfix software to find out what options it wants.
  60. #
  61. # Many of the following services use the Postfix pipe(8) delivery
  62. # agent.  See the pipe(8) man page for information about ${recipient}
  63. # and other message envelope options.
  64. # ====================================================================
  65. #
  66.  
  67. # Originally maildrop over
  68. ### user vmail:daemon
  69. maildrop  unix  -       n       n       -       -       pipe
  70.  flags=DRhu user=vmail:daemon argv=/usr/bin/maildrop -w 90 -d ${user}@${nexthop}
  71.  ${extension} ${recipient} ${user} ${nexthop} ${sender}
  72.  
  73.  
  74. ### Howtoforge ###
  75. amavis unix - - - - 2 smtp
  76.         -o smtp_data_done_timeout=1200
  77.         -o smtp_send_xforward_command=yes
  78.  
  79. 127.0.0.1:10025 inet n - - - - smtpd
  80.         -o content_filter=
  81.         -o local_recipient_maps=
  82.         -o relay_recipient_maps=
  83.         -o smtpd_restriction_classes=
  84.         -o smtpd_client_restrictions=
  85.         -o smtpd_helo_restrictions=
  86.         -o smtpd_sender_restrictions=
  87.         -o smtpd_recipient_restrictions=permit_mynetworks,reject
  88.         -o mynetworks=127.0.0.0/8
  89.         -o strict_rfc821_envelopes=yes
  90.         -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
  91.         -o smtpd_bind_address=127.0.0.1
  92.  
  93.  
  94.  
  95. # maildrop. See the Postfix MAILDROP_README file for details.
  96. # Also specify in main.cf: maildrop_destination_recipient_limit=1
  97. #
  98. #maildrop  unix  -       n       n       -       -       pipe
  99. #  flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
  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=mailman:mailman argv=/usr/local/mailman/bin/postfix-to-mailman.py
  116.   ${nexthop} ${user}
  117.  
  118. autoresponder unix - n n - - pipe
  119.      flags=Fq user=autoresponse argv=/usr/local/sbin/autoresponse -s ${sender} -r ${recipient} -S ${sasl_username} -C ${client_address}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement