admin:services:mailman
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
admin:mailman [2013/07/23 12:54] – marc.gallet | admin:services:mailman [2017/02/24 22:51] – [Configuration Apache] Ajout VHOST archives david.sinquin | ||
---|---|---|---|
Ligne 5: | Ligne 5: | ||
===== Installation mailman ===== | ===== Installation mailman ===== | ||
- | # aptitude | + | # apt install mailman |
# dpkg-reconfigure mailman | # dpkg-reconfigure mailman | ||
Ligne 16: | Ligne 16: | ||
DEFAULT_URL_HOST | DEFAULT_URL_HOST | ||
DEFAULT_SERVER_LANGUAGE = ' | DEFAULT_SERVER_LANGUAGE = ' | ||
+ | | ||
+ | # Archives privées à leur création | ||
+ | DEFAULT_ARCHIVE_PRIVATE = 1 | ||
- | Décommenter: | + | |
- | | + | MTA=' |
===== Configuration postfix ===== | ===== Configuration postfix ===== | ||
Ligne 33: | Ligne 36: | ||
===== Configuration Apache ===== | ===== Configuration Apache ===== | ||
- | # nano / | + | Il faut créer deux VHOST, un pour la gestion des listes, l' |
- | + | ||
- | <file apache> | + | |
- | < | + | |
- | ServerName lists.federez.net | + | |
- | Redirect permanent / https:// | + | |
- | + | ||
- | # Possible values include: debug, info, notice, warn, error, crit, alert, emerg. | + | |
- | LogLevel warn | + | |
- | ErrorLog ${APACHE_LOG_DIR}/ | + | |
- | CustomLog ${APACHE_LOG_DIR}/ | + | |
- | </ | + | |
+ | <file apache / | ||
< | < | ||
ServerName lists.federez.net | ServerName lists.federez.net | ||
Ligne 53: | Ligne 46: | ||
Options ExecCGI | Options ExecCGI | ||
AddHandler cgi-script .cgi | AddHandler cgi-script .cgi | ||
- | | + | |
- | Allow from all | + | |
</ | </ | ||
< | < | ||
Options FollowSymlinks | Options FollowSymlinks | ||
AllowOverride None | AllowOverride None | ||
- | | + | |
- | Allow from all | + | |
</ | </ | ||
< | < | ||
AllowOverride None | AllowOverride None | ||
- | | + | |
- | Allow from all | + | |
</ | </ | ||
Ligne 92: | Ligne 82: | ||
# SSL | # SSL | ||
SSLEngine on | SSLEngine on | ||
- | SSLCertificateFile | + | SSLCertificateFile /etc/letsencrypt/live/federez.net/fullchain.pem |
- | SSLCertificateKeyFile | + | SSLCertificateKeyFile /etc/letsencrypt/live/federez.net/privkey.pem |
- | SSLCertificateChainFile / | + | </VirtualHost> |
- | | + | </file> |
- | BrowserMatch "MSIE [2-6]" \ | + | <file apache / |
- | | + | < |
- | | + | ServerName archives.federez.net |
- | | + | DocumentRoot / |
+ | |||
+ | ErrorLog ${APACHE_LOG_DIR}/ | ||
+ | CustomLog ${APACHE_LOG_DIR}/ | ||
+ | |||
+ | SSLEngine on | ||
+ | SSLCertificateFile / | ||
+ | SSLCertificateKeyFile / | ||
+ | |||
+ | < | ||
+ | | ||
+ | AllowOverride None | ||
+ | Options | ||
+ | | ||
+ | < | ||
+ | Require all denied | ||
+ | </ | ||
+ | <Files ~ " | ||
+ | Require all denied | ||
+ | </ | ||
</ | </ | ||
</ | </ | ||
# a2ensite mailman | # a2ensite mailman | ||
- | # mv / | + | # a2ensite archives |
# adduser www-data list | # adduser www-data list | ||
# service apache2 reload | # service apache2 reload |
admin/services/mailman.txt · Dernière modification : 2018/12/04 17:19 de lazouz