5 messages in net.sourceforge.lists.courier-users[courier-users] Correct way to do loc...
FromSent OnAttachments
Josh GrebeNov 18, 2005 11:52 am 
Bowie BaileyNov 18, 2005 12:22 pm 
Josh GrebeNov 21, 2005 11:21 am 
David BruhaNov 21, 2005 12:41 pm 
Bowie BaileyNov 21, 2005 12:42 pm 
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:[courier-users] Correct way to do local delivery after custom filtering (maildrop without authlib)Actions...
From:Josh Grebe (jo@shortcutsolutions.net)
Date:Nov 18, 2005 11:52:39 am
List:net.sourceforge.lists.courier-users

Hello All,

I've gone through the archives and I've seen a few threads where people are asking for a 'maildrop' that uses authlib for local delivery. Notably, I've seen responses from Sam saying this was not the correct way to achieve the desired result. What I haven't discovered is the correct way to do it.

For clarity, here is what I'm doing in my setup.

( All users are virtual, using mysql )

1. Courier recieves email via esmtpd. 2. Courierfilter runs through clamav and denies infected, accepts clean 3. Courier accepts the message for delivery and disconnects from remote host. 4. DEFAULTDELIVERY is set to "| /usr/local/bin/filter \$USER" to send it to a script for SpamAssassin and other local processing 5. Now I'd like to hand it to maildrop to deliver to the virtual user's maildir(via maildrop -d $user). However, maildrop does not have authlib support, and cannot find the user.

What I'm doing currently is running a seperately-packaged maildrop that does have authlib support, and this works perfectly. However, I'd rather do it the Right Way and not have a one-off package that I need to maintain seperately.

Can anyone shed some light for me?

Thanks,

Josh

PS: Thanks, Sam, for a great package. If only more projects had such readable
code!