Re: [courier-users] Courier-mta and mailman
Brought to you by:
mrsam
From: Jay L. <jl...@pb...> - 2006-08-30 01:15:04
|
On Tue, August 29, 2006 8:31 pm, Edwin Culp Williams wrote: > I've been using couriermlm happily for several years but now need > something with a webbased frontend. Mailman seems to be the choice of the > day but looking at the configuration, courier-mta was not taken into > consideration. I would sure like to find a howto for courier/mailman but > have only found postfix and exim. Does anyone know of one or could share > their esperiences and alias solution that I assume is solved with dot > courier files. I'm assuming that they need to be created for each > mailling list manually more or less like couriermlm but if not it would be > great to find out. I'm using mailman that shipped with RHEL4 with Courier-MTA and it works well. I had to rebuild the RPM though in order to add the daemon user as one who was allowed to call mailman directly (why that's a compile time option instead of a config file option beats me). My solution was to create actual accounts for mailing lists like I would create real users in my LDAP database (although I disable logins since no one should be using IMAP, POP3 or worse, Auth. SMTP to the mailing list account). Then in the mailing list accounts home I just copy a blank .courier-default file (guess I could have done one per list extension but I'm lazy) and a .mailfilter that looks like below. I change the LIST= to match the list name, guess I might be able to find an already set variable that would work but this has been fine. Once I've got this setup, I create the list in mailman and all works well. Jay -- begin .mailfilter -- import EXT LIST=STAFF if ($EXT eq 'admin') { to "|/usr/lib/mailman/mail/mailman admin $LIST" } if ($EXT eq 'bounces') { to "|/usr/lib/mailman/mail/mailman bounces $LIST" } if ($EXT eq 'confirm') { to "|/usr/lib/mailman/mail/mailman confirm $LIST" } if ($EXT eq 'join') { to "|/usr/lib/mailman/mail/mailman join $LIST" } if ($EXT eq 'leave') { to "|/usr/lib/mailman/mail/mailman leave $LIST" } if ($EXT eq 'owner') { to "|/usr/lib/mailman/mail/mailman owner $LIST" } if ($EXT eq 'request') { to "|/usr/lib/mailman/mail/mailman request $LIST" } if ($EXT eq 'subscribe') { to "|/usr/lib/mailman/mail/mailman subscribe $LIST" } if ($EXT eq 'unsubscribe') { to "|/usr/lib/mailman/mail/mailman unsubscribe $LIST" } to "|/usr/lib/mailman/mail/mailman post $LIST" -- end .mailfilter -- -- Jay Lee Network / Systems Administrator Information Technology Dept. Philadelphia Biblical University -- |