aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/templates/config
blob: 0da03ccfdf99dc6814c2d41b5043032c740982e3 (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
subject <%= subject %>

status open

visibility noconceal

lang <%= language %>

<% if subscriber_ldap_group %>
# TODO check scenari
subscribe    closed

unsubscribe  closed
<% else %>
subscribe    open_web_only_notify

unsubscribe  open_web_only_notify
<% end %>

# TODO reception nomail
# profile normal

owner 
email postmaster@<%= domain %>
gecos Sysadmin team
reception nomail 

owner_include 
source mga-sysadmin
reception nomail
profile normal
visibility conceal

editor 
email listmaster@<%= domain %>
gecos Moderator team 
reception nomail

editor_include 
source mga-ml_moderators
reception nomail
visibility conceal


<% if reply_to %>
# TODO 
reply_to_header
value other_email
other_email <%= reply_to %>
apply forced
<% end %>



<% if sender_email  %>
#TODO write scenari
send restricted_<%= sender_email_file %>

<% elsif sender_ldap_group %>
#TODO write scenari
send restricted_<%= sender_ldap_group %>

<% else %>
#TODO write scenari
send subscriber_moderated

<% end %>


<% if topics %>
topics <%= topics %>
<% end %>

<% if subscriber_ldap_group %>
include_ldap_query
    host ldap.<% domain %>
    suffix ou=People,<%= dc_suffix %>
    timeout 10
    filter (memberOf=<%= subscriber_ldap_group %>))
    attrs mail
    select first
    scope one
<% end %> 

<%- if public_archive -%> 
web_archive
    #TODO check
    access public
<%- else -%>
web_archive
    #TODO check
    access private
<%- end -%>

archive
access owner
period month

digest 1,4 13:26

review owner