Modification : $vm_ -> $local_ .
[lhc/ateliers.git] / etc / sympa / sympa.conf.m4
index 4468c34..d3b21e2 100644 (file)
@@ -1,8 +1,7 @@
-changequote(,)
+changequote(,)dnl
 ###\\\\ Directories and file location ////###
 etc                 /etc/sympa
 home                HOME/list_data
-http_host           https://VM_DOMAINNAME
 pidfile             /run/sympa/sympa.pid
 pidfile_bulk        /run/sympa/bulk.pid
 pidfile_creation    /run/sympa/sympa-creation.pid
@@ -32,10 +31,13 @@ syslog `cat /etc/sympa/facility`
 
 ###\\\\ General definition ////###
 create_list public_listmaster
-domain sympa.VM_DOMAINNAME
+domain LOCAL_DOMAINNAME
 edit_list owner
 email sympa
-listmaster listmaster@VM_DOMAINNAME
+#host LOCAL_DOMAINNAME
+#http_host sympa.LOCAL_DOMAINNAME
+listmaster esyscmd(getent passwd $(getent group sudo | cut -d : -f 4 | tr '\054' ' ') |
+       cut -d : -f 5 | cut -d $(printf '\054') -f 5 | tr '\n' '\054' | sed -e 's/\x2C$//')
 
 ###\\\\ Tuning ////###
 bulk_fork_threshold 1
@@ -112,4 +114,4 @@ antispam_tag_header_spam_regexp ^\s*Yes
 max_wrong_password 19
 soap_url http://--HOST--/sympasoap
 spam_status x-spam-status
-wwsympa_url  https://sympa.VM_DOMAINNAME/wws
+#wwsympa_url  https://sympa.LOCAL_DOMAINNAME