[ale] Setting up GNU Mailman?
Jim Popovitch
jimpop at yahoo.com
Thu May 31 14:06:42 EDT 2007
A couple of comments on installing Mailman from src (on Debian, but not too specific) ....
requires python-devel (use python2.4 if you can)
mkdir /var/mailman /usr/local/mailman
groupadd mailman
useradd -c "GNU Mailman" -s /no/shell -d /var/mailman -g mailman mailman
chgrp mailman /var/mailman /usr/local/mailman
chmod a+rx,g+ws /var/mailman /usr/local/mailman
# apply htdig patch
# this patch integrates htdig with Mailman
# see: http://www.openinfo.co.uk/mm/patches/444884/index.html
# the 2.1.7 patch works well with mailman 2.1.8
patch -p1 -b -V numbered < /root/MAILMAN/htdig-2.1.7-0.1.patch
update Mailman/Archiver/HyperArch.py to change htdig "maintainer" from mm site_email to
"maintainer": self.maillist.GetOwnerEmail(),
update Mailman/Handlers/Cleanse.py to remove "Delivered-To:" mail headers
del msg['return-receipt-to']
del msg['delivered-to']
# apply daily mbox patch
# this patch produces daily mbox rather than 1 big mbox file for each list
# this patch must be applied from the parent directory of the extracted
# source distribution (/root/MAILMAN/mailman...)
# see: http://www.openinfo.co.uk/mm/patches/dailymbox/index.html
patch -p1 -b -V numbered < /root/MAILMAN/dailymbox-2.1.8-0.1.patch
./configure --with-python=/usr/bin/python2.4 --with-var-prefix=/var/mailman
--with-mail-gid=mailman --with-cgi-gid=www-data
make; make install
cd /usr/local/mailman/
# see: http://www.mail-archive.com/mailman-users at python.org/msg38655.html
# add to Mailman/Handlers/CleanseDKIM.py
del msg['authentication-results']
# touch up file permissions
bin/check_perms -f
# startup script:
cp scripts/mailman /etc/init.d/
update-rc.d mailman defaults
# make sure that mailman.jpg, etc. are in /icons dir (/var/www/htdig)
cp /usr/local/mailman/icons/* /var/www/htdig/
hth,
-Jim P.
----- Original Message ----
From: Bob Toxen <transam at verysecurelinux.com>
To: ale at ale.org
To: ale at ale.org
Sent: Tuesday, May 29, 2007 10:44:19 PM
Subject: [ale] Setting up GNU Mailman?
Has anyone set up GNU Mailman from scratch? If so, about how long do
you estimate an experienced Linux SysAdmin would need to set it up, including
creating a few lists?
Can it handle attachments such as images and, blech, M$ word docs? I
assume that it works well with Sendmail.
Thanks,
Bob Toxen
bob at verysecurelinux.com [Please use for email to me]
http://www.verysecurelinux.com [Network&Linux/Unix security consulting]
http://www.realworldlinuxsecurity.com [My book:"Real World Linux Security 2/e"]
Quality Linux & UNIX security and SysAdmin & software consulting since 1990.
"Microsoft: Unsafe at any clock speed!"
-- Bob Toxen 10/03/2002
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ale
mailing list