| a | b | |
|---|
| 0 | + | # |
|---|
| 0 | + | # Postfix master process configuration file. For details on the format |
|---|
| 0 | + | # of the file, see the master(5) manual page (command: "man 5 master"). |
|---|
| 0 | + | # |
|---|
| 0 | + | # Do not forget to execute "postfix reload" after editing this file. |
|---|
| 0 | + | # |
|---|
| 0 | + | # ========================================================================== |
|---|
| 0 | + | # service type private unpriv chroot wakeup maxproc command + args |
|---|
| 0 | + | # (yes) (yes) (yes) (never) (100) |
|---|
| 0 | + | # ========================================================================== |
|---|
| 0 | + | smtp inet n - - - - smtpd |
|---|
| 0 | + | #submission inet n - - - - smtpd |
|---|
| 0 | + | # -o smtpd_tls_security_level=encrypt |
|---|
| 0 | + | # -o smtpd_sasl_auth_enable=yes |
|---|
| 0 | + | # -o smtpd_client_restrictions=permit_sasl_authenticated,reject |
|---|
| 0 | + | # -o milter_macro_daemon_name=ORIGINATING |
|---|
| 0 | + | #smtps inet n - - - - smtpd |
|---|
| 0 | + | # -o smtpd_tls_wrappermode=yes |
|---|
| 0 | + | # -o smtpd_sasl_auth_enable=yes |
|---|
| 0 | + | # -o smtpd_client_restrictions=permit_sasl_authenticated,reject |
|---|
| 0 | + | # -o milter_macro_daemon_name=ORIGINATING |
|---|
| 0 | + | #628 inet n - - - - qmqpd |
|---|
| 0 | + | pickup fifo n - - 60 1 pickup |
|---|
| 0 | + | cleanup unix n - - - 0 cleanup |
|---|
| 0 | + | qmgr fifo n - n 300 1 qmgr |
|---|
| 0 | + | #qmgr fifo n - - 300 1 oqmgr |
|---|
| 0 | + | tlsmgr unix - - - 1000? 1 tlsmgr |
|---|
| 0 | + | rewrite unix - - - - - trivial-rewrite |
|---|
| 0 | + | bounce unix - - - - 0 bounce |
|---|
| 0 | + | defer unix - - - - 0 bounce |
|---|
| 0 | + | trace unix - - - - 0 bounce |
|---|
| 0 | + | verify unix - - - - 1 verify |
|---|
| 0 | + | flush unix n - - 1000? 0 flush |
|---|
| 0 | + | proxymap unix - - n - - proxymap |
|---|
| 0 | + | proxywrite unix - - n - 1 proxymap |
|---|
| 0 | + | smtp unix - - - - - smtp |
|---|
| 0 | + | # When relaying mail as backup MX, disable fallback_relay to avoid MX loops |
|---|
| 0 | + | relay unix - - - - - smtp |
|---|
| 0 | + | -o smtp_fallback_relay= |
|---|
| 0 | + | # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 |
|---|
| 0 | + | showq unix n - - - - showq |
|---|
| 0 | + | error unix - - - - - error |
|---|
| 0 | + | retry unix - - - - - error |
|---|
| 0 | + | discard unix - - - - - discard |
|---|
| 0 | + | local unix - n n - - local |
|---|
| 0 | + | virtual unix - n n - - virtual |
|---|
| 0 | + | lmtp unix - - - - - lmtp |
|---|
| 0 | + | anvil unix - - - - 1 anvil |
|---|
| 0 | + | scache unix - - - - 1 scache |
|---|
| 0 | + | # |
|---|
| 0 | + | # ==================================================================== |
|---|
| 0 | + | # Interfaces to non-Postfix software. Be sure to examine the manual |
|---|
| 0 | + | # pages of the non-Postfix software to find out what options it wants. |
|---|
| 0 | + | # |
|---|
| 0 | + | # Many of the following services use the Postfix pipe(8) delivery |
|---|
| 0 | + | # agent. See the pipe(8) man page for information about ${recipient} |
|---|
| 0 | + | # and other message envelope options. |
|---|
| 0 | + | # ==================================================================== |
|---|
| 0 | + | # |
|---|
| 0 | + | # maildrop. See the Postfix MAILDROP_README file for details. |
|---|
| 0 | + | # Also specify in main.cf: maildrop_destination_recipient_limit=1 |
|---|
| 0 | + | # |
|---|
| 0 | + | maildrop unix - n n - - pipe |
|---|
| 0 | + | flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} |
|---|
| 0 | + | # |
|---|
| 0 | + | # See the Postfix UUCP_README file for configuration details. |
|---|
| 0 | + | # |
|---|
| 0 | + | uucp unix - n n - - pipe |
|---|
| 0 | + | flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) |
|---|
| 0 | + | # |
|---|
| 0 | + | # Other external delivery methods. |
|---|
| 0 | + | # |
|---|
| 0 | + | ifmail unix - n n - - pipe |
|---|
| 0 | + | flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) |
|---|
| 0 | + | bsmtp unix - n n - - pipe |
|---|
| 0 | + | flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient |
|---|
| 0 | + | scalemail-backend unix - n n - 2 pipe |
|---|
| 0 | + | flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension} |
|---|
| 0 | + | mailman unix - n n - - pipe |
|---|
| 0 | + | flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py |
|---|
| 0 | + | ${nexthop} ${user} |
|---|
| 0 | + | |
|---|
| 0 | + | # Configured by DTC v0.17 : Please don't touch this line ! |
|---|
| 0 | + | # Adds support for the sa-learn script |
|---|
| 0 | + | sa-spam unix - n n - - pipe |
|---|
| 0 | + | -o smtpd_client_restrictions=permit_sasl_authenticated,permit_mynetworks,reject |
|---|
| 0 | + | user=amavis:amavis argv=/usr/share/dtc/admin/sa-wrapper spam ${sender} |
|---|
| 0 | + | |
|---|
| 0 | + | sa-ham unix - n n - - pipe |
|---|
| 0 | + | -o smtpd_client_restrictions=permit_sasl_authenticated,permit_mynetworks,reject |
|---|
| 0 | + | user=amavis:amavis argv=/usr/share/dtc/admin/sa-wrapper ham ${sender} |
|---|
| 0 | + | |
|---|
| 0 | + | |
|---|
| 0 | + | # Adds support for tumgreyspf |
|---|
| 0 | + | tumgreyspf unix - n n - - spawn |
|---|
| 0 | + | user=tumgreyspf argv=/usr/bin/tumgreyspf |
|---|
| 0 | + | |
|---|
| 0 | + | |
|---|
| 0 | + | maildrop unix - n n - - pipe |
|---|
| 0 | + | flags=DRhu user=dtc argv=/usr/bin/maildrop -a -w 90 -d ${user}@${nexthop} ${extension} ${recipient} ${user} ${nexthop} |
|---|
| 0 | + | |
|---|
| 0 | + | |
|---|
| 0 | + | # amavisd-new |
|---|
| 0 | + | smtp-amavis unix - - - - 2 smtp |
|---|
| 0 | + | -o smtp_data_done_timeout=1200 |
|---|
| 0 | + | -o smtp_send_xforward_command=yes |
|---|
| 0 | + | -o disable_dns_lookups=yes |
|---|
| 0 | + | -o max_use=20 |
|---|
| 0 | + | |
|---|
| 0 | + | 127.0.0.1:10025 inet n - - - - smtpd |
|---|
| 0 | + | -o content_filter= |
|---|
| 0 | + | -o local_recipient_maps= |
|---|
| 0 | + | -o relay_recipient_maps= |
|---|
| 0 | + | -o smtpd_restriction_classes= |
|---|
| 0 | + | -o smtpd_client_restrictions= |
|---|
| 0 | + | -o smtpd_helo_restrictions= |
|---|
| 0 | + | -o smtpd_sender_restrictions= |
|---|
| 0 | + | -o smtpd_recipient_restrictions=permit_mynetworks,reject |
|---|
| 0 | + | -o strict_rfc821_envelopes=yes |
|---|
| 0 | + | -o smtpd_error_sleep_time=0 |
|---|
| 0 | + | -o smtpd_soft_error_limit=1001 |
|---|
| 0 | + | -o smtpd_hard_error_limit=1000 |
|---|
| 0 | + | -o smtpd_client_connection_count_limit=0 |
|---|
| 0 | + | -o smtpd_client_connection_rate_limit=0 |
|---|
| 0 | + | -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings |
|---|
| 0 | + | |
|---|
| 0 | + | |
|---|
| 0 | + | # DKIM filter configuration |
|---|
| 0 | + | # |
|---|
| 0 | + | # modify the default submission service to specify a content filter |
|---|
| 0 | + | # and restrict it to local clients and SASL authenticated clients only |
|---|
| 0 | + | # |
|---|
| 0 | + | submission inet n - n - - smtpd |
|---|
| 0 | + | -o smtpd_etrn_restrictions=reject |
|---|
| 0 | + | -o smtpd_sasl_auth_enable=yes |
|---|
| 0 | + | -o content_filter=dkimsign:[127.0.0.1]:10028 |
|---|
| 0 | + | -o receive_override_options=no_address_mappings |
|---|
| 0 | + | -o smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject |
|---|
| 0 | + | |
|---|
| 0 | + | # |
|---|
| 0 | + | # specify the location of the DomainKeys signing filter |
|---|
| 0 | + | # |
|---|
| 0 | + | dkimsign unix - - n - 4 smtp |
|---|
| 0 | + | -o smtp_send_xforward_command=yes |
|---|
| 0 | + | -o smtp_discard_ehlo_keywords=8bitmime |
|---|
| 0 | + | |
|---|
| 0 | + | # |
|---|
| 0 | + | # service for accepting messages FROM the DomainKeys signing filter |
|---|
| 0 | + | # |
|---|
| 0 | + | 127.0.0.1:10029 inet n - n - 5 smtpd |
|---|
| 0 | + | -o smtpd_use_tls=no |
|---|
| 0 | + | -o content_filter= |
|---|
| 0 | + | -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks,no_address_mappings |
|---|
| 0 | + | -o smtpd_helo_restrictions= |
|---|
| 0 | + | -o smtpd_client_restrictions= |
|---|
| 0 | + | -o smtpd_sender_restrictions= |
|---|
| 0 | + | -o smtpd_recipient_restrictions=permit_mynetworks,reject |
|---|
| 0 | + | -o mynetworks=127.0.0.0/8 |
|---|
| 0 | + | -o smtpd_authorized_xforward_hosts=127.0.0.0/8 |
|---|
| 0 | + | |
|---|
| 0 | + | # For Postfix to sign mails sent out using Webmail or other locally delivered mail |
|---|
| 0 | + | pickup fifo n - n 60 1 pickup |
|---|
| 0 | + | -o content_filter=dkimsign:127.0.0.1:10028 |
|---|
| 0 | + | |
|---|
| 0 | + | |
|---|
| ... | |
|---|