Sympa
Infos
Les fichiers de sympa sont ici:
/usr/share/sympa # default template
/var/lib/sympa # sympa content
/etc/sympa # configurations
Configuration
Creer un fichier /etc/sympa/<domaine>/robot.conf avec en gros:
domain leplantain.org
wwsympa_url https://sympa.leplantain.org
listmaster contact@leplantain.org
lang fr
title "leplantain.org mailing liste"
Configurer votre site dans nginx pour pointer au bonne endroit (ca marche pas encore)
location /static-sympa/css {
alias /var/lib/sympa/css;
}
location /static-sympa/pictures {
alias /var/lib/sympa/pictures;
}
location /static-sympa {
alias /usr/share/sympa/static_content;
}
location / {
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/var/run/sympa/wwsympa.socket;
# If you changed wwsympa_url in sympa.conf, change this regex too!
fastcgi_param SCRIPT_FILENAME /usr/libexec/sympa/wwsympa.fcgi;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
data = ${lookup{$local_part@$domain}lsearch{/var/lib/sympa/sympa_aliases}}
Pas de commentaires