summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-November/000478.html
blob: 2eb1f83b7eccc2c822493cc029cada2e42c2e6e0 (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
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] [234] First commit for sympa module
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B234%5D%20First%20commit%20for%20sympa%20module&In-Reply-To=%3C20101110143431.ECF573F908%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="000476.html">
   <LINK REL="Next"  HREF="000480.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] [234] First commit for sympa module</H1>
    <B>root at mageia.org</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B234%5D%20First%20commit%20for%20sympa%20module&In-Reply-To=%3C20101110143431.ECF573F908%40valstar.mageia.org%3E"
       TITLE="[Mageia-sysadm] [234] First commit for sympa module">root at mageia.org
       </A><BR>
    <I>Wed Nov 10 15:34:31 CET 2010</I>
    <P><UL>
        <LI>Previous message: <A HREF="000476.html">[Mageia-sysadm] Puppet Report for champagne.mageia.org
</A></li>
        <LI>Next message: <A HREF="000480.html">[Mageia-sysadm] [235] Add ldap template file
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#478">[ date ]</a>
              <a href="thread.html#478">[ thread ]</a>
              <a href="subject.html#478">[ subject ]</a>
              <a href="author.html#478">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Revision: 234
Author:   dmorgan
Date:     2010-11-10 15:34:31 +0100 (Wed, 10 Nov 2010)
Log Message:
-----------
First commit for sympa module

Added Paths:
-----------
    puppet/modules/sympa/
    puppet/modules/sympa/manifests/
    puppet/modules/sympa/manifests/init.pp
    puppet/modules/sympa/templates/
    puppet/modules/sympa/templates/sympa.conf

Added: puppet/modules/sympa/manifests/init.pp
===================================================================
--- puppet/modules/sympa/manifests/init.pp	                        (rev 0)
+++ puppet/modules/sympa/manifests/init.pp	2010-11-10 14:34:31 UTC (rev 234)
@@ -0,0 +1,20 @@
+class sympa {
+
+    $package_list = ['sympa', 'sympa-www']
+
+    package { $package_list:
+        ensure =&gt; installed;
+    }
+
+    $password = extlookup(&quot;sympa_password&quot;)
+
+    file { '/etc/sympa/sympa.conf':
+        ensure =&gt; present,
+        owner =&gt; root,
+        group =&gt; root,
+        mode =&gt; 644,
+        content =&gt; template(&quot;sympa/sympa.conf&quot;)
+    }
+
+}
+

