aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/templates/config
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sympa/templates/config')
-rw-r--r--modules/sympa/templates/config103
1 files changed, 103 insertions, 0 deletions
diff --git a/modules/sympa/templates/config b/modules/sympa/templates/config
new file mode 100644
index 00000000..4262f3ca
--- /dev/null
+++ b/modules/sympa/templates/config
@@ -0,0 +1,103 @@
+
+archive
+period month
+mail_access owner
+<%- if public_archive and not @critical -%>
+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