Top Nav

Mailman

http://www.gnu.org/software/mailman/

> cd /root/archive
> wget http://unc.dl.sourceforge.net/sourceforge/mailman/mailman-2.1.2.tgz
> tar -xvzf mailman-2.1.2.tar.gz
> cd mailman-2.1.2

> useradd mailman
> groupadd mailman

> mkdir /usr/local/mailman
> cd /usr/local/mailman
> chgrp mailman .
> chmod a+rx,g+ws .
> cd /root/archive/mailman-2.1.2

> ./configure –prefix=/usr/local/mailman \
–with-mail-gid=mail \
–with-cgi-gid=apache

> make install
> cd /usr/local/mailman/
> ./bin/check_perms
> ./bin/check_perms -f
> ./bin/check_perms

create new file at:

/etc/httpd/conf.d/mailman.conf

with:

#
# Mailman config
#

ScriptAlias /mailman/ /usr/local/mailman/cgi-bin/
Alias /pipermail/ /usr/local/mailman/archives/public/

> service httpd restart

> cp /usr/local/mailman/icons/*.{jpg,png} /var/www/icons

> cd /usr/local/mailman/
> bin/newlist mailman

append to /etc/aliases:

## mailman mailing list
mailman: “|/usr/local/mailman/mail/mailman post mailman”
mailman-admin: “|/usr/local/mailman/mail/mailman admin mailman”
mailman-bounces: “|/usr/local/mailman/mail/mailman bounces mailman”
mailman-confirm: “|/usr/local/mailman/mail/mailman confirm mailman”
mailman-join: “|/usr/local/mailman/mail/mailman join mailman”
mailman-leave: “|/usr/local/mailman/mail/mailman leave mailman”
mailman-owner: “|/usr/local/mailman/mail/mailman owner mailman”
mailman-request: “|/usr/local/mailman/mail/mailman request mailman”
mailman-subscribe: “|/usr/local/mailman/mail/mailman subscribe mailman”
mailman-unsubscribe: “|/usr/local/mailman/mail/mailman unsubscribe mailman”

> newaliases

edit data/sitelist.cfg and append this line to bottom:

host_name = ‘mail.aiagrp.net’

> bin/config_list -i data/sitelist.cfg mailman

Email
Print