> -----Original Message-----
> From: Ian Douglas [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 30, 2003 1:17 PM
> To: SpamAssassin list
> Subject: [SAtalk] [RD] tiny comment 'gaps'
> 
> 
> Hey all,
> 
> Got a spam with a whole bunch of <!A> or <!H> or some other 
> letter of the
> alphabet separating various 'catch' words/phrases.
> 
> I'd like to do something like this:
> 
> body      COMMENT_GAPS_1    /<\![A-Z]>/i
> describe  COMMENT_GAPS_1    <!A> <!B> etc
> score     COMMENT_GAPS_1    0.1
> body      COMMENT_GAPS_2    /<\![A-Z]>{2}/i
> describe  COMMENT_GAPS_2    2 occurences
> score     COMMENT_GAPS_2    0.5
> 
> But not sure if I need to \ the ! for the regexp? I'd also 
> like to increase the
> score as more and more of them are found.
> 
> This doesn't seem to work for me though, any comments would 
> be appreciated.
> 
> Also, what exactly is "spamassassin --lint" supposed to do 
> for me when I point
> it at my rules file? It always just returns to the shell 
> prompt, never outputs
> anything.
> 
> -id
> 

You might find this one of mine handy:

rawbody MY_HTML_OBFU /<!?\-?\-?[a-zA-Z0-9]{8,}>|<[^pbiu]>/i
describe MY_HTML_OBFU too long or short HTML comments
score MY_HTML_OBFU 1.55

Also Spammassassin -d --lint is only going to say something if you get a
syntax wrong. So your doing a great job if you don't get anything. That is
what you want. 

hth

Chris Santerre 
System Admin and SA Custom Rules Emporium keeper 
http://www.merchantsoverseas.com/wwwroot/gorilla/sa_rules.htm 
"A little nonsense now and then, is relished by the wisest men." - Willy
Wonka 


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