new Plugin [sadwl]

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

new Plugin [sadwl]

Post by nicola.piazzi » 13 Jun 2019 09:05

sadwl is a simple plugin that i made now
It create a sql table that have a list of combination fromdomain + reverse sender host domain
You can see this table using a table browser in Windows connected to efa MySQL and give a bonus or penality to each domain !

This plugin is very simple to install, unzip the contents of sadwl.zip into /etc/mail/spamassassin and run sadwl.inittable.sh to create table

Then download and connect this table sadwl using for example Database Browser, you can get it here :
https://www.etl-tools.com/database-brow ... rview.html
(this can be used also for other db on other machines)

Now you can see received email usage and give a score to future mails received from combinations
Pay attention to not give too much bonus to freemail domains !!!

Here a sample from my table

Cattura.PNG
Cattura.PNG (89.13 KiB) Viewed 947 times
Attachments
sadwl.zip
(3.62 KiB) Downloaded 26 times

ovizii
Posts: 456
Joined: 11 May 2016 08:08

Re: new Plugin [sadwl]

Post by ovizii » 13 Jun 2019 09:45

I'm sorry can you quickly explain what exactly this is: "reverse sender host domain"?
Do you take the IP of the sending server and do a reverse DNS lookup?

nicola.piazzi
Posts: 282
Joined: 23 Apr 2015 09:45

Re: new Plugin [sadwl]

Post by nicola.piazzi » 13 Jun 2019 10:32

yes

nicola.piazzi
Posts: 282
Joined: 23 Apr 2015 09:45

Re: new Plugin [sadwl]

Post by nicola.piazzi » 14 Jun 2019 14:41

New release correct a bug that doenst update after user assigning score
then added table maintanence that delete older record with low hiots and no score assigned
Attachments
sadwl.r2.zip
(3.84 KiB) Downloaded 26 times

Post Reply