|
|
@ -0,0 +1,36 @@ |
|
|
|
sympa on debian 12 |
|
|
|
================== |
|
|
|
|
|
|
|
DOC: |
|
|
|
https://www.sympa.community/manual/install/install-sympa-distribution-debian.html |
|
|
|
https://wiki.evolix.org/HowtaptoSympa |
|
|
|
|
|
|
|
USE OF: postfix + postgresql + apache2 + fcgi |
|
|
|
|
|
|
|
* apt install -y postfix postgresql apache2 libapache2-mod-fcgid spawn-fcgi |
|
|
|
* domain: listes.artcode.re |
|
|
|
* apt install -y sympa |
|
|
|
* db: postgresql |
|
|
|
* pass: sympa |
|
|
|
* web: apache2 |
|
|
|
* setuid: no |
|
|
|
* vim /etc/sympa/sympa/sympa.conf |
|
|
|
* listmaster: pvincent@artcode.re |
|
|
|
* lang: fr |
|
|
|
* wwsympa_url: http://sympa3.lxd/wws |
|
|
|
* a2enmod rewrite proxy_fcgi |
|
|
|
* vim /etc/apache2/sites-available/sympa.conf |
|
|
|
``` |
|
|
|
<VirtualHost *:80> |
|
|
|
ServerName localhost |
|
|
|
RewriteEngine On |
|
|
|
RewriteRule ^/$ /wws [R] |
|
|
|
<Location /wws> |
|
|
|
SetHandler "proxy:unix:/run/sympa/wwsympa.socket|fcgi://localhost" |
|
|
|
Require all granted |
|
|
|
</Location> |
|
|
|
</VirtualHost> |
|
|
|
``` |
|
|
|
* a2dissite 000-default.conf |
|
|
|
* a2ensite sympa.conf |
|
|
|
* systemctl restart apache2 sympa |