On Fri, 2 May 1997 08:03:41 -0700 (PDT),
R Lindberg & E Winnie <rlindber(_at_)kendaco(_dot_)telebyte(_dot_)com> wrote:
I am sorting incoming mail, I have a -large- spam set. What I want to do
is log the match, so I know which formula nailed the spam. If I do verbose
on I also get all the non-matches logged, which I don't want.
Is what I want to to possible, if so, how?
LOG="this is stuff I want written to the log: $MATCH
"
Here's a more authentic example from one of my own spam filters:
:0
* ^To: ['"]*\/(((you|nobody|all|friends?|list)\>|every|any|some|recip).*|\
.*[24]u@|@)
{
LOG="spamreject: To: $MATCH
"
:0:
$SPAMFOLDER
}
(Don't use this until after you've sorted out mailing lists you +want+
to be on which contain "all" or something in their name. I usually try
not to send anything I'm not 100% certain about to /dev/null.)
/* era */
--
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r. <http://www.iki.fi/~era/>
* Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>