Revision 5 as of 2010-03-15 10:21:58

Clear message

This Document refers to the mailman rpm distributed by RedHat and its sub communities (CentOS, Fedora, etc.) in the yum install/update process.

As of mailman-2.1.5-21, mailman file locations were changed to conform to the Filesystem Hierarchy Standard (FHS) and avoid security violations when SELinux is enabled. Some of the original discussion and the original patch can be found at http://mail.python.org/pipermail/mailman-developers/2004-October/017343.html. This may be of help if you are trying to upgrade a RedHat installation to a more recent Mailman for which there is no RedHat rpm, or if you just want your Mailman to be more FHS compliant.

If you have just installed the new version via yum, you will find a migrations script to help you move existing files to new locations.  /usr/share/doc/mailman-2.1.N/contrib/migrate-fhs  Please check your version number for the correct path.

Below is a chart of the file system changes.

Prior Location New Location
/var/mailman /var/lib/mailman
/var/mailman/Mailman /usr/lib/mailman/Mailman
/var/mailman/archives /var/lib/mailman/archives
/var/mailman/bin /usr/lib/mailman/bin
/var/mailman/cgi-bin /usr/lib/mailman/cgi-bin
/var/mailman/cron /usr/lib/mailman/cron
/var/mailman/data /var/lib/mailman/data
/var/mailman/lists /var/lib/mailman/lists
/var/mailman/locks /var/lock/mailman
/var/mailman/logs /var/log/mailman
/var/mailman/mail /usr/lib/mailman/mail
/var/mailman/messages /usr/lib/mailman/messages
/var/mailman/pythonlib /usr/lib/mailman/pythonlib
/var/mailman/qfiles /var/spool/mailman
/var/spool/mailman/qfiles /var/spool/mailman
/var/mailman/scripts /usr/lib/mailman/scripts
/var/mailman/spam /var/lib/mailman/spam
/var/mailman/templates /usr/lib/mailman/templates
/var/mailman/tests /usr/lib/mailman/tests

Prior File Location New File Location
/var/mailman/data/adm.pw /etc/mailman/adm.pw
/var/mailman/data/creator.pw /etc/mailman/creator.pw
/var/mailman/data/aliases /etc/mailman/aliases
/var/mailman/data/virtual-mailman /etc/mailman/virtual-mailman
/var/mailman/data/sitelist.cfg /etc/mailman/sitelist.cfg
/var/mailman/data/master-qrunner.pid /var/run/mailman/master-qrunner.pid

Do pay attention to the adm.pw and creator.pw file if you are upgrading.

More details can be found in the /usr/share/doc/mailman-2.1.N/INSTALL.REDHAT document