Subversion Repositories configs

Rev

Rev 193 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 1
#
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" or
4
# on-line: http://www.postfix.org/master.5.html).
5
#
6
# Do not forget to execute "postfix reload" after editing this file.
7
#
8
# ==========================================================================
9
# service type  private unpriv  chroot  wakeup  maxproc command + args
10
#               (yes)   (yes)   (no)    (never) (100)
11
# ==========================================================================
12
smtp      inet  n       -       n       -       -       smtpd
13
#smtp      inet  n       -       n       -       1       postscreen
14
#smtpd     pass  -       -       n       -       -       smtpd
15
#dnsblog   unix  -       -       n       -       0       dnsblog
16
#tlsproxy  unix  -       -       n       -       0       tlsproxy
17
#submission inet n       -       n       -       -       smtpd
18
#  -o syslog_name=postfix/submission
19
#  -o smtpd_tls_security_level=encrypt
20
#  -o smtpd_sasl_auth_enable=yes
21
#  -o smtpd_tls_auth_only=yes
22
#  -o smtpd_reject_unlisted_recipient=no
23
#  -o smtpd_client_restrictions=$mua_client_restrictions
24
#  -o smtpd_helo_restrictions=$mua_helo_restrictions
25
#  -o smtpd_sender_restrictions=$mua_sender_restrictions
26
#  -o smtpd_recipient_restrictions=
27
#  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
28
#  -o milter_macro_daemon_name=ORIGINATING
29
submission     inet     n    -    y    -    -    smtpd
30
 -o syslog_name=postfix/submission
31
 -o smtpd_tls_security_level=encrypt
32
 -o smtpd_tls_wrappermode=no
33
 -o smtpd_sasl_auth_enable=yes
34
 -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
35
 -o smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
36
 -o smtpd_sasl_type=dovecot
37
 -o smtpd_sasl_path=private/auth
38
 -o content_filter=smtp-amavis:[127.0.0.1]:10022
39
#smtps     inet  n       -       n       -       -       smtpd
40
#  -o syslog_name=postfix/smtps
41
#  -o smtpd_tls_wrappermode=yes
42
#  -o smtpd_sasl_auth_enable=yes
43
#  -o smtpd_reject_unlisted_recipient=no
44
#  -o smtpd_client_restrictions=$mua_client_restrictions
45
#  -o smtpd_helo_restrictions=$mua_helo_restrictions
46
#  -o smtpd_sender_restrictions=$mua_sender_restrictions
47
#  -o smtpd_recipient_restrictions=
48
#  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
49
#  -o milter_macro_daemon_name=ORIGINATING
50
smtps     inet  n       -       y       -       -       smtpd
51
  -o syslog_name=postfix/smtps
52
  -o smtpd_tls_wrappermode=yes
53
  -o smtpd_sasl_auth_enable=yes
54
  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
55
  -o smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
56
  -o smtpd_sasl_type=dovecot
57
  -o smtpd_sasl_path=private/auth
58
  -o content_filter=smtp-amavis:[127.0.0.1]:10022
59
#628       inet  n       -       n       -       -       qmqpd
60
pickup    unix  n       -       n       60      1       pickup
61
cleanup   unix  n       -       n       -       0       cleanup
193 - 62
  -o header_checks=pcre:/etc/postfix/header_checks
192 - 63
qmgr      unix  n       -       n       300     1       qmgr
64
#qmgr     unix  n       -       n       300     1       oqmgr
65
tlsmgr    unix  -       -       n       1000?   1       tlsmgr
66
rewrite   unix  -       -       n       -       -       trivial-rewrite
67
bounce    unix  -       -       n       -       0       bounce
68
defer     unix  -       -       n       -       0       bounce
69
trace     unix  -       -       n       -       0       bounce
70
verify    unix  -       -       n       -       1       verify
71
flush     unix  n       -       n       1000?   0       flush
72
proxymap  unix  -       -       n       -       -       proxymap
73
proxywrite unix -       -       n       -       1       proxymap
74
smtp      unix  -       -       n       -       -       smtp
75
relay     unix  -       -       n       -       -       smtp
76
        -o syslog_name=postfix/$service_name
