On Sat, 2003-08-02 at 03:30, Jim Knuth wrote:
> ----- Original Message ----- 
> From: "Robert Menschel" <[EMAIL PROTECTED]>
> To: "Jim Knuth" <[EMAIL PROTECTED]>
> Cc: "SA List" <[EMAIL PROTECTED]>
> Sent: Saturday, August 02, 2003 4:06 AM
> Subject: Re: [SAtalk] No subject?
> 
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > Hello Jim,
> > 
> > Friday, August 1, 2003, 3:52:09 PM, you wrote:
> > 
> > JK> Hi,
> > JK> how can I make a rule against:
> > JK> "No subject"
> > 
> > What do you mean by "No subject"?  Do you mean exactly that text in the
> > subject header?  Do you mean an email that has no subject header? Do you
> > mean an email that has an empty subject header?  Or do you mean something
> > else?
> 
> :-) I mean an Email without  "normal" subject.
> 
> 
Need to be careful here, I've recently seen spam with nothing but a mile
of whitespace and a . in the subject

#test for a subject line
header __L_HAS_SUBJECT exists:Subject
#test for a subject with at least 1 letter or number in it
header __L_TXT_SUBJECT Subject =~ /\w/

meta L_NO_REAL_SUBJ (!__L_HAS_SUBJECT || !__L_TXT_SUBJECT)
describe L_NO_REAL_SUBJECT Message has no real subject
score L_NO_REAL_SUBJECT 0.3

untested, but should work. I would suggest keeping the score low, lots
of people forget the subject sometimes, including me :)

-- 
Yorkshire Dave


-- 
Scanned by MailScanner at wot.no-ip.com



-------------------------------------------------------
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