7 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] checking all Received...
FromSent OnAttachments
PollywogSep 27, 2005 2:33 pm 
Tony EarnshawSep 27, 2005 10:48 pm 
Jay LeeSep 28, 2005 6:49 am 
PollywogSep 28, 2005 11:27 am 
PollywogSep 28, 2005 11:33 am 
Jay LeeSep 28, 2005 11:38 am 
PollywogSep 28, 2005 11:40 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] checking all Received: headersActions...
From:Pollywog (lin@shadypond.com)
Date:Sep 28, 2005 11:33:20 am
List:net.sourceforge.lists.courier-maildrop

On 09/28/2005 06:26 pm, Pollywog wrote:

I will try to find out how to do what you suggested, but it appears that only the first header is being examined:

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

dat.badrcvd consists of spam domains and IP addresses. It seems to work but only on the first "Received:" header and I can have Postfix deal with those (I use Postfix not Courier-MTA). I know I could have Postfix check all Received headers but would rather not do that primarily because I want to deal with it on a per-user basis.

I wonder if I could use "foreach" in order to have each "Received:" header examined even though weighted scoring is not exactly what I want to do.

8)