8 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Courier-mta and m...
FromSent OnAttachments
Edwin Culp WilliamsAug 29, 2006 5:31 pm 
Jay LeeAug 29, 2006 6:14 pm 
Bernd WurstAug 29, 2006 11:44 pm 
ecu...@conejoblanco.infoAug 30, 2006 4:13 am 
Edwin Culp WilliamsAug 30, 2006 4:18 am 
Bill SchindlerAug 30, 2006 9:42 am 
Edwin Culp WilliamsAug 31, 2006 7:30 am 
Martin SchusterSep 4, 2006 12:25 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Courier-mta and mailmanActions...
From:Jay Lee (jl@pbu.edu)
Date:Aug 29, 2006 6:14:23 pm
List:net.sourceforge.lists.courier-users

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 --