Hits on content filter rules
I have implemented many content filter rules. Some of them are dependent (eg. jump to another rule) and it becomes sometimes difficult inserting correctly a new rule among the others without affecting the existing ones. For sure some of them could be cancelled, due to many reasons (old habits no more in use, Mdaemon enhancements, and so on) but I don't know if all are still in use or if some have become stale.
It could be useful a counter showing the hits of a rule over a period in order to understand what could be eliminated.
MDaemon 16.5 has been updated to show the number of hits for each content filter rule.
One fairly simple way I have implemented to achieve this is with the following CF Rule action. With this level of detail you can see the rule hits and if certain sender/recipient are triggering it :-
Action01=add line to text file|"D:\data\MDaemon\CFilter\cftrig.csv","$RECIPIENT$,$SENDER$,$CURRENTTIME$,$FILTERRULENAME$,$EXITCODE$,$SUBJECT$,$SPAMSCORE$"