Hi, >> 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, > or otherwise prone to trigger RE backtracking? (That is, may consume > large sub-strings, before a following sub-pattern.) > >> Has anyone got any suggestions for decreasing the load SA imposes trying >> to process one of these? > > Identify the bad boy. :)
Any tips on how to do that? When used in conjunction with amavis, is there a way to identify which rule consumes the most processing time, in the same way it can for bayes or SA overall? Thanks, Alex