uc plugin
Posted: 05 Oct 2016 16:43
Put 4 files under /etc/mail/spamassassin and chmod 777 uc*
Edit uc.inittable.sh and put your mysql root password
Execute it to create empty uc table under mailscanner database
Edit uc.load.sh and put your mysql root password
Put <YOURID> that registered in phistank site
Execute it to fill uc table
(at now uc table are filled by 2 site services as you can see in the script
This script run when you want because is check for each file changed before run
Run now, but later if you like you can put in cron)
Edit uc.cf and put your sa_user password, you can adjust later this minimal score
uc.pm doesn’t need change
This script have 2 good things :
1) Very very fast, it make an unique query in an unique indexed field for each hostname found in url
2) Bad hosts data now are loaded from 2 services host-file and phishtank, but is very very easy to add others
Edit uc.inittable.sh and put your mysql root password
Execute it to create empty uc table under mailscanner database
Edit uc.load.sh and put your mysql root password
Put <YOURID> that registered in phistank site
Execute it to fill uc table
(at now uc table are filled by 2 site services as you can see in the script
This script run when you want because is check for each file changed before run
Run now, but later if you like you can put in cron)
Edit uc.cf and put your sa_user password, you can adjust later this minimal score
uc.pm doesn’t need change
This script have 2 good things :
1) Very very fast, it make an unique query in an unique indexed field for each hostname found in url
2) Bad hosts data now are loaded from 2 services host-file and phishtank, but is very very easy to add others