1 message in net.sourceforge.lists.courier-maildrop[maildropl] Calling users' .mailfilte...
FromSent OnAttachments
Thomas SmithJan 28, 2004 2:14 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:[maildropl] Calling users' .mailfilter from global maildroprcActions...
From:Thomas Smith (to@openadventures.org)
Date:Jan 28, 2004 2:14:56 am
List:net.sourceforge.lists.courier-maildrop

FreeBSD 4.4-RELEASE qmail 1.03 vpopmail 5.4.0rc1 SqWebmail 3.3.5 maildrop 1.5.2

What I'm attempting to do is call a users' .mailflter from the domain-wide .qmail-default file of vpopmail. This is working correctly except for one thing: SqWebmail sets up the .mailfilter file's Maildir paths relative to the user's home directory. Since the .mailfilter is being called from the user's parent directory, maildrip tries to deliver the email to vpopmail/domain/domain.com/Maildir/--rather than vpopmail/domain/domain.com/user/Maildir.

Here's my .qmail-default:

| /usr/local/bin/maildrop .qmail-default-mailfilter

Here's my .qmail-default-mailfilter:

VHOME=`/usr/local/vpopmail/bin/vuserinfo -d $EXT@$HOST` MAILFILTER="$VHOME/.mailfilter" VPOP="| /usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox" logfile "/usr/local/vpopmail/domains/.maildroplog" log "EXT is $EXT" log "HOST is $HOST" log "VHOME is $VHOME" log "VPOP is $VPOP" log "MAILFILTER is $MAILFILTER"

if ( $SIZE > 0 ) { include "$MAILFILTER" }

to "$VPOP"

Can anyone offer suggestions, or pointers to docs, for making this work?