Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Unnamed
Saturday, June 9th, 2007 at 8:40:50am UTC 

  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. # The script postfix-chroot.sh can be used to set up a Postfix chroot
  6. # environment on your Mandrivalinux System.
  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       -       n       -       -       smtpd
  14. #  -o smtpd_enforce_tls=yes
  15. #  -o smtpd_sasl_auth_enable=yes
  16. #  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  17. #smtps     inet  n       -       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. #628      inet  n       -       n       -       -       qmqpd
  22. pickup  fifo      n     -    y   60 1        pickup
  23.   -o content_filter=
  24.   -o receive_override_options=
  25. cleanup unix     n    -   y  - 0        cleanup
  26. qmgr    fifo        n       -      y     300  1 qmgr
  27. #qmgr     fifo  n       -       n       300     1       oqmgr
  28. tlsmgr  unix      -     -    y   1000?      1     tlsmgr
  29. rewrite unix     -    -   y  - -        trivial-rewrite
  30. bounce  unix      -     -    y   -  0 bounce
  31. defer   unix       -      -     y    -   0  bounce
  32. trace   unix       -      -     y    -   0  bounce
  33. verify  unix      -     -    y   -  1 verify
  34. flush   unix       n      -     y    1000?       0      flush
  35. proxymap  unix  -       -       n       -       -       proxymap
  36. smtp    unix        -       -      y     -    -   smtp
  37. # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
  38. relay   unix       -      -     y    -   -  smtp
  39.         -o fallback_relay=
  40. #       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  41. showq   unix       n      -     y    -   -  showq
  42. error   unix       -      -     y    -   -  error
  43. discard unix     -    -   y  - -        discard
  44. local     unix  -       n       n       -       -       local
  45. virtual   unix  -       n       n       -       -       virtual
  46. lmtp    unix        -       -      y     -    -   lmtp
  47. anvil   unix       -      -     y    -   1  anvil
  48. scache  unix      -     -    y   -  1 scache
  49. #
  50. # ====================================================================
  51. # Interfaces to non-Postfix software. Be sure to examine the manual
  52. # pages of the non-Postfix software to find out what options it wants.
  53. #
  54. # Many of the following services use the Postfix pipe(8) delivery
  55. # agent.  See the pipe(8) man page for information about ${recipient}
  56. # and other message envelope options.
  57. # ====================================================================
  58. #
  59. # maildrop. See the Postfix MAILDROP_README file for details.
  60. # Also specify in main.cf: maildrop_destination_recipient_limit=1
  61. #
  62. maildrop  unix  -       n       n       -       -       pipe
  63.   flags=DRhu user=nobody argv=/usr/bin/maildrop -d ${recipient}
  64. #
  65. # Cyrus. Please See the Postfix CYRUS_README file for details
  66. #
  67. # deliver interface (deprecated), to use this also use
  68. # postconf -e cyrus-deliver_destination_recipient_limit=1
  69. cyrus-deliver     unix  -       n       n       -       -       pipe
  70.   user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
  71. #
  72. # for default cyrus socket placement
  73. cyrus     unix  -       n       n       -       -       lmtp
  74.   -o lmtp_cache_connection=yes
  75. #
  76. # if you configure cyrus socket in the chroot jail
  77. cyrus-chroot     unix  -       -       y       -       -       lmtp
  78.   -o lmtp_cache_connection=yes
  79. #
  80. # for lmtp to cyrus via tcp
  81. cyrus-inet      unix  - -        y       -      -     lmtp
  82.   -o lmtp_cache_connection=yes
  83.   -o lmtp_sasl_auth_enable=yes
  84.   -o lmtp_sasl_password_maps=hash:/etc/postfix/cyrus_lmtp_sasl_pass
  85.   -o lmtp_sasl_security_options=noanonymous
  86. #
  87. # UUCP. Unix to Unix CoPy
  88. #
  89. # See the Postfix UUCP_README file for configuration details.
  90. #
  91. uucp      unix  -       n       n       -       -       pipe
  92.   flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  93. #
  94. # Other external delivery methods.
  95. # These are not distributed with Mandrivalinux
  96. #
  97. #ifmail    unix  -       n       n       -       -       pipe
  98. #  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  99. #bsmtp     unix  -       n       n       -       -       pipe
  100. #  flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
  101.  
  102. ##### START OF CONTENT FILTER CUSTOMIZATIONS #####
  103. # Please see the Postfix FILTER_README for details.
  104. # These sample entries expect your content filter to
  105. # listen on port 10025 and to inject mail back into
  106. # postfix on port 10026.
  107. #
  108. # to enable such content filter run the command
  109. #    postconf -e content_filter=smtp-filter:127.0.0.1:10025
  110. #    postconf -e smtp-filter_destination_concurrency_limit=2
  111. # or
  112. #    postconf -e content_filter=lmtp-filter:127.0.0.1:10025
  113. #    postconf -e lmtp-filter_destination_concurrency_limit=2
  114. # and the command
  115. #    postconf -e receive_override_options=no_address_mappings
  116. #
  117.  
  118. 127.0.0.1:10026 inet     n    -   y  - -        smtpd
  119.   -o content_filter=
  120.   -o smtpd_restriction_classes=
  121.   -o smtpd_client_restrictions=permit_mynetworks,reject
  122.   -o smtpd_helo_restrictions=
  123.   -o smtpd_sender_restrictions=
  124.   -o smtpd_delay_reject=no
  125.   -o smtpd_recipient_restrictions=permit_mynetworks,reject
  126.   -o mynetworks=127.0.0.0/8
  127.   -o smtpd_authorized_xforward_hosts=127.0.0.0/8
  128.   -o strict_rfc821_envelopes=yes
  129.   -o smtpd_error_sleep_time=0
  130.   -o smtpd_soft_error_limit=1001
  131.   -o smtpd_hard_error_limit=1000
  132.   -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
  133.  
  134. lmtp-filter     unix -        -       y      -     -    lmtp
  135.   -o lmtp_data_done_timeout=1200
  136.   -o lmtp_send_xforward_command=yes
  137.   -o lmtp_cache_connection=no
  138.   -o max_use=20
  139.  
  140. smtp-filter     unix -        -       y      -     -    smtp
  141.   -o smtp_data_done_timeout=1200
  142.   -o smtp_send_xforward_command=yes
  143.   -o max_use=20
  144.  
  145. ##### END OF CONTENT FILTER CUSTOMIZATIONS #####

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right