Revision 2 as of 2009-04-23 09:31:21

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.

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/ /etc/mailman/
/var/mailman/data/ /etc/mailman/
/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/ /var/run/mailman/

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