9 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Per-user mail filters...
FromSent OnAttachments
Paul DlugSep 25, 2003 2:08 pm 
Andreas StollarSep 25, 2003 3:03 pm 
Rob HuttonSep 25, 2003 5:56 pm 
Joaquim LaureanoSep 26, 2003 3:43 am 
Rob HuttonSep 26, 2003 4:42 am 
Joaquim LaureanoSep 26, 2003 6:15 am 
Rob HuttonSep 26, 2003 6:46 am 
Dominik FritzSep 26, 2003 7:03 am 
p dont thinkSep 26, 2003 1:36 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:Re: [maildropl] Per-user mail filters with virtual deliveryActions...
From:Dominik Fritz (mail@cocos-net.de)
Date:Sep 26, 2003 7:03:03 am
List:net.sourceforge.lists.courier-maildrop

Hello Paul,

i use postfix, maildrop and courier-imap and squirrelmail with virtual users stored in an postgresql db. because maildrop currently does not support postgresql i use this global maildroprc file which includes a personal .mailfilter file for each user.

logfile "/storage/mail/maildrop.log" ; RECIPIENT = $1 ; if ($RECIPIENT=~/.*!@!.*/) { USER = "$MATCH.$MATCH3" ; } else { echo "False Syntax in $RECIPIENT" ; EXITCODE = 1 ; exit ; } DEFAULT = "/storage/mail/$USER/Maildir/" ; MAILDIR = "/storage/mail/$USER/Maildir" ; xfilter "/usr/bin/spamc -x -u $USER" ; include "/storage/mail/$USER/.mailfilter" ;

Dominik

Paul Dlug schrieb:

I'm using maildrop to do delivery for all users on my mail server. No actual accounts exist so maildrop is running as the user 'vmail' and delivering into each mailbox. Is there any way to have a per-user maildroprc in this configuration? I somehow need to provide support for vacation messages and mail forwarding.

Or does anyone else have a strategy for supporting .forward files in sendmail with virtual users.