[my idea]
> I can envision a couple of tests of "To" headers that might catch a bit
> more spam.  Examples:
>
>   * mail to any address not recognized as mine should earn 0.5 - 1.0
>     points; this could be improved by having a "recipient whitelist"
>     where you put known recipients, including mailing lists you're o

[Charlie Watts reacts]
> How does spamassassin know your address? This is a nice test, but how do
> you get your addresses into spamassassin?

Well, I've whipped up a very ad-hoc version already:

  header TO_UNKNOWN To !~ /gward|greg/
  describe TO_UNKNOWN To: header points to someone else
  score TO_UNKNOWN 0.8

Obviously this will only work for me, and it will unfairly malign most
mailing list messages.  It's a start, though.

A better idea is the recipient whitelist.  Just as you can give SA a
list of "known good" senders, how about a list of "known good"
recipients.  This would contain both your personal addresses and the
addresses of mailing lists you're on.  If a message comes in that
doesn't mention any of your known recipients in either "To" or "Cc",
then it earns a point or two.

This doesn't feel like something that could be done in a regex.  It
should also probably have a default score of 0, because it would require
some manual labour to setup the recipient whitelist.  Still, sounds like
an idea worth pursuing.

[me again]
>   * mail to any /(hotmail|msn|yahoo|...).com/ address should earn a
>     point or so

I think the above idea were properly fleshed out, this one would be
unnecessary.

        Greg
-- 
Greg Ward - Python bigot                                [EMAIL PROTECTED]
http://starship.python.net/~gward/
Know thyself.  If you need help, call the CIA.

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to