4 messages in net.sourceforge.lists.courier-maildrop[maildropl] maildroprc & mailfilter
FromSent OnAttachments
Arthur KerpicianAug 21, 2004 5:00 am 
Sam VarshavchikAug 21, 2004 6:21 am 
Jim HornerAug 21, 2004 10:28 am 
Arthur KerpicianAug 21, 2004 11:33 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] maildroprc & mailfilterActions...
From:Arthur Kerpician (art@bluechip.ro)
Date:Aug 21, 2004 5:00:48 am
List:net.sourceforge.lists.courier-maildrop

I want to use the /etc/maildroprc file for global filtering (for example subjects tagged with [SPAM]) and then apply user's custom rules with .mailfilter. I am running qmail-1.03, vpopmail-5.4.5 and mail is delivered to /home/vpopmail/domains/domain.com/... In the user's directory I have the .qmail (|/usr/local/bin/maildrop) and .mailfilter. The problem is that maildrop runs the /etc/maildroprc and if the messages doesn't match any rules doesn't move to .mailfilter in the user's home dir to apply the custom set of rules. My /etc/maildroprc has:

-------------------------------- import EXT import HOST VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`

if (/^Subject: .*\[SPAM\].*/) to /home/vpopmail/domains/domain.com/spam/Maildir

-------------------------------- Maildrop man page explains how it reads first the /etc/maildroprc and then it moves to $HOME/.mailfilter. But in my configuration it doesn't...

Any help is appreciated. Arthur