summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-November/000594.html
blob: b18b75141d53bb20d087958a98f0bde54b00bb6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] [272] add master.cf
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B272%5D%20add%20master.cf&In-Reply-To=%3C20101118002140.A07773FC09%40valstar.mageia.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="000593.html">
   <LINK REL="Next"  HREF="000596.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] [272] add master.cf</H1>
    <B>root at mageia.org</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B272%5D%20add%20master.cf&In-Reply-To=%3C20101118002140.A07773FC09%40valstar.mageia.org%3E"
       TITLE="[Mageia-sysadm] [272] add master.cf">root at mageia.org
       </A><BR>
    <I>Thu Nov 18 01:21:40 CET 2010</I>
    <P><UL>
        <LI>Previous message: <A HREF="000593.html">[Mageia-sysadm] [271] domain for mailing lists is ml.mageia.org
</A></li>
        <LI>Next message: <A HREF="000596.html">[Mageia-sysadm] [273] add config for sympa
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#594">[ date ]</a>
              <a href="thread.html#594">[ thread ]</a>
              <a href="subject.html#594">[ subject ]</a>
              <a href="author.html#594">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Revision: 272
Author:   boklm
Date:     2010-11-18 01:21:40 +0100 (Thu, 18 Nov 2010)
Log Message:
-----------
add master.cf

Modified Paths:
--------------
    puppet/modules/postfix/manifests/init.pp

Added Paths:
-----------
    puppet/modules/postfix/templates/primary_master.cf

Modified: puppet/modules/postfix/manifests/init.pp
===================================================================
--- puppet/modules/postfix/manifests/init.pp	2010-11-17 23:50:46 UTC (rev 271)
+++ puppet/modules/postfix/manifests/init.pp	2010-11-18 00:21:40 UTC (rev 272)
@@ -35,6 +35,10 @@
         file { '/etc/postfix/main.cf':
             content =&gt; template(&quot;postfix/primary_main.cf&quot;),
         }
