I want to END the actual loaded filter file, if a previous filter file reached >10 points. Therefore I need rules in every file to check the score generated from previous filter file.
filter file -> My phrase filters Actually I dont have files named BLKLST*. Maybe I have a different naming system? Freundliche Grüsse ---------------------------------------------------------------------------- ---------- netfusion GmbH | Martin Schaible Mittelfeldstrasse 27 | CH-8700 Küsnacht | Switzerland Tel.: +41 44 391 30 00 E-Mail: <mailto:[email protected]> [email protected] Internet: <http://www.netfusion.ch/> www.netfusion.ch | <http://hosting.netfusion.ch/> hosting.netfusion.ch Helpdesk: <http://helpdesk.netfusion.ch/> helpdesk.netfusion.ch Wird sind auch auf Facebook präsent: <http://www.facebook.com/NetfusionGmbH> www.facebook.com/NetfusionGmbH ---------------------------------------------------------------------------- ---------- nfqrcode150x150 Von: [email protected] [mailto:[email protected]] Im Auftrag von David Barker Gesendet: Donnerstag, 15. Mai 2014 18:25 An: [email protected] Betreff: [MBF] Re: Getting the score of filters You are correct that the X-Declude-Tests are added after the filters have been run, so you cannot search for info in the Declude headers. Are you trying to determine which filters triggered and for what score ? Have you looked at the BLKLST*.txt file ? From: [email protected] [mailto:[email protected]] On Behalf Of Martin Schaible Sent: Thursday, May 15, 2014 10:55 AM To: [email protected] Subject: [MBF] Getting the score of filters Hello I have to reduce the load from our mail server. We have really tons of filters, which stresses the server sometimes really. You may say, use skipifweight xx in every file and you are good. We use this on the servers of our customers. For my own server, I cant do it this way. I need to know, how many points a certain filter file has generated. This data will show me, how good my filter files are (or not). I tried testsfailed, which give me an indication, if a filter was fired, but not the score. I tried this: # ==== If a different phrase file has given 2 digit points , don't continue ====================== # # -> example: bl-<FilterName>-00-eng [00] anywhere end pcre (?i:bl-.{4,15}-(00|01)-(pre|eng|fre|ger|source) \[\d{2}\]) # -> example: bl-country-ar-00 [00] anywhere end pcre (?i:bl-country-\w{2}-(00|01) \[\d{2}\]) I have a strict rule, how the names are of my filter files. Its easy, to get them with RexEx. Why I use anywhere? headers will never trigger. The reason for this might be the fact, that headers will read the data before declude adds the line X-Declude-Tests. Is this right? Is the way I read the the test data okay and efficient? 200 filter files wil have these checks. Many thanks Freundliche Grüsse ---------------------------------------------------------------------------- ---------- netfusion GmbH | Martin Schaible Mittelfeldstrasse 27 | CH-8700 Küsnacht | Switzerland Tel.: +41 44 391 30 00 E-Mail: <mailto:[email protected]> [email protected] Internet: <http://www.netfusion.ch/> www.netfusion.ch | <http://hosting.netfusion.ch/> hosting.netfusion.ch Helpdesk: <http://helpdesk.netfusion.ch/> helpdesk.netfusion.ch Wird sind auch auf Facebook präsent: <http://www.facebook.com/NetfusionGmbH> www.facebook.com/NetfusionGmbH ---------------------------------------------------------------------------- ---------- nfqrcode150x150
