Sympa: Unterschied zwischen den Versionen
Aus Vosp.info
V (Diskussion | Beiträge) |
V (Diskussion | Beiträge) |
||
Zeile 2: | Zeile 2: | ||
Doku: https://www.sympa.org/manual_6.2/index | Doku: https://www.sympa.org/manual_6.2/index | ||
− | = Installation Sympa 6.2.15 = | + | == Installation Sympa 6.2.15 == |
* postfix | * postfix | ||
* apache | * apache | ||
Zeile 8: | Zeile 8: | ||
− | apt-get install postfix | + | apt-get install postfix apache2 apache2-utils libapache2-mod-fcgid libapache-singleton-perl libapache2-request-perl libapache2-mod-perl2 apache2-suexec-custom libfcgi-perl libcgi-fast-perl libclass-*-perl libdatetime-perl lib-*-perl libmime-lite-html-perl libarchive-zip-perl libcrypt-ciphersaber-perl libdbd-mysql-perl libdbi-perl libfcgi-perl libio-stringy-perl libwww-perl libintl-perl mhonarc libmime-perl libmailtools-perl libregexp-common-perl libtemplate-perl libxml-libxml-perl libcgi-fast-perl libio-socket-ssl-perl libcrypt-ssleay-perl libnet-ssleay-perl libmime-encwords-perl libmime-charset-perl libcrypt-openssl-x509-perl automake autoconf make gcc |
− | == postfix == | + | === postfix === |
etc/postfix/main.cf | etc/postfix/main.cf | ||
<source lang=bash> | <source lang=bash> | ||
Zeile 51: | Zeile 51: | ||
− | == apache == | + | === apache === |
− | |||
− | |||
vim /etc/apache2/sites-available/seite.conf | vim /etc/apache2/sites-available/seite.conf | ||
<source lang=bash> | <source lang=bash> | ||
Zeile 110: | Zeile 108: | ||
− | == sympa == | + | |
− | + | === sympa === | |
− | === Download === | + | ==== Download ==== |
<source lang=bash> | <source lang=bash> | ||
dpkg-reconfigure locales | dpkg-reconfigure locales | ||
Zeile 120: | Zeile 118: | ||
cd sympa-6.2.15/ | cd sympa-6.2.15/ | ||
</source> | </source> | ||
− | === | + | ==== Install ==== |
<source lang=bash> | <source lang=bash> | ||
./configure; | ./configure; | ||
Zeile 137: | Zeile 135: | ||
sympa.pl --health_check | sympa.pl --health_check | ||
</source> | </source> | ||
− | === | + | ==== Konfiguration ==== |
− | ==== vim /etc/sympa/sympa.conf | + | vim /etc/sympa/sympa.conf |
<source lang=bash> | <source lang=bash> | ||
− | domain | + | domain lists.domain1.tld |
− | email | + | email lists |
− | gecos | + | gecos LISTS |
− | listmaster | + | listmaster name@domain.tld |
− | wwsympa_url https:// | + | wwsympa_url https://lists.domain1.tld |
− | + | static_content_path /home/sympa/static_content | |
− | + | static_content_url /static-sympa | |
− | + | static_content_url /static-sympa | |
− | static_content_path /home/sympa/static_content | + | home /home/sympa/list_data |
− | static_content_url /static-sympa | + | etc /home/sympa/etc |
− | + | sendmail /usr/sbin/sendmail | |
− | home /home/sympa/list_data | + | |
− | etc /home/sympa/etc | ||
− | |||
− | |||
− | |||
− | |||
− | sendmail /usr/sbin/sendmail | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</source> | </source> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang=bash> | <source lang=bash> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</source> | </source> | ||
− | |||
− | |||
<source lang=bash> | <source lang=bash> | ||
− | |||
</source> | </source> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Version vom 31. Mai 2016, 17:09 Uhr
Sympa ist eine Software zum Verwalten von Mailinglisten. Doku: https://www.sympa.org/manual_6.2/index
Inhaltsverzeichnis
Installation Sympa 6.2.15
* postfix * apache
apt-get install postfix apache2 apache2-utils libapache2-mod-fcgid libapache-singleton-perl libapache2-request-perl libapache2-mod-perl2 apache2-suexec-custom libfcgi-perl libcgi-fast-perl libclass-*-perl libdatetime-perl lib-*-perl libmime-lite-html-perl libarchive-zip-perl libcrypt-ciphersaber-perl libdbd-mysql-perl libdbi-perl libfcgi-perl libio-stringy-perl libwww-perl libintl-perl mhonarc libmime-perl libmailtools-perl libregexp-common-perl libtemplate-perl libxml-libxml-perl libcgi-fast-perl libio-socket-ssl-perl libcrypt-ssleay-perl libnet-ssleay-perl libmime-encwords-perl libmime-charset-perl libcrypt-openssl-x509-perl automake autoconf make gcc
postfix
etc/postfix/main.cf
smtpd_banner = $myhostname ESMTP $mail_name (xxx)
biff = no
append_dot_mydomain = no
readme_directory = no
smtpd_tls_cert_file = /etc/ssl/private/xxx.xxxx.crt
smtpd_tls_key_file = /etc/ssl/private/xxx.xxxx.key
smtpd_tls_CAfile = /etc/ssl/private/xxx.xxxx.com.cer
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
myhostname = xxx.xxx1.xx
alias_maps = hash:/etc/aliases,hash:/etc/mail/sympa/aliases
alias_database = hash:/etc/aliases
myorigin = $mydomain
mydestination = $myhostname, xxx.xxx1.xx, xxx.xxx2.de, xxx, localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
mailbox_command = procmail -a "$EXTENSION"
transport_maps = regexp:/home/sympa/etc/transport_regexp
/etc/postfix/master.cf
...
sympa unix - n n - - pipe
flags=R user=sympa argv=/home/sympa/bin/queue ${recipient}
sympabounce unix - n n - - pipe
flags=R user=sympa argv=/home/sympa/bin/bouncequeue ${recipient}
apache
vim /etc/apache2/sites-available/seite.conf
NameVirtualHost *:80
NameVirtualHost *:443
<VirtualHost *:80>
SuexecUserGroup sympa sympa
ServerName lists.domain1.tld
DocumentRoot /var/www/lists.domain1.tld
ServerAdmin mail@domain.tld
Alias /static-sympa /home/sympa/lists.domain1.tld/static_content
<Directory /home/sympa/lists.domain1.tld/static_content>
Require all granted
</Directory>
ScriptAlias /sympa /home/sympa/bin/wwsympa-wrapper.fcgi
<Directory /home/sympa/bin>
Require all granted
</Directory>
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi
</IfModule>
</VirtualHost>
<VirtualHost *:443>
SuexecUserGroup sympa sympa
ServerName lists.domain1.tld
DocumentRoot /var/www/lists.domain1.tld
ServerAdmin mail@domain.tld
SSLEngine On
ServerSignature Off
SSLCertificateKeyFile /etc/ssl/private/lists.domain1.tld.key
SSLCertificateFile /etc/ssl/private/lists.domain1.tld.crt
SSLCertificateChainFile /etc/ssl/private/lists.domain1.tld.com.cer
Alias /static-sympa /home/sympa/lists.domain1.tld/static_content
<Directory /home/sympa/lists.domain1.tld/static_content>
Require all granted
</Directory>
<Directory /home/sympa/static_content>
Require all granted
</Directory>
ScriptAlias /sympa /home/sympa/bin/wwsympa-wrapper.fcgi
<Directory /home/sympa/bin>
Require all granted
</Directory>
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi
</IfModule>
</VirtualHost>
sympa
Download
dpkg-reconfigure locales
cd /home/
wget http://www.sympa.org/distribution/sympa-6.2.15.tar.gz
unp sympa-6.2.15.tar.gz
cd sympa-6.2.15/
Install
./configure;
make;
make install
/home/sympa/bin/sympa_wizard.pl --check
/home/sympa/bin/sympa_wizard.pl
adduser sympa
chown sympa:sympa /home/sympa -R
chown sympa:sympa /etc/sympa/ -R
# Datenbank /Benutzer erstellen
mysql -u root -p
CREATE DATABASE sympa CHARACTER SET utf8;
GRANT ALL PRIVILEGES ON sympa.* TO <db_user>@<client host> IDENTIFIED BY '<db_passwd>';
# datenbank erstellen
sympa.pl --health_check
Konfiguration
vim /etc/sympa/sympa.conf
domain lists.domain1.tld
email lists
gecos LISTS
listmaster name@domain.tld
wwsympa_url https://lists.domain1.tld
static_content_path /home/sympa/static_content
static_content_url /static-sympa
static_content_url /static-sympa
home /home/sympa/list_data
etc /home/sympa/etc
sendmail /usr/sbin/sendmail