Page 1 of 1

Script : generate_uriskip

Posted: 24 Feb 2021 17:24
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

Re: Script : generate_uriskip

Posted: 24 Feb 2021 17:27
by shawniverson
Another fine script from nicola.piazzi!

I need to gather all these up and make them options, a Nicola Settings section :D

Re: Script : generate_uriskip

Posted: 25 Feb 2021 11:17
by nicola.piazzi
updated version, requires install ripmime command but is more efficient in url scanning

Re: Script : generate_uriskip

Posted: 21 Nov 2021 20:19
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