You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Starckjohann, Ove" <st...@norddeutsche.de> on 2007/05/30 14:19:42 UTC

Custom rule against imageshack-spam

Hi!

Just wondered that my custom rule

body            OVE_BODY_IMAGESHACK /imageshack.us/i
score           OVE_BODY_IMAGESHACK 1

didn't work anymore from yesterday on...until that day it worked
"perfect" on thousands of mails.

Yesterday we got this: http://nopaste.biz/16534

and my rule didn't catch the "imageshack.us" anymore.

Then i changed my rule to 

full            OVE_BODY_IMAGESHACK /\bhttp:\/\/.*\.imageshack\.us/i
score           OVE_BODY_IMAGESHACK 1

and it worked again nice.

Did i get it right that a "body" rule ONLY looks into the textpart of a
html-mail-body and NOT into the html-part ?

Greetinx Ove Starckjohann



Re: Custom rule against imageshack-spam

Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
Starckjohann, Ove wrote:

> Then i changed my rule to
> 
> full            OVE_BODY_IMAGESHACK /\bhttp:\/\/.*\.imageshack\.us/i
> score           OVE_BODY_IMAGESHACK 1
> 
> and it worked again nice.

I'd use a uri rule instead of a full rule.


> Did i get it right that a "body" rule ONLY looks into the textpart of a 
> html-mail-body and NOT into the html-part ?

body rules are run against what would be the rendered text.


Daryl