You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Justin Mason <jm...@jmason.org> on 2005/07/08 18:33:50 UTC

Re: Regular expression whoops

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Matthew Newton writes:
> Hi,
> 
> OK, so I've had a fun (yeah right) week dealing with three mail hubs
> that are normally quite happy, and suddenly on Monday/Tuesday their load
> average goes up to 10+ for no apparent reason. Sometimes it looks like
> it is ClamAV that's the problem, sometimes exim, and sometimes SA. Argh!
> 
>   http://www.le.ac.uk/cc/mcn4/sa-re-whoops/
> 
> Finally, this morning, after a lot of log searching and trying to trace
> SA children that have frozen and are eating CPU, I find a single message
> that triggers the problem. It's just over 100k long, and 99% of it is
> line feeds.
> 
> Turns out that my lax use of \s* in four rules really didn't like this
> new type of message that's been arriving. Because it crashed SA, it
> never got logged in the exim logs, so incoming mail and spam detected
> looked "normal"!
> 
> Everything was fine with these rules until this strange message
> triggered them.  I guess that "*" _really_ isn't good to use (as people
> have said before), and that if you do use them they will come back to
> get you later!

Let me guess -- these were "full" rules, too?
yep, * really isn't a good thing to use. ;)

- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFCzqruMJF5cimLx9ARArpYAJwIlO/UgnLD8eHFC/a/S7gVOGZrrQCeMIiT
xK1FOaU8owDwSdK/jcHKv9M=
=8bEb
-----END PGP SIGNATURE-----


Re: Regular expression whoops

Posted by jdow <jd...@earthlink.net>.
From: "Matthew Newton" <mc...@leicester.ac.uk>

> On Fri, Jul 08, 2005 at 09:33:50AM -0700, Justin Mason wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > Let me guess -- these were "full" rules, too?
> > yep, * really isn't a good thing to use. ;)
> 
> Yes...!
> 
> Matthew

No - it is something that REALLY should get fixed.
{^_^}


Re: Regular expression whoops

Posted by Matthew Newton <mc...@leicester.ac.uk>.
On Fri, Jul 08, 2005 at 09:33:50AM -0700, Justin Mason wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Let me guess -- these were "full" rules, too?
> yep, * really isn't a good thing to use. ;)

Yes...!

Matthew


-- 
Matthew Newton <mc...@le.ac.uk>

UNIX and e-mail Systems Administrator, Network Support Section,
Computer Centre, University of Leicester,
Leicester LE1 7RH, United Kingdom