Mailman, Installing
From FreeBSDwiki
Quick Notes (this is a stub article, needs to be cleaned up later) on installing Mailman and qmail:
- install qmail
- install apache
- find out the uid of the user that qmail uses to deliver mail (if it's according to the qmailrocks.org site, it's the vchkpw user) by parsing through /etc/group -- you also need to know the apache group, but if you install from ports, that's group www, uid = 80
- cd /usr/ports/mail/mailman
- make -DWITH_MAIL_GID=vchkpw install clean
- edit your httpd.conf to add
ScriptAlias /mailman/ /home/mailman/cgi-bin/ <Directory /home/mailman/cgi-bin/> Options ExecCGI AllowOverride None Order allow,deny Allow from all </Directory> Alias /pipermail/ /home/mailman/archives/public/ <Directory /home/mailman/archives/public/> Options FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory>
to it
- making a new list with /usr/local/mailman/bin/newlist will not create the .qmail-* files that qmail needs to deliver stuff, so consider using this script or writing your own
- you will need to set your site password using /usr/local/mailman/bin/mmsitepass in order to create lists