The filter will not trigger (or be found in the headers) unless it reaches a minimum of 10 points, it is the FINAL score that is counted. Example if these 4 rules triggered in the same filter the total would be 6 so the filter would not trigger.
MINWEIGHTTTOFAIL 10 Rule1 3 PCRE (regex) Rule2 7 PCRE (regex) Rule3 -10 PCRE (regex) Rule4 6 PCRE (regex) 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 5:00 PM To: [email protected] Subject: [MBF] AW: Checking for an amount pf points Hi David, That was very helpful, thank you. For Filter-A: If MINWEIGHTTTOFAIL 10 was not reached, The filter is not visible in the headers as Filter-A [5]. Meaning, all or nothing? 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 ---------------------------------------------------------------------------- ---------- Von: [email protected] <mailto:[email protected]> [mailto:[email protected]] Im Auftrag von David Barker | Mail's Best Friend | 1-866-919-2075 Gesendet: Freitag, 11. Dezember 2015 23:28 An: [email protected] <mailto:[email protected]> Betreff: [MBF] Re: Checking for an amount pf points 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]> [mailto:[email protected]] On Behalf Of Martin Schaible Sent: Friday, December 11, 2015 3:29 PM To: [email protected] <mailto:[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 ---------------------------------------------------------------------------- ----------
