[rules.analysis.sh]

Questions and answers about how to do stuff
Post Reply
nicola.piazzi
Posts: 389
Joined: 23 Apr 2015 09:45

[rules.analysis.sh]

Post by nicola.piazzi »

This simple script create a csv file that can be pasted in an Excel file (rules.analysis.xlsx) to have a report of Score Hits so you can easly made score adjustments.

Put rules.analysis.sh in the folder that you want
Review 4 Parameters editing it (Mysql root password, Spam score threshold, Days to analyze from now, Spam score threshold)
Launch the script (it take several hours to run)
At the end copy resulted rules.analysis.csv and paste in csv folder of rules.analysis.xlsx
Attachments
rules.analysis.zip
(77.27 KiB) Downloaded 185 times
ovizii
Posts: 463
Joined: 11 May 2016 08:08

Re: [rules.analysis.sh]

Post by ovizii »

How does this differ from what I can see going to EFA => Reports (setting up my filters) => SpamAssassin Rule Hits?
nicola.piazzi
Posts: 389
Joined: 23 Apr 2015 09:45

Re: [rules.analysis.sh]

Post by nicola.piazzi »

Difference is that is in csv format and that it give spam/ham hits using a relative threshold

for example if a rule score of 2 in my script i count spam and ham not with threshold 4 but 4 + 2 so re
Post Reply