uc plugin

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

uc plugin

Post by nicola.piazzi »

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
Attachments
uc.zip
(4.1 KiB) Downloaded 180 times
User avatar
pdwalker
Posts: 1583
Joined: 18 Mar 2015 09:16

Re: uc plugin

Post by pdwalker »

Oh my. Another plugin from Nicola to test and implement.

Thanks Nicola!
nicola.piazzi
Posts: 389
Joined: 23 Apr 2015 09:45

USE THIS NEW VERSION

Post by nicola.piazzi »

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* tables 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* tables
(at now there are 2 uc tables 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
Attachments
uc.zip
(4.42 KiB) Downloaded 201 times
nicola.piazzi
Posts: 389
Joined: 23 Apr 2015 09:45

PROJECT REMOVED

Post by nicola.piazzi »

I made a lot of databases with a lot of entry but i removed this project because too few hits
Post Reply