2 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] (no subject)
FromSent OnAttachments
Courier MailDec 2, 2003 6:23 pm 
Devin RubiaDec 3, 2003 5:50 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: [maildropl] (no subject)Actions...
From:Devin Rubia (dev@thezone.net)
Date:Dec 3, 2003 5:50:40 am
List:net.sourceforge.lists.courier-maildrop

On Wed, Dec 03, 2003 at 10:24:54AM +0800, Courier Mail wrote:

My ~/.mailfilters/default looks like this:

if ( /^From: *!.*/ && lookup ($MATCH2, "drop.list")) { exit }

Where ~/.mailfilters/drop.list is a list of email addresses I want to block.. This doesn't work.. Is this a failure in understanding how maildrop works, or my maildrop is screwed up?

Q2, I tried doing this to my /usr/local/courier/etc/maildroprc and it wasn't too happy.. :-(

$ man maildropfilter [SNIP] filename is a name of a file con- taining a list of patterns. Note that filename is relative to the current directory, which is the home directory of the user when maildrop runs in delivery mode, or embedded mode. [SNIP]

So try putting ".mailfilters/drop.list" in your lookup command. You could also use "$HOME/.mailfilters/drop.list" if you want to make doubly certain.