1 |
boklm |
272 |
# |
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 |
|
|
# Do not forget to execute "postfix reload" after editing this file. |
6 |
|
|
# |
7 |
|
|
# The script postfix-chroot.sh can be used to set up a Postfix chroot |
8 |
|
|
# environment on your Mandrivalinux System. |
9 |
|
|
# |
10 |
|
|
# ========================================================================== |
11 |
|
|
# service type private unpriv chroot wakeup maxproc command + args |
12 |
|
|
# (yes) (yes) (yes) (never) (100) |
13 |
|
|
# ========================================================================== |
14 |
|
|
smtp inet n - y - - smtpd |
15 |
|
|
#submission inet n - n - - smtpd |
16 |
|
|
# -o smtpd_tls_security_level=encrypt |
17 |
|
|
# -o smtpd_sasl_auth_enable=yes |
18 |
|
|
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject |
19 |
|
|
# -o milter_macro_daemon_name=ORIGINATING |
20 |
|
|
#smtps inet n - n - - smtpd |
21 |
|
|
# -o smtpd_tls_wrappermode=yes |
22 |
|
|
# -o smtpd_sasl_auth_enable=yes |
23 |
|
|
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject |
24 |
|
|
# -o milter_macro_daemon_name=ORIGINATING |
25 |
|
|
#628 inet n - n - - qmqpd |
26 |
|
|
pickup fifo n - y 60 1 pickup |
27 |
|
|
-o content_filter= |
28 |
|
|
-o receive_override_options= |
29 |
|
|
cleanup unix n - y - 0 cleanup |
30 |
|
|
qmgr fifo n - y 300 1 qmgr |
31 |
|
|
#qmgr fifo n - n 300 1 oqmgr |
32 |
|
|
tlsmgr unix - - y 1000? 1 tlsmgr |
33 |
|
|
rewrite unix - - y - - trivial-rewrite |
34 |
|
|
bounce unix - - y - 0 bounce |
35 |
|
|
defer unix - - y - 0 bounce |
36 |
|
|
trace unix - - y - 0 bounce |
37 |
|
|
verify unix - - y - 1 verify |
38 |
|
|
flush unix n - y 1000? 0 flush |
39 |
|
|
proxymap unix - - n - - proxymap |
40 |
|
|
proxywrite unix - - n - 1 proxymap |
41 |
|
|
smtp unix - - y - - smtp |
42 |
|
|
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops |
43 |
|
|
relay unix - - y - - smtp |
44 |
|
|
-o smtp_fallback_relay= |
45 |
|
|
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 |
46 |
|
|
showq unix n - y - - showq |
47 |
|
|
error unix - - y - - error |
48 |
|
|
retry unix - - y - - error |
49 |
|
|
discard unix - - y - - discard |
50 |
|
|
local unix - n n - - local |
51 |
|
|
virtual unix - n n - - virtual |
52 |
|
|
lmtp unix - - y - - lmtp |
53 |
|
|
anvil unix - - y - 1 anvil |
54 |
|
|
scache unix - - y - 1 scache |
55 |
|
|
# |
56 |
|
|
# ==================================================================== |
57 |
|
|
# Interfaces to non-Postfix software. Be sure to examine the manual |
58 |
|
|
# pages of the non-Postfix software to find out what options it wants. |
59 |
|
|
# |
60 |
|
|
# Many of the following services use the Postfix pipe(8) delivery |
61 |
|
|
# agent. See the pipe(8) man page for information about ${recipient} |
62 |
|
|
# and other message envelope options. |
63 |
|
|
# ==================================================================== |
64 |
|
|
# |
65 |
|
|
# maildrop. See the Postfix MAILDROP_README file for details. |
66 |
|
|
# Also specify in main.cf: maildrop_destination_recipient_limit=1 |
67 |
|
|
# |
68 |
|
|
#maildrop unix - n n - - pipe |
69 |
|
|
# flags=DRhu user=nobody argv=/usr/bin/maildrop -d ${recipient} |
70 |
|
|
# |
71 |
|
|
# ==================================================================== |
72 |
|
|
# |
73 |
|
|
# Please See the Postfix CYRUS_README file for details |
74 |
|
|
# deliver interface (deprecated), to use this also use |
75 |
|
|
# postconf -e cyrus-deliver_destination_recipient_limit=1 |
76 |
|
|
cyrus-deliver unix - n n - - pipe |
77 |
|
|
user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user} |
78 |
|
|
# |
79 |
|
|
# for default cyrus socket placement |
80 |
|
|
cyrus unix - n n - - lmtp |
81 |
|
|
-o lmtp_cache_connection=yes |
82 |
|
|
# |
83 |
|
|
# if you configure cyrus socket in the chroot jail |
84 |
|
|
cyrus-chroot unix - - y - - lmtp |
85 |
|
|
-o lmtp_cache_connection=yes |
86 |
|
|
# |
87 |
|
|
# for lmtp to cyrus via tcp |
88 |
|
|
cyrus-inet unix - - y - - lmtp |
89 |
|
|
-o lmtp_cache_connection=yes |
90 |
|
|
-o lmtp_sasl_auth_enable=yes |
91 |
|
|
-o lmtp_sasl_password_maps=hash:/etc/postfix/cyrus_lmtp_sasl_pass |
92 |
|
|
-o lmtp_sasl_security_options=noanonymous |
93 |
|
|
# |
94 |
|
|
# ==================================================================== |
95 |
|
|
# |
96 |
|
|
# See the Postfix UUCP_README file for configuration details. |
97 |
|
|
# |
98 |
|
|
#uucp unix - n n - - pipe |
99 |
|
|
# flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) |
100 |
|
|
# |
101 |
|
|
# ==================================================================== |
102 |
|
|
# |
103 |
|
|
# Other external delivery methods. |
104 |
|
|
# These are not distributed with Mandrivalinux |
105 |
|
|
# |
106 |
|
|
#ifmail unix - n n - - pipe |
107 |
|
|
# flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) |
108 |
|
|
# |
109 |
|
|
#bsmtp unix - n n - - pipe |
110 |
|
|
# flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient |
111 |
|
|
# |
112 |
|
|
#scalemail-backend unix - n n - 2 pipe |
113 |
|
|
# flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store |
114 |
|
|
# ${nexthop} ${user} ${extension} |
115 |
|
|
# |
116 |
|
|
#mailman unix - n n - - pipe |
117 |
|
|
# flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py |
118 |
|
|
# ${nexthop} ${user} |
119 |
misc |
286 |
<% if classes.include?('sympa') %> |
120 |
boklm |
273 |
sympa unix - n n - - pipe |
121 |
|
|
flags=R user=sympa argv=/usr/sbin/queue ${recipient} |
122 |
|
|
sympabounce unix - n n - - pipe |
123 |
|
|
flags=R user=sympa argv=/usr/sbin/bouncequeue ${user} |
124 |
misc |
286 |
<% end %> |
125 |
boklm |
273 |
|
126 |
boklm |
272 |
# |
127 |
|
|
##### START OF CONTENT FILTER CUSTOMIZATIONS ##### |
128 |
|
|
# Please see the Postfix FILTER_README for details. |
129 |
|
|
# These sample entries expect your content filter to |
130 |
|
|
# listen on port 10025 and to inject mail back into |
131 |
|
|
# postfix on port 10026. |
132 |
|
|
# |
133 |
|
|
# to enable such content filter run the command |
134 |
|
|
# postconf -e content_filter=smtp-filter:127.0.0.1:10025 |
135 |
|
|
# postconf -e smtp-filter_destination_concurrency_limit=2 |
136 |
|
|
# or |
137 |
|
|
# postconf -e content_filter=lmtp-filter:127.0.0.1:10025 |
138 |
|
|
# postconf -e lmtp-filter_destination_concurrency_limit=2 |
139 |
|
|
# and the command |
140 |
|
|
# postconf -e receive_override_options=no_address_mappings |
141 |
|
|
# |
142 |
|
|
# adjust the value of ?mtp-filter_destination_concurrency_limit |
143 |
|
|
# to match the maximum number of process your content filter |
144 |
|
|
# will spawn. |
145 |
|
|
# |
146 |
|
|
127.0.0.1:10026 inet n - y - - smtpd |
147 |
|
|
-o content_filter= |
148 |
|
|
-o smtpd_restriction_classes= |
149 |
|
|
-o smtpd_client_restrictions=permit_mynetworks,reject |
150 |
|
|
-o smtpd_helo_restrictions= |
151 |
|
|
-o smtpd_sender_restrictions= |
152 |
|
|
-o smtpd_end_of_data_restrictions= |
153 |
|
|
-o smtpd_etrn_restrictions= |
154 |
|
|
-o smtpd_data_restrictions= |
155 |
|
|
-o smtpd_delay_reject=no |
156 |
|
|
-o smtpd_recipient_restrictions=permit_mynetworks,reject |
157 |
|
|
-o mynetworks=127.0.0.0/8 |
158 |
|
|
-o smtpd_authorized_xforward_hosts=127.0.0.0/8 |
159 |
|
|
-o strict_rfc821_envelopes=yes |
160 |
|
|
-o smtpd_error_sleep_time=0 |
161 |
|
|
-o smtpd_soft_error_limit=1001 |
162 |
|
|
-o smtpd_hard_error_limit=1000 |
163 |
|
|
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks |
164 |
|
|
# |
165 |
|
|
lmtp-filter unix - - y - - lmtp |
166 |
|
|
-o lmtp_data_done_timeout=1200 |
167 |
|
|
-o lmtp_send_xforward_command=yes |
168 |
|
|
-o lmtp_cache_connection=no |
169 |
|
|
-o max_use=20 |
170 |
|
|
# |
171 |
|
|
smtp-filter unix - - y - - smtp |
172 |
|
|
-o smtp_data_done_timeout=1200 |
173 |
|
|
-o smtp_send_xforward_command=yes |
174 |
|
|
-o max_use=20 |
175 |
|
|
# |
176 |
|
|
##### END OF CONTENT FILTER CUSTOMIZATIONS ##### |
177 |
|
|
|