Added: puppet/modules/sympa/templates/sympa.conf
===================================================================
--- puppet/modules/sympa/templates/sympa.conf	                        (rev 0)
+++ puppet/modules/sympa/templates/sympa.conf	2010-11-10 14:34:31 UTC (rev 234)
@@ -0,0 +1,291 @@
+###\\\\ Directories and file location ////###
+
+## Directory containing mailing lists subdirectories
+home    /var/lib/sympa
+
+## Directory for configuration files ; it also contains scenari/ and templates/ directories
+etc     /etc/sympa
+
+## File containing Sympa PID while running.
+## Sympa also locks this file to ensure that it is not running more than once. Caution : user sympa need to write access without special privilegee.
+pidfile /var/run/sympa/sympa.pid
+
+pidfile_distribute      /var/run/sympa/sympa-distribute.pid
+
+pidfile_creation        /var/run/sympa/sympa-creation.pid
+
+pidfile_bulk    /var/run/sympa/bulk.pid
+
+## Umask used for file creation by Sympa
+umask   027
+
+## Directory containing available NLS catalogues (Message internationalization)
+localedir       /usr/share/locale
+
+## The main spool containing various specialized spools
+## All spool are created at runtime by sympa.pl
+spool   /var/spool/sympa
+
+## Incoming spool
+queue   /var/spool/sympa/msg
+
+## Bounce incoming spool
+queuebounce     /var/spool/sympa/bounce
+
+## Automatic list creation spool
+queueautomatic  /var/spool/sympa/automatic
+
+## 
+queuedigest     /var/spool/sympa/digest
+
+## 
+queuemod        /var/spool/sympa/moderation
+
+## 
+queuetopic      /var/spool/sympa/topic
+
+## 
+queueauth       /var/spool/sympa/auth
+
+## 
+queueoutgoing   /var/spool/sympa/outgoing
+
+## 
+queuetask       /var/spool/sympa/task
+
+## 
+queuesubscribe  /var/spool/sympa/subscribe
+
+## URL to a virtual host.
+http_host       <A HREF="http://domain.tld">http://domain.tld</A>
+
+## The directory where Sympa stores static contents (CSS, members pictures, documentation) directly delivered by Apache
+static_content_path     /var/lib/sympa/static_content
+
+## The URL mapped with the static_content_path directory defined above
+static_content_url      /static-sympa
+
+###\\\\ Syslog ////###
+
+## The syslog facility for sympa
+## Do not forget to edit syslog.conf
+syslog  mail
+
+## Communication mode with syslogd is either unix (via Unix sockets) or inet (use of UDP)
+log_socket_type unix
+
+## Log intensity
+## 0 : normal, 2,3,4 for debug
+log_level       0
+
+log_smtp        off
+
+## Number of months that elapse before a log is expired.
+logs_expiration_period  3
+
+###\\\\ General definition ////###
+
+## Main robot hostname
+domain  mageia.org
+
+## Listmasters email list comma separated
+## Sympa will associate listmaster privileges to these email addresses (mail and web interfaces). Some error reports may also be sent to these addresses.
+listmaster      <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">listmaster at mageia.org</A>
+
+## Local part of sympa email adresse
+## Effective address will be \[EMAIL\]@\[HOST\]
+email   sympa
+
+## Who is able to create lists
+## This parameter is a scenario, check sympa documentation about scenarios if you want to define one
+create_list     public_listmaster
+
+edit_list       owner
+
+###\\\\ Tuning ////###
+
+## Use of binary version of the list config structure on disk: none | binary_file
+## Set this parameter to &quot;binary_file&quot; if you manage a big amount of lists (1000+) ; it should make the web interface startup faster
+cache_list_config       none
+
+## Sympa commands priority
+sympa_priority  1
+
+## Default priority for list messages
+default_list_priority   5
+
+## Default timeout between two scheduled synchronizations of list members with data sources.
+default_ttl     3600
+
+## Default timeout between two action-triggered synchronizations of list members with data sources.
+default_distribution_ttl        300
+
+## Default priority for a packet to be sent by bulk.
+sympa_packet_priority   5
+
+request_priority        0
+
+owner_priority  9
+
+## The minimum number of packets in database before the bulk forks to increase sending rate
+## 
+bulk_fork_threshold     1
+
+## The max number of bulks that will run on the same server.
+## 
+bulk_max_count  3
+
+## the number of seconds a slave bulk will remain running without processing a message before it spontaneously dies.
+## 
+bulk_lazytime   600
+
+## The number of seconds a master bulk waits between two packets number checks.
+## Keep it small if you expect brutal increases in the message sending load.
+bulk_wait_to_fork       10
+
+## the number of seconds a bulk sleeps between starting a new loop if it didn't find a message to send.
+## Keep it small if you want your server to be reactive.
+bulk_sleep      1
+
+## Secret used by Sympa to make MD5 fingerprint in web cookies secure
+## Should not be changed ! May invalid all user password
+#cookie 123456789
+
+## If set to &quot;on&quot;, enables support of legacy characters
+## 
+legacy_character_support_feature        off
+
+## The default maximum size (in bytes) for messages (can be re-defined for each list)
+max_size        5242880
+
+## comma separated list of operations for which blacklist filter is applied
+## Setting this parameter to &quot;none&quot; will hide the blacklist feature
+use_blacklist   send,create_list
+
+## Specify which rfc2369 mailing list headers to add
+rfc2369_header_fields   help,subscribe,unsubscribe,post,owner,archive
+
+## Specify header fields to be removed before message distribution
+remove_headers  X-Sympa-To,X-Family-To,Return-Receipt-To,Precedence,X-Sequence,Disposition-Notification-To
+
+bounce_warn_rate        30
+
+bounce_halt_rate        50
+
+###\\\\ Internationalization ////###
+
+## Default lang (ca | cs | de | el | es | et_EE | en_US | fr | fi | hu | it | ja_JP | ko | nl | nb_NO | oc | pl | pt_BR | ru | sv | tr | vi | zh_CN | zh_TW)
+## This is the default language used by Sympa
+lang    en_US
+
+## Supported languages
+## This is the set of language that will be proposed to your users for the Sympa GUI. Don't select a language if you don't have the proper locale packages installed.
+supported_lang  ca,cs,de,el,es,et_EE,en_US,fr,fi,hu,it,ja_JP,ko,nl,nb_NO,oc,pl,pt_BR,ru,sv,tr,vi,zh_CN,zh_TW
+
+###\\\\ Errors management ////###
+
+## Bouncing email rate for warn list owner
+#bounce_warn_rate       20
+
+## Bouncing email rate for halt the list (not implemented)
+## Not yet used in current version, Default is 50
+#bounce_halt_rate       50
+
+## Task name for expiration of old bounces
+#expire_bounce_task     daily
+
+## Welcome message return-path
+## If set to unique, new subcriber is removed if welcome message bounce
+#welcome_return_path    unique
+
+###\\\\ MTA related ////###
+
+## Path to the MTA (sendmail, postfix, exim or qmail)
+## should point to a sendmail-compatible binary (eg: a binary named &quot;sendmail&quot; is distributed with Postfix)
+sendmail        /usr/sbin/sendmail
+
+## Maximum number of recipients per call to Sendmail. The nrcpt_by_domain.conf file allows a different tuning per destination domain.
+nrcpt   25
+
+## Max. number of different domains per call to Sendmail
+avg     10
+
+## Max. number of Sendmail processes (launched by Sympa) running simultaneously
+## Proposed value is quite low, you can rise it up to 100, 200 or even 300 with powerfull systems.
+maxsmtp 40
+
+###\\\\ Plugin ////###
+
+## Path to the antivirus scanner engine
+## supported antivirus : McAfee/uvscan, Fsecure/fsav, Sophos, AVP and Trend Micro/VirusWall
+#antivirus_path /usr/local/uvscan/uvscan
+
+## Antivirus pluggin command argument
+#antivirus_args --secure --summary --dat /usr/local/uvscan
+
+###\\\\ S/MIME pluggin ////###
+
+## Path to OpenSSL
+## Sympa knowns S/MIME if openssl is installed
+#openssl        /usr/bin/ssl
+
+## The directory path use by OpenSSL for trusted CA certificates
+#capath /etc/sympa/ssl.crt
+
+##  This parameter sets the all-in-one file where you can assemble the Certificates of Certification Authorities (CA)
+#cafile /usr/local/apache/conf/ssl.crt/ca-bundle.crt
+
+## User CERTs directory
+ssl_cert_dir    /var/lib/sympa/X509-user-certs
+
+crl_dir /var/lib/sympa/crl
+
+## Password used to crypt lists private keys
+#key_passwd     your_password
+
+###\\\\ Database ////###
+
+## Database type (mysql | Pg | Oracle | Sybase | SQLite)
+## be carefull to the case
+db_type Pg
+
+## Name of the database
+## with SQLite, the name of the DB corresponds to the DB file
+db_name sympa
+
+## The host hosting your sympa database
+db_host pgsql.&lt;%= domain %&gt;;
+
+## The database port
+db_port 5432/tcp
+
+## Database user for connexion
+db_user sympa
+
+## Database password (associated to the db_user)
+## What ever you use a password or not, you must protect the SQL server (is it a not a public internet service ?)
+db_passwd       &lt;%= password %&gt;;
+
+## Database private extention to user table
+## You need to extend the database format with these fields
+#db_additional_user_fields      age,address
+
+## Database private extention to subscriber table
+## You need to extend the database format with these fields
+#db_additional_subscriber_fields        billing_delay,subscription_expiration
+
+###\\\\ Web interface ////###
+
+## Sympa's main page URL
+wwsympa_url     <A HREF="http://ml.mageia.org/">http://ml.mageia.org/</A>
+
+## If a spam filter (like spamassassin or j-chkmail) add a smtp headers to tag spams, name of this header (example X-Spam-Status)
+antispam_tag_header_name        X-Spam-Status
+
+## The regexp applied on this header to verify message is a spam (example \s*Yes)
+antispam_tag_header_spam_regexp ^\s*Yes
+
+## The regexp applied on this header to verify message is NOT a spam (example \s*No)
+antispam_tag_header_ham_regexp  ^\s*No
+
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;/pipermail/mageia-sysadm/attachments/20101110/8e39b52e/attachment-0001.html&gt;
</PRE>



















<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000476.html">[Mageia-sysadm] Puppet Report for champagne.mageia.org
</A></li>
	<LI>Next message: <A HREF="000480.html">[Mageia-sysadm] [235] Add ldap template file
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#478">[ date ]</a>
              <a href="thread.html#478">[ thread ]</a>
              <a href="subject.html#478">[ subject ]</a>
              <a href="author.html#478">[ 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>