Installation
Installer la flavor -postfix si Postfix est utilisé. La documentation se trouve dans /usr/local/share/doc/mailman/
Fichier de configuration
Ajouter en fin de fichier :
- /usr/local/lib/mailman/Mailman/mm_cfg.py
MTA = 'Postfix' POSTFIX_ALIAS_CMD = '/usr/local/sbin/postalias' POSTFIX_MAP_CMD = '/usr/local/sbin/postmap' POSTFIX_STYLE_VIRTUAL_DOMAINS = ['apwal.mouet-mouet.net', 'code.mouet-mouet.net'] IMAGE_LOGOS = '/mailman-images/' DEFAULT_EMAIL_HOST = 'mouet-mouet.net' DEFAULT_URL_HOST = 'www.mouet-mouet.net' DEFAULT_URL_PATTERN = 'https://%s/listes/' add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) add_virtualhost('code.mouet-mouet.net', 'code.mouet-mouet.net') add_virtualhost('apwal.mouet-mouet.net', 'apwal.mouet-mouet.net') DEFAULT_ARCHIVE = Off DEFAULT_ARCHIVE_PRIVATE = 1 DEFAULT_SERVER_LANGUAGE = 'fr'
Configuration
Interface web
- etc-thttpd
port=8000 nochroot user=www host=127.0.0.1 # Serve the Mailman CGI dir=/usr/local/lib/mailman/cgi-bin cgipat=/**
- rc.local
# thtppd if [ -x /usr/local/sbin/thttpd ]; then echo -n ' thttpd' /usr/local/sbin/thttpd -C /etc/thttpd fi
usermod -G _mailman www chmod -R g+w /var/spool/mailman/* chown ._postfix /var/spool/mailman/data/aliases* /var/spool/mailman/data/virtual-mailman*