Work too hard?! Nonsense! ASSP lives to bite spam! What a wonderful opportunity for me to spread misinformation . . . .
You MAY use the same regexes for each of these - but each test is for a different part of the message. Basically, if you use bombRe, you scan the whole message including headers and compare it against the supplied regexes. The other tests allow specific tests to be applied to specific message parts. If you're using bombRe, using THE SAME regexes in any of the other tests in addition to the global bombRe is redundant, inefficient, a terrible waste of computing resources, and destructive to the environment. But unless you've got some ridiculous maximum message size processing settings, I doubt you'll see a difference in processing time. Daniel bytehd wrote: > ok I will. > is it bad to have them all point to the same list? > is ASSP working too hard? > > > Fritz Borgstedt wrote: > >> >>> I noticed the presence of 5! bomb checks. >>> bombSenderRe >>> bombHeaderRe >>> bombRe >>> bombDataRe >>> bombSubject >>> -- Daniel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Assp-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-user