+
+        file { '/etc/postfix/master.cf':
+            content =&gt; template(&quot;postfix/primary_master.cf&quot;),
+        }
     }
 
     class secondary_smtp inherits base {

Added: puppet/modules/postfix/templates/primary_master.cf
===================================================================
--- puppet/modules/postfix/templates/primary_master.cf	                        (rev 0)
+++ puppet/modules/postfix/templates/primary_master.cf	2010-11-18 00:21:40 UTC (rev 272)
@@ -0,0 +1,170 @@
+#
+# Postfix master process configuration file.  For details on the format
+# of the file, see the master(5) manual page (command: &quot;man 5 master&quot;).
+#
+# Do not forget to execute &quot;postfix reload&quot; after editing this file.
+#
+# The script postfix-chroot.sh can be used to set up a Postfix chroot
+# environment on your Mandrivalinux System.
+#
+# ==========================================================================
+# service type  private unpriv  chroot  wakeup  maxproc command + args
+#               (yes)   (yes)   (yes)   (never) (100)
+# ==========================================================================
+smtp	inet	n	-	y	-	-	smtpd
+#submission inet n       -       n       -       -       smtpd
+#  -o smtpd_tls_security_level=encrypt
+#  -o smtpd_sasl_auth_enable=yes
+#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
+#  -o milter_macro_daemon_name=ORIGINATING
+#smtps     inet  n       -       n       -       -       smtpd
+#  -o smtpd_tls_wrappermode=yes
+#  -o smtpd_sasl_auth_enable=yes
+#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
+#  -o milter_macro_daemon_name=ORIGINATING
+#628       inet  n       -       n       -       -       qmqpd
+pickup	fifo	n	-	y	60	1	pickup
+  -o content_filter=
+  -o receive_override_options=
+cleanup	unix	n	-	y	-	0	cleanup
+qmgr	fifo	n	-	y	300	1	qmgr
+#qmgr     fifo  n       -       n       300     1       oqmgr
+tlsmgr	unix	-	-	y	1000?	1	tlsmgr
+rewrite	unix	-	-	y	-	-	trivial-rewrite
+bounce	unix	-	-	y	-	0	bounce
+defer	unix	-	-	y	-	0	bounce
+trace	unix	-	-	y	-	0	bounce
+verify	unix	-	-	y	-	1	verify
+flush	unix	n	-	y	1000?	0	flush
+proxymap  unix  -       -       n       -       -       proxymap
+proxywrite unix -       -       n       -       1       proxymap
+smtp	unix	-	-	y	-	-	smtp
+# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
+relay	unix	-	-	y	-	-	smtp
+	-o smtp_fallback_relay=
+#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
+showq	unix	n	-	y	-	-	showq
+error	unix	-	-	y	-	-	error
+retry	unix	-	-	y	-	-	error
+discard	unix	-	-	y	-	-	discard
+local     unix  -       n       n       -       -       local
+virtual   unix  -       n       n       -       -       virtual
+lmtp	unix	-	-	y	-	-	lmtp
+anvil	unix	-	-	y	-	1	anvil
+scache	unix	-	-	y	-	1	scache
+#
+# ====================================================================
+# Interfaces to non-Postfix software. Be sure to examine the manual
+# pages of the non-Postfix software to find out what options it wants.
+#
+# Many of the following services use the Postfix pipe(8) delivery
+# agent.  See the pipe(8) man page for information about ${recipient}
+# and other message envelope options.
+# ====================================================================
+#
+# maildrop. See the Postfix MAILDROP_README file for details.
+# Also specify in main.cf: maildrop_destination_recipient_limit=1
+#
+#maildrop  unix  -       n       n       -       -       pipe
+#  flags=DRhu user=nobody argv=/usr/bin/maildrop -d ${recipient}
+#
+# ====================================================================
+#
+# Please See the Postfix CYRUS_README file for details
+# deliver interface (deprecated), to use this also use
+# postconf -e cyrus-deliver_destination_recipient_limit=1
+cyrus-deliver     unix  -       n       n       -       -       pipe
+  user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
+#
+# for default cyrus socket placement
+cyrus     unix  -       n       n       -       -       lmtp
+  -o lmtp_cache_connection=yes
+#
+# if you configure cyrus socket in the chroot jail
+cyrus-chroot     unix  -       -       y       -       -       lmtp
+  -o lmtp_cache_connection=yes
+#
+# for lmtp to cyrus via tcp
+cyrus-inet	unix	-	-	y	-	-	lmtp
+  -o lmtp_cache_connection=yes
+  -o lmtp_sasl_auth_enable=yes
+  -o lmtp_sasl_password_maps=hash:/etc/postfix/cyrus_lmtp_sasl_pass
+  -o lmtp_sasl_security_options=noanonymous
+#
+# ====================================================================
+#
+# See the Postfix UUCP_README file for configuration details.
+#
+#uucp      unix  -       n       n       -       -       pipe
+#  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
+#
+# ====================================================================
+#
+# Other external delivery methods.
+# These are not distributed with Mandrivalinux
+#
+#ifmail    unix  -       n       n       -       -       pipe
+#  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
+#
+#bsmtp     unix  -       n       n       -       -       pipe
+#  flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
+#
+#scalemail-backend unix -       n       n       -       2       pipe
+#  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
+#  ${nexthop} ${user} ${extension}
+#
+#mailman   unix  -       n       n       -       -       pipe
+#  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
+#  ${nexthop} ${user}
+#
+##### START OF CONTENT FILTER CUSTOMIZATIONS #####
+# Please see the Postfix FILTER_README for details.
+# These sample entries expect your content filter to
+# listen on port 10025 and to inject mail back into
+# postfix on port 10026.
+#
+# to enable such content filter run the command
+#    postconf -e content_filter=smtp-filter:127.0.0.1:10025
+#    postconf -e smtp-filter_destination_concurrency_limit=2
+# or
+#    postconf -e content_filter=lmtp-filter:127.0.0.1:10025
+#    postconf -e lmtp-filter_destination_concurrency_limit=2
+# and the command
+#    postconf -e receive_override_options=no_address_mappings
+#
+# adjust the value of ?mtp-filter_destination_concurrency_limit
+# to match the maximum number of process your content filter
+# will spawn.
+#
+127.0.0.1:10026	inet	n	-	y	-	-	smtpd
+  -o content_filter=
+  -o smtpd_restriction_classes=
+  -o smtpd_client_restrictions=permit_mynetworks,reject
+  -o smtpd_helo_restrictions=
+  -o smtpd_sender_restrictions=
+  -o smtpd_end_of_data_restrictions=
+  -o smtpd_etrn_restrictions=
+  -o smtpd_data_restrictions=
+  -o smtpd_delay_reject=no
+  -o smtpd_recipient_restrictions=permit_mynetworks,reject
+  -o mynetworks=127.0.0.0/8
+  -o smtpd_authorized_xforward_hosts=127.0.0.0/8
+  -o strict_rfc821_envelopes=yes
+  -o smtpd_error_sleep_time=0
+  -o smtpd_soft_error_limit=1001
+  -o smtpd_hard_error_limit=1000
+  -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
+#
+lmtp-filter	unix	-	-	y	-	-	lmtp
+  -o lmtp_data_done_timeout=1200
+  -o lmtp_send_xforward_command=yes
+  -o lmtp_cache_connection=no
+  -o max_use=20
+#
+smtp-filter	unix	-	-	y	-	-	smtp
+  -o smtp_data_done_timeout=1200
+  -o smtp_send_xforward_command=yes
+  -o max_use=20
+#
+##### END OF CONTENT FILTER CUSTOMIZATIONS #####
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;/pipermail/mageia-sysadm/attachments/20101118/00f50fe3/attachment-0001.html&gt;
</PRE>











<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000593.html">[Mageia-sysadm] [271] domain for mailing lists is ml.mageia.org
</A></li>
	<LI>Next message: <A HREF="000596.html">[Mageia-sysadm] [273] add config for sympa
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#594">[ date ]</a>
              <a href="thread.html#594">[ thread ]</a>
              <a href="subject.html#594">[ subject ]</a>
              <a href="author.html#594">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
mailing list</a><br>
</body></html>