aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/templates/config
blob: 229b4b476cbcf4a422f35fd368b56e2c030da379 (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

archive
period month
mail_access owner
<%- if public_archive -%>
web_access public
<%- else -%>
web_access private
<%- end -%>

visibility noconceal

digest 1,4 13:26

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

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

editor_include
reception nomail
source mga-ml_moderators
visibility conceal

subject <%= subject %>

custom_subject <%= custom_subject %>

<%- if @critical -%>
info conceal

subscribe auth owner

unsubscribe auth_notify

invite owner
<% end %>

lang <%= language %>

owner
gecos Sysadmin team
reception nomail
email postmaster@<%= domain %>
visibility noconceal
profile normal

owner_include
profile normal
visibility conceal
source mga-sysadmin
reception nomail


<%- if @reply_to -%>
reply_to_header
value other_email
other_email <%= reply_to %>
apply forced
<%- end -%>


review owner

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

send restricted_<%= @name %>

<% if subscriber_ldap_group %>
include_ldap_query
    timeout 10
    scope one
    select first
    ssl_version tlsv1_2
    ca_verify none
    use_tls ldaps
    attrs mail
    ssl_ciphers ALL
    passwd <%= scope.lookupvar("sympa::server::ldap_password") %>
    user cn=sympa-<%= hostname %>,ou=System Accounts,<%= dc_suffix %>
    suffix ou=People,<%= dc_suffix %>
    filter (memberOf=cn=<%= subscriber_ldap_group %>,ou=Group,<%= dc_suffix %>)
    host ldap.<%= domain %>

<% end %>

process_archive on

status open