Menu

#1 exempt addresses from spam trap

open
nobody
None
5
2003-01-26
2003-01-26
Anonymous
No

I wanted a way to exempt users (mostly lists) that get
trapped by my spam filter
I whipped up this

foreach /^(From|To|Cc): .*/
{
foreach (getaddr $MATCH) =~ /.+/
{
if (lookup($MATCH, "$HOME/.mailfilterlists"))
{
xfilter "$REFORMAIL -A'X-notspam: Good Sender'"
}
}
}

and put it before any checks for spam
then I put a rule into my .mailfilter to check for X-notspam

any better ideas?

Discussion


Log in to post a comment.