3 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] filtering on received...
FromSent OnAttachments
PollywogDec 14, 2004 9:09 am 
Devin RubiaDec 14, 2004 10:36 am 
PollywogDec 14, 2004 11:21 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] filtering on received headerActions...
From:Pollywog (lin@shadypond.com)
Date:Dec 14, 2004 11:21:38 am
List:net.sourceforge.lists.courier-maildrop

On 12/14/2004 06:36 pm, Devin Rubia wrote:

On Tue, Dec 14, 2004 at 05:09:27PM +0000, Pollywog wrote:

I have this filter in a file and the filter is called by maildrop for each email received:

FILTERS=$HOME/.filters

if ( /^Received:.*/ && lookup( $MATCH2, "$HOME/.filters/dat.badrcvd" )) { to "$HOME/Maildir/.Spam-rcvd/" }

[SNIP]

"^Received:.*" is MATCH

Did you mean "^Received: *!.*" ?

With that, "^Received: *" is MATCH and .* is MATCH2

I had it as "^Received: *!.*" but I changed it after it did not work. I will change it back and then work from there. My filters for "From" and "Subject" have "^Received: *!.*" but they have always worked, only the filter for the "Received:" header has given me difficulty.

thanks

8)