This is the current installation files and instructions for configuring MailMan, the GNU standard for mailing lists. Since this program relies on both on an email and web server, it is based completely on having following the instructions for installing Apache and Sendmail available at http://www.peregrinehw.com/downloads/ It is produced by Kevin A. McGrail (kevin@mcgrail.com). Comments welcome via email! kevin@mcgrail.com NOTE: I use various versions of Redhat Linux, so persons using other distributions, beware. These instructions were tested on a Redhat 7.X i386 Installation. #WGET THE VARIOUS DISTRIBUTION FILES NEEDED #CREATE A TEMP DIR FOR THE TAR FILES rm -rf /tmp/20030113MAILMAN/ mkdir /tmp/20030113MAILMAN/ cd /tmp/20030113MAILMAN/ #GET ALL THE FILES wget http://www.peregrinehw.com/downloads/mailman/mailman-2.0.13.tgz #SETUP A USER TO RUN THE MAILING LIST /usr/sbin/adduser -u 106 -s /bin/bash mailman #SETUP LINK FOR SENDMAIL SMRSH SECURITY FOR WRAPPER ln -s /htdocs/mailman.peregrinehw.com/mail/wrapper /usr/adm/sm.bin/wrapper #CREATE A DIRECTORY FOR THE PROGRAM THAT HAS SETGUID PRIVS cd /htdocs mkdir mailman.peregrinehw.com chgrp mailman mailman.peregrinehw.com chmod a+rx,g+ws mailman.peregrinehw.com #LOGIN AS MAILMAN USER (RECOMMENDED IN MAILMAN INSTALL) su -l mailman #UNTAR THE SOURCE PACKAGE cd /home/mailman mkdir src cd src tar zxvf /tmp/20030113MAILMAN/mailman-2.0.13.tgz cd mailman-2.0.13 #CONFIGURE THE PROGRAM TO RUN AS THE SENDMAIL GID FOR MAIL, 101 for HTTPD for Apache #and INSTALL it in /htdocs/mailman # *OPTIONAL* DEFINE YOUR MAILHOST AND WWWHOST # MAILHOST=mailman.peregrinehw.com; WWWHOST=mailman.peregrinehw.com; export MAILHOST WWWHOST ./configure --with-mail-gid=12 --with-cgi-gid=101 --prefix=/htdocs/mailman.peregrinehw.com --with-cgi-ext=.cgi make make install #CHECK THE INSTALL -- should say No problems found /htdocs/mailman.peregrinehw.com/bin/check_perms #SETUP MAILMAN IN HTTP.CONF # MY SETUP LOOKS LIKE: # ServerAdmin root@peregrinehw.com DocumentRoot /htdocs/mailman.peregrinehw.com/html/ ServerName www.mailman.peregrinehw.com ServerAlias mailman.peregrinehw.com *.mailman.peregrinehw.com ErrorLog var/log/mailman.peregrinehw.com-error_log CustomLog var/log/mailman.peregrinehw.com-access_log combined env=!ban Alias /pipermail/ /htdocs/mailman.peregrinehw.com/archives/public/ Alias /mailman/ /htdocs/mailman.peregrinehw.com/cgi-bin/ Options Indexes Includes ExecCGI MultiViews FollowSymLinks XbitHack Off AllowOverride All #MAKE SURE FOLLOWSYMLINKS IS ON FOR APACHE FOR MAILMAN TO WORK! #SETUP CRON -- IMPORTANT cd /htdocs/mailman.peregrinehw.com/cron crontab crontab.in #SETUP ALIASES -- ADD THE FOLLOWING TO /etc/mail/aliases and run newaliases mailman: kmcgrail@peregrinehw.com mailman-owner: mailman #CONFIGURE MAILMAN vi /htdocs/mailman.peregrinehw.com/Mailman/mm_cfg.py #SET MAILMAN PASSWORD /htdocs/mailman.peregrinehw.com/bin/mmsitepass #SETUP A LIST /htdocs/mailman.peregrinehw.com/bin/newlist #*interactive* #NOTE -- The end of this script will give you MORE aliases to add to aliases (And virtusertable if you use that). # Don't forget to run newaliases! #CREATE A BLANK WEBSITE FOR THE LISTS mkdir /htdocs/mailman.peregrinehw.com/html/ touch /htdocs/mailman.peregrinehw.com/html/index.html #LOGOUT AS MAILMAN exit #COPY SOME ICONS cp /htdocs/mailman.peregrinehw.com/icons/* /usr/local/apache/icons #CHANGE THE SHELL FOR MAILMAN SO IT DOESN'T WORK chsh -s /bin/false mailman #CLEANR THE TEMP DIR FOR THE TAR FILES rm -rf /tmp/20030113MAILMAN/