aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/templates/config
blob: 177e963de8e82b592a06f697886c8c01fc282975 (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
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_include 
source mga-sysadm
reception nomail
profile normal

editor_include 
source mga-ml_moderators
reception nomail
profile normal


<% 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 %>

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

<% else %>
#TODO write scenari
send subscriber_moderated

<% end %>


#TODO topics
# topics 

<% 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 %> 

web_archive

<% if public_archive %> 
#TODO check
access public
<% else %>
#TODO check
access private
<% end %>
archive
access owner
period month

digest 1,4 13:26

review owner