Mailman, Installing

From FreeBSDwiki
Jump to: navigation, search

Quick Notes (this is a stub article, needs to be cleaned up later) on installing Mailman and qmail:

  1. install qmail
  2. install apache
  3. find out the uid of the user that qmail uses to deliver mail (if it's according to the 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
  4. cd /usr/ports/mail/mailman
  5. make -DWITH_MAIL_GID=vchkpw install clean
  6. 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

Alias /pipermail/ /home/mailman/archives/public/

<Directory /home/mailman/archives/public/>
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

to it

  1. 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
  2. you will need to set your site password using /usr/local/mailman/bin/mmsitepass in order to create lists
Personal tools