Script : generate_uriskip

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

Script : generate_uriskip

Post by nicola.piazzi »

To reduce dns queryes can be useful to use verb uridnsbl_skip_domain to skip uribl search for safe domains

This is an example of .cf lines to use :
uridnsbl_skip_domain 3m.com abb.com acer.com ac.ma adobe.com adp.com aermec.com al.com amazon.ca amazon.com
uridnsbl_skip_domain anpdm.com apache.org apc.com apple.com avg.com avm.de avnet.com aweber.com azureedge.net blat.net

I made a script that examine all mail quarantine folder and search in each file for domains , then it pass to public whitelist and create automatically a .cf file to exclude your safe domains

This is very simple and can be in cron
Attachments
generate.uriskip.zip
(1.41 KiB) Downloaded 139 times
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Script : generate_uriskip

Post by shawniverson »

Another fine script from nicola.piazzi!

I need to gather all these up and make them options, a Nicola Settings section :D
nicola.piazzi
Posts: 388
Joined: 23 Apr 2015 09:45

Re: Script : generate_uriskip

Post by nicola.piazzi »

updated version, requires install ripmime command but is more efficient in url scanning
Attachments
generate.uriskip.zip
(1.71 KiB) Downloaded 154 times
keysteal
Posts: 20
Joined: 10 Nov 2018 07:25

Re: Script : generate_uriskip

Post by keysteal »

Hi, I don't understand if the .cf created by this script is automatic included in spamassasin's check. If not, can you explain me how can I use the .cf created ? Thx
Post Reply