exempt addresses from spam trap
Brought to you by:
pjw
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?