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

status open

visibility noconceal

lang <%= language %>

<% if subscriber_ldap_group and not subscription_open %>
# 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 %>



send restricted_<%= @name %>

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

<% if subscriber_ldap_group %>
include_ldap_query
    host ldap.<%= domain %>
    suffix ou=People,<%= dc_suffix %>
    timeout 10
    filter (memberOf=cn=<%= subscriber_ldap_group %>,ou=Group,<%= dc_suffix %>)
    attrs mail
    select first
    scope one
    use_ssl  yes
    user     cn=sympa-<%= hostname %>,ou=System Accounts,<%= dc_suffix %>
    passwd   <%= scope.lookupvar("sympa::server::ldap_password") %>
 
<% 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 private

custom_subject <%= custom_subject %>