Ajout : dovecot-antispam + amavis + crm114.
[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 pre-cleanup unix n - - - 0 cleanup
66 -o virtual_alias_maps=
67 cleanup unix n - - - 0 cleanup
68 -o mime_header_checks=
69 -o nested_header_checks=
70 -o body_checks=
71 -o header_checks=
72 qmgr fifo n - n 300 1 qmgr
73 #qmgr fifo n - - 300 1 oqmgr
74 tlsmgr unix - - - 1000? 1 tlsmgr
75 rewrite unix - - - - - trivial-rewrite
76 bounce unix - - - - 0 bounce
77 defer unix - - - - 0 bounce
78 trace unix - - - - 0 bounce
79 verify unix - - - - 1 verify
80 flush unix n - - 1000? 0 flush
81 proxymap unix - - n - - proxymap
82 proxywrite unix - - n - 1 proxymap
83 smtp unix - - - - - smtp
84 # NOTE: when relaying mail as backup MX, disable fallback_relay to avoid MX loops
85 relay unix - - - - - smtp
86 -o smtp_fallback_relay=
87 # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
88 showq unix n - - - - showq
89 error unix - - - - - error
90 retry unix - - - - - error
91 discard unix - - - - - discard
92 local unix - n n - - local
93 virtual unix - n n - - virtual
94 lmtp unix - - - - - lmtp
95 anvil unix - - - - 1 anvil
96 scache unix - - - - 1 scache
97 #
98 # ====================================================================
99 # Interfaces to non-Postfix software. Be sure to examine the manual
100 # pages of the non-Postfix software to find out what options it wants.
101 #
102 # Many of the following services use the Postfix pipe(8) delivery
103 # agent. See the pipe(8) man page for information about ${recipient}
104 # and other message envelope options.
105 # ====================================================================
106 #
107 # maildrop. See the Postfix MAILDROP_README file for details.
108 # Also specify in main.cf: maildrop_destination_recipient_limit=1
109 #
110 maildrop unix - n n - - pipe
111 flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
112 #
113 # See the Postfix UUCP_README file for configuration details.
114 #
115 uucp unix - n n - - pipe
116 flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
117 #
118 # Other external delivery methods.
119 #
120 ifmail unix - n n - - pipe
121 flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
122 bsmtp unix - n n - - pipe
123 flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
124 scalemail-backend unix - n n - 2 pipe
125 flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
126 mailman unix - n n - - pipe
127 flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
128 ${nexthop} ${user}
129 spfcheck unix - n n - 0 spawn
130 user=policyd-spf argv=/usr/sbin/postfix-policyd-spf-perl
131 noclue unix - n n - - pipe
132 flags=q user=noclue argv=/usr/local/bin/noclue-delivery ${recipient} ${sender}
133 #-- SYMPA begin
134 #sympa unix - n n - - pipe
135 # flags=R user=sympa argv=/usr/lib/sympa/bin/queue ${recipient}
136 #sympabounce unix - n n - - pipe
137 # flags=R user=sympa argv=/usr/lib/sympa/bin/bouncequeue ${recipient}
138 #-- SYMPA end