Correction : etc/postfix/master.cf : no-amavis-cleanup pour verify(8).
[lhc/ateliers.git] / etc / postfix / master.cf
1 # Postfix master process configuration file. For details on the format
2 # of the file, see the master(5) manual page (command: "man 5 master").
3 #
4 # ==========================================================================
5 # service type private unpriv chroot wakeup maxproc command + args
6 # (yes) (yes) (yes) (never) (100)
7 # ==========================================================================
8 smtp inet n - - - - smtpd
9 -o cleanup_service_name=pre-amavis-cleanup
10 -o content_filter=amavis:[127.0.0.1]:10024
11 -o smtpd_sender_restrictions=reject_unauth_pipelining,reject_non_fqdn_sender,permit
12 -o receive_override_options=no_address_mappings
13 amavis unix - - n - 2 lmtp
14 -o lmtp_data_done_timeout=1200
15 -o lmtp_send_xforward_command=yes
16 -o lmtp_tls_note_starttls_offer=no
17 127.0.0.1:10025 inet n - n - - smtpd
18 -o cleanup_service_name=post-amavis-cleanup
19 -o content_filter=
20 -o local_header_rewrite_clients=
21 -o local_recipient_maps=
22 -o mynetworks=127.0.0.0/8
23 -o receive_override_options=no_header_body_checks,no_milters,no_unknown_recipient_checks
24 -o relay_recipient_maps=
25 -o smtpd_client_connection_count_limit=0
26 -o smtpd_client_connection_rate_limit=0
27 -o smtpd_client_restrictions=permit_mynetworks,reject
28 -o smtpd_data_restrictions=reject_unauth_pipelining
29 -o smtpd_delay_reject=no
30 -o smtpd_end_of_data_restrictions=
31 -o smtpd_error_sleep_time=0
32 -o smtpd_hard_error_limit=1000
33 -o smtpd_helo_restrictions=
34 -o smtpd_milters=
35 -o smtpd_recipient_restrictions=permit_mynetworks,reject
36 -o smtpd_restriction_classes=
37 -o smtpd_sender_restrictions=
38 -o smtpd_soft_error_limit=1001
39 -o strict_rfc821_envelopes=yes
40 submission inet n - - - - smtpd
41 -o cleanup_service_name=no-amavis-cleanup
42 #-o cleanup_service_name=pre-amavis-cleanup
43 #-o content_filter=amavis:[127.0.0.1]:10024
44 -o milter_macro_daemon_name=ORIGINATING
45 -o receive_override_options=no_address_mappings
46 -o smtpd_sender_restrictions=permit_tls_clientcerts,reject
47 -o smtpd_tls_ask_ccert=yes
48 -o smtpd_tls_auth_only=yes
49 -o smtpd_tls_ccert_verifydepth=2
50 -o smtpd_tls_loglevel=1
51 -o smtpd_tls_req_ccert=yes
52 -o smtpd_tls_security_level=encrypt
53 smtps inet n - - - - smtpd
54 -o cleanup_service_name=no-amavis-cleanup
55 #-o cleanup_service_name=pre-amavis-cleanup
56 #-o content_filter=amavis:[127.0.0.1]:10024
57 -o milter_macro_daemon_name=ORIGINATING
58 -o smtpd_client_restrictions=permit_sasl_authenticated,reject
59 -o smtpd_sasl_auth_enable=yes
60 -o smtpd_tls_ask_ccert=yes
61 -o smtpd_tls_auth_only=yes
62 -o smtpd_tls_ccert_verifydepth=0
63 -o smtpd_tls_loglevel=1
64 -o smtpd_tls_req_ccert=no
65 -o smtpd_tls_security_level=encrypt
66 -o smtpd_tls_wrappermode=yes
67 #628 inet n - - - - qmqpd
68 pickup fifo n - - 60 1 pickup
69 -o cleanup_service_name=no-amavis-cleanup
70 #-o cleanup_service_name=pre-amavis-cleanup
71 #-o content_filter=amavis:[127.0.0.1]:10024
72 no-amavis-cleanup unix n - - - 0 cleanup
73 pre-amavis-cleanup unix n - - - 0 cleanup
74 -o virtual_alias_maps=
75 post-amavis-cleanup unix n - - - 0 cleanup
76 -o mime_header_checks=
77 -o nested_header_checks=
78 -o body_checks=
79 -o header_checks=
80 qmgr fifo n - n 300 1 qmgr
81 #qmgr fifo n - - 300 1 oqmgr
82 tlsmgr unix - - - 1000? 1 tlsmgr
83 rewrite unix - - - - - trivial-rewrite
84 bounce unix - - - - 0 bounce
85 -o cleanup_service_name=no-amavis-cleanup
86 defer unix - - - - 0 bounce
87 -o cleanup_service_name=no-amavis-cleanup
88 trace unix - - - - 0 bounce
89 -o cleanup_service_name=no-amavis-cleanup
90 verify unix - - - - 1 verify
91 -o cleanup_service_name=no-amavis-cleanup
92 flush unix n - - 1000? 0 flush
93 proxymap unix - - n - - proxymap
94 proxywrite unix - - n - 1 proxymap
95 smtp unix - - - - - smtp
96 # NOTE: when relaying mail as backup MX, disable fallback_relay to avoid MX loops
97 relay unix - - - - - smtp
98 -o smtp_fallback_relay=
99 # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
100 showq unix n - - - - showq
101 error unix - - - - - error
102 retry unix - - - - - error
103 discard unix - - - - - discard
104 local unix - n n - - local
105 -o cleanup_service_name=no-amavis-cleanup
106 virtual unix - n n - - virtual
107 lmtp unix - - - - - lmtp
108 anvil unix - - - - 1 anvil
109 scache unix - - - - 1 scache
110 #
111 # ====================================================================
112 # Interfaces to non-Postfix software. Be sure to examine the manual
113 # pages of the non-Postfix software to find out what options it wants.
114 #
115 # Many of the following services use the Postfix pipe(8) delivery
116 # agent. See the pipe(8) man page for information about ${recipient}
117 # and other message envelope options.
118 # ====================================================================
119 #
120 # maildrop. See the Postfix MAILDROP_README file for details.
121 # Also specify in main.cf: maildrop_destination_recipient_limit=1
122 #
123 maildrop unix - n n - - pipe
124 flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
125 #
126 # See the Postfix UUCP_README file for configuration details.
127 #
128 uucp unix - n n - - pipe
129 flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
130 #
131 # Other external delivery methods.
132 #
133 ifmail unix - n n - - pipe
134 flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
135 bsmtp unix - n n - - pipe
136 flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
137 scalemail-backend unix - n n - 2 pipe
138 flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
139 mailman unix - n n - - pipe
140 flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
141 ${nexthop} ${user}
142 spfcheck unix - n n - 0 spawn
143 user=policyd-spf argv=/usr/sbin/postfix-policyd-spf-perl
144 noclue unix - n n - - pipe
145 flags=q user=noclue argv=/usr/local/bin/noclue-delivery ${recipient} ${sender}
146 #-- SYMPA begin
147 #sympa unix - n n - - pipe
148 # flags=R user=sympa argv=/usr/lib/sympa/bin/queue ${recipient}
149 #sympabounce unix - n n - - pipe
150 # flags=R user=sympa argv=/usr/lib/sympa/bin/bouncequeue ${recipient}
151 #-- SYMPA end