Dear people annoyed at spam,

I have an idea for a few rules, but I don't have any idea how to implement them.

Here's the idea. Practically all the "ham" I receive has a "signature" section at the bottom. The signature repeats the name and sometimes the email address in the "From: " header. On the other hand, spam usually doesn't have a signature, and when it does, it lists a "return address" completely different from the one in "From: " or "Reply-to: ".
Is there a way for SpamAssassin to match up the name in the "From: " header with a corresponding name in the signature block at the bottom ?
(the signature starts with a line that contains only "-- ", pronounced "return, dash, dash, space, return").


So I want rules like this:

"If there is an email address in the body or signature, and the last email address matches the Reply-To: address (or, if there is none, the From: address), score -0.2"
"If there is an email address after the signature line, but it matches neither the Reply-To nor the From, score +0.2".
[I'm not sure how to handle the case of *multiple* email addresses in the signature]
"If there is no "-- " signature-start line, score +0.2"
"If the first 2 words after the signature-start line matches the first 2 words in the From: address, it looks like a real name -- score -0.2".


How do I implement that ?

From: Chris Santerre
To: "Spamassassin-Talk (E-mail)"
Date: Fri, 25 Jul 2003 10:09:32 -0400
Subject: [SAtalk] [RD] rule discussion
...
Seeing all these rules has got me wanting to discuss them, and the posts regarding them will no doubt increase. So shall we continue to use SAtalk? I think we should. Maybe just put [RD] in the subject for rule discussion?

I did the wiki thing, That is kinda cool ;)

Chris Santerre
...
http://www.merchantsoverseas.com/wwwroot/gorilla/sa_rules.htm

I didn't know there was a wiki until you pointed it out. Cool. Thanks for setting up the wiki, AltGrendel. (Shouldn't http://exit0.us/ have a link to the wiki ?)


-- David Cary



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to