[EMAIL PROTECTED] wrote:
> On Thu, 30 Oct 2003 16:15:50 -0500, Fred   I-IS.COM <[EMAIL PROTECTED]>
> posted to gmane.mail.spam.spamassassin.general:
>
> Try adding an /s:
>
>   full    T_FOO    /<html.{60,100}<\/html>/is
>
> Normally the . in a Perl regular expression cannot match a newline,
> but adding the /s changes that.
>
> Hope this helps,
>
> /* era */



Thank you!  This works exactly as I hoped.


# Catch Image ONLY spams!
rawbody  __HTML_HAS_AHREF eval:html_tag_exists('a')
rawbody  __HTML_HAS_IMG  eval:html_tag_exists('img')
full  __HTML_LEN_90_275 /<html.{90,275}<\/html>/is
meta  IMAGE_ONLY_SPAM  (__HTML_LEN_90_275 && __HTML_HAS_AHREF &&
__HTML_HAS_IMG)
describe IMAGE_ONLY_SPAM  Short HTML message with IMG and A HREF
score  IMAGE_ONLY_SPAM  3.5



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to