Karsten Bräckelmann wrote:
On Thu, 2011-05-26 at 15:02 -0400, Kris Deugau wrote:
Every so often we get a message or two stuck in our inbound mail queue
because it took too long for SA to process during mail delivery.
However, we've just had a couple of *legitimate* messages get stuck for
essentially the same reason - a whole lot of pathologically bad HTML.
Rings a bell. Such reports usually turned out to be caused by custom
rules. Any custom rawbody rules, in particular ones matching HTML tags,
Yes, a few.
or otherwise prone to trigger RE backtracking? (That is, may consume
large sub-strings, before a following sub-pattern.)
Mmmm. I don't *think* so, but testing the message on a stock SA 3.3.1
took "only" a minute (on slow hardware) vs 13 (on my much faster desktop).
I have a couple of instances of [a-z]+ and similar; is that effectively
as troublesome as .+ or .*?
... Hm. I also notice I have more custom local rules than there are
stock rules. I *really* need to get some testing infrastructure in
place to trim that list down. O_o
-kgd