aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/sympa/templates/config104
1 files changed, 50 insertions, 54 deletions
diff --git a/modules/sympa/templates/config b/modules/sympa/templates/config
index c572dc63..25626731 100644
--- a/modules/sympa/templates/config
+++ b/modules/sympa/templates/config
@@ -1,10 +1,16 @@
-subject <%= subject %>
-status open
+archive
+period month
+mail_access owner
+<%- if public_archive -%>
+web_access public
+<%- else -%>
+web_access private
+<%- end -%>
visibility noconceal
-lang <%= language %>
+digest 1,4 13:26
<% if subscriber_ldap_group and not subscription_open %>
# TODO check scenari
@@ -17,79 +23,69 @@ 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
+editor
+email listmaster@<%= domain %>
reception nomail
-profile normal
+gecos Moderator team
visibility conceal
-editor
-email listmaster@<%= domain %>
-gecos Moderator team
+editor_include
reception nomail
-
-editor_include
source mga-ml_moderators
-reception nomail
visibility conceal
+subject <%= subject %>
-<% if reply_to %>
-# TODO
-reply_to_header
-value other_email
-other_email <%= reply_to %>
-apply forced
-<% end %>
+custom_subject <%= custom_subject %>
+lang <%= language %>
+owner
+gecos Sysadmin team
+reception nomail
+email postmaster@<%= domain %>
+visibility noconceal
+profile normal
-send restricted_<%= @name %>
+owner_include
+profile normal
+visibility conceal
+source mga-sysadmin
+reception nomail
+
+???
+reply_to_header
+apply forced
+other_email council@ml.mageia.org
+value other_email
+???
+
+review private
<% if topics %>
topics <%= topics %>
<% end %>
+send restricted_<%= @name %>
+
<% 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_tls ldaps
+ select first
ssl_version tlsv1_2
ca_verify none
- user cn=sympa-<%= hostname %>,ou=System Accounts,<%= dc_suffix %>
- passwd <%= scope.lookupvar("sympa::server::ldap_password") %>
-
-<% end %>
-
-process_archive on
-
-archive
-<%- if public_archive -%>
- #TODO check
- web_access public
-<%- else -%>
- #TODO check
- web_access private
-<%- end -%>
-mail_access owner
-period month
+ 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 %>
-digest 1,4 13:26
+<% end %>
-review private
+process_archive on
-custom_subject <%= custom_subject %>
+status open