/[adm]/puppet/modules/postfix/templates/primary_master.cf
ViewVC logotype

Annotation of /puppet/modules/postfix/templates/primary_master.cf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 272 - (hide annotations) (download)
Thu Nov 18 00:21:40 2010 UTC (9 years, 8 months ago) by boklm
File size: 6701 byte(s)
add master.cf
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     #
120     ##### START OF CONTENT FILTER CUSTOMIZATIONS #####
121     # Please see the Postfix FILTER_README for details.
122     # These sample entries expect your content filter to
123     # listen on port 10025 and to inject mail back into
124     # postfix on port 10026.
125     #
126     # to enable such content filter run the command
127     # postconf -e content_filter=smtp-filter:127.0.0.1:10025
128     # postconf -e smtp-filter_destination_concurrency_limit=2
129     # or
130     # postconf -e content_filter=lmtp-filter:127.0.0.1:10025
131     # postconf -e lmtp-filter_destination_concurrency_limit=2
132     # and the command
133     # postconf -e receive_override_options=no_address_mappings
134     #
135     # adjust the value of ?mtp-filter_destination_concurrency_limit
136     # to match the maximum number of process your content filter
137     # will spawn.
138     #
139     127.0.0.1:10026 inet n - y - - smtpd
140     -o content_filter=
141     -o smtpd_restriction_classes=
142     -o smtpd_client_restrictions=permit_mynetworks,reject
143     -o smtpd_helo_restrictions=
144     -o smtpd_sender_restrictions=
145     -o smtpd_end_of_data_restrictions=
146     -o smtpd_etrn_restrictions=
147     -o smtpd_data_restrictions=
148     -o smtpd_delay_reject=no
149     -o smtpd_recipient_restrictions=permit_mynetworks,reject
150     -o mynetworks=127.0.0.0/8
151     -o smtpd_authorized_xforward_hosts=127.0.0.0/8
152     -o strict_rfc821_envelopes=yes
153     -o smtpd_error_sleep_time=0
154     -o smtpd_soft_error_limit=1001
155     -o smtpd_hard_error_limit=1000
156     -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
157     #
158     lmtp-filter unix - - y - - lmtp
159     -o lmtp_data_done_timeout=1200
160     -o lmtp_send_xforward_command=yes
161     -o lmtp_cache_connection=no
162     -o max_use=20
163     #
164     smtp-filter unix - - y - - smtp
165     -o smtp_data_done_timeout=1200
166     -o smtp_send_xforward_command=yes
167     -o max_use=20
168     #
169     ##### END OF CONTENT FILTER CUSTOMIZATIONS #####
170    

  ViewVC Help
Powered by ViewVC 1.1.28