Martin,
Here is an example of FILTER-B will not trigger if FILTER-A triggered. A------------------------------------------------- FILTER-A (This filter will only trigger if both rule1 and rule2 trigger) MINWEIGHTTTOFAIL 10 Rule1 5 PCRE (regex) Rule2 5 PCRE (regex) B------------------------------------------------- FILTER-B (Will not run if FILTER-A triggered) TESTSFAILED END CONTAINS FILTER-A Rule3 5 PCRE (regex) Rule4 5 PCRE (regex) ------------------------------------------------- The next example is the reverse FILTER-B will trigger if FILTER-A triggered. A------------------------------------------------- FILTER-A (This filter will only trigger if both rule1 and rule2 trigger) MINWEIGHTTTOFAIL 10 Rule1 5 PCRE (regex) Rule2 5 PCRE (regex) B------------------------------------------------- FILTER-B (Will run if FILTER-A triggered) TESTSFAILED END NOTCONTAINS FILTER-A Rule3 5 PCRE (regex) Rule4 5 PCRE (regex) ------------------------------------------------- Hope this is helpful. Sometimes thinking this through is not such an easy task, the logic can sometimes make your brain hurt. Always test to make sure it does what you expect. David Barker Mails Best Friend Email : <mailto:[email protected]> [email protected] Web : <http://www.mailsbestfriend.com/> www.mailsbestfriend.com Office : +1.866.919.2075 From: [email protected] [mailto:[email protected]] On Behalf Of Martin Schaible Sent: Friday, December 11, 2015 3:29 PM To: [email protected] Subject: [MBF] Checking for an amount pf points Hi If i go for testfailed end pcre (Myfilter), the trigger will be active without knowing how the score of myFilter is. It is important that the test needs e.g. 10 points and not less. I tried to check headersby checking the results of TESTSFAILEDWITHWEIGHTS with regex. It looks like that at the time the filtering is running, TESTSFAILEDWITHWEIGHTS is not written yet. The idea behind is, that MyRule2 will be skipped, if MyRule has a score of Low Spam (10 points) Any idea, how i can do this? Freundliche Grüsse ---------------------------------------------------------------------------- ---------- netfusion GmbH | Martin Schaible Mittelfeldstrasse 27 | CH-8700 Küsnacht | Switzerland Tel.: +41 44 585 22 54 E-Mail: <mailto:[email protected]> [email protected] Internet: <http://www.netfusion.ch/> www.netfusion.ch | <http://wiki.netfusion.ch/> wiki.netfusion.ch Portal: <http://portal.netfusion.ch/> portal.netfusion.ch Wird sind auch auf Facebook präsent: <http://www.facebook.com/NetfusionGmbH> www.facebook.com/NetfusionGmbH ---------------------------------------------------------------------------- ----------