77
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
78
showq     unix  n       -       n       -       -       showq
79
error     unix  -       -       n       -       -       error
80
retry     unix  -       -       n       -       -       error
81
discard   unix  -       -       n       -       -       discard
82
local     unix  -       n       n       -       -       local
83
virtual   unix  -       n       n       -       -       virtual
84
lmtp      unix  -       -       n       -       -       lmtp
85
anvil     unix  -       -       n       -       1       anvil
86
scache    unix  -       -       n       -       1       scache
87
#
88
# ====================================================================
89
# Interfaces to non-Postfix software. Be sure to examine the manual
90
# pages of the non-Postfix software to find out what options it wants.
91
#
92
# Many of the following services use the Postfix pipe(8) delivery
93
# agent.  See the pipe(8) man page for information about ${recipient}
94
# and other message envelope options.
95
# ====================================================================
96
#
97
# maildrop. See the Postfix MAILDROP_README file for details.
98
# Also specify in main.cf: maildrop_destination_recipient_limit=1
99
#
100
#maildrop  unix  -       n       n       -       -       pipe
197 - 101
#  flags=DRXhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
192 - 102
#
103
# ====================================================================
104
#
105
# Recent Cyrus versions can use the existing "lmtp" master.cf entry.
106
#
107
# Specify in cyrus.conf:
108
#   lmtp    cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
109
#
110
# Specify in main.cf one or more of the following:
111
#  mailbox_transport = lmtp:inet:localhost
112
#  virtual_transport = lmtp:inet:localhost
113
#
114
# ====================================================================
115
#
116
# Cyrus 2.1.5 (Amos Gouaux)
117
# Also specify in main.cf: cyrus_destination_recipient_limit=1
118
#
119
#cyrus     unix  -       n       n       -       -       pipe
197 - 120
#  flags=DRX user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
192 - 121
#
122
# ====================================================================
123
#
124
# Old example of delivery via Cyrus.
125
#
126
#old-cyrus unix  -       n       n       -       -       pipe
127
#  flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
128
#
129
# ====================================================================
130
#
131
# See the Postfix UUCP_README file for configuration details.
132
#
133
#uucp      unix  -       n       n       -       -       pipe
134
#  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
135
#
136
# ====================================================================
137
#
138
# Other external delivery methods.
139
#
140
#ifmail    unix  -       n       n       -       -       pipe
141
#  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
142
#
143
#bsmtp     unix  -       n       n       -       -       pipe
144
#  flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
145
#
146
#scalemail-backend unix -       n       n       -       2       pipe
147
#  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
148
#  ${nexthop} ${user} ${extension}
149
#
150
#mailman   unix  -       n       n       -       -       pipe
197 - 151
#  flags=FRX user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
192 - 152
#  ${nexthop} ${user}
153
smtp-amavis   unix   -   -   n   -   4   smtp
154
    -o syslog_name=postfix/amavis
155
    -o smtp_data_done_timeout=1200
156
    -o smtp_send_xforward_command=yes
157
    -o disable_dns_lookups=yes
158
    -o max_use=20
159
    -o smtp_tls_wrappermode=no
160
    -o smtp_tls_security_level=none
161
127.0.0.1:10025   inet   n    -     n     -     -    smtpd
162
    -o syslog_name=postfix/10025
163
    -o content_filter=
164
    -o mynetworks_style=host
165
    -o mynetworks=127.0.0.0/8
166
    -o local_recipient_maps=
167
    -o relay_recipient_maps=
168
    -o strict_rfc821_envelopes=yes
169
    -o smtp_tls_wrappermode=no
170
    -o smtp_tls_security_level=none
171
    -o smtpd_tls_security_level=none
172
    -o smtpd_restriction_classes=
173
    -o smtpd_delay_reject=no
174
    -o smtpd_client_restrictions=permit_mynetworks,reject
175
    -o smtpd_helo_restrictions=
176
    -o smtpd_sender_restrictions=
177
    -o smtpd_recipient_restrictions=permit_mynetworks,reject
178
    -o smtpd_end_of_data_restrictions=
179
    -o smtpd_error_sleep_time=0
180
    -o smtpd_soft_error_limit=1001
181
    -o smtpd_hard_error_limit=1000
182
    -o smtpd_client_connection_count_limit=0
183
    -o smtpd_client_connection_rate_limit=0
184
    -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings
197 - 185
postlog   unix-dgram n  -       n       -       1       postlogd