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