Page 1 of 1

Uriskip, software

Posted: 17 May 2019 12:25
by nicola.piazzi
Hi,
I devepoped a piece of software, a sample script that create a list of most used 2nd level domains based on latest headers received
most used domains are checked for URIBL one time only and saved into a .cf that is used to skip URIBL check
so these domains most used are skipped and save tons of query , this can solve URIBL blocked problem !

This must be in crontab
# Uriskip, refresh list of excluded domains from uri check
01 02 * * 0 /etc/mail/spamassassin/uriskip.sh

And attached program into spamassassin dir

Re: Uriskip, software

Posted: 19 Jun 2019 13:03
by benscha
Ciao Nicola

Unfortunately the script ist not running on my efa box... i'll the the following output

Code: Select all

./uriskip.sh: line 10: 
: command not found
./uriskip.sh: line 42: 
: command not found
./uriskip.sh: line 43: 
: command not found
./uriskip.sh: line 47: 
: command not found
./uriskip.sh: line 48: 
: command not found
./uriskip.sh: line 52: 
: command not found
./uriskip.sh: line 53: 
: command not found
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
./uriskip.sh: line 58: 
: command not found
./uriskip.sh: line 59: 
: command not found
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
./uriskip.sh: line 63: 
: command not found
./uriskip.sh: line 64: 
: command not found
./uriskip.sh: line 70: syntax error near unexpected token `
'
./uriskip.sh: line 70: ` ((c++))
'
any idea? thx for your help

Re: Uriskip, software

Posted: 19 Jun 2019 13:07
by nicola.piazzi
You ran script as is or you modified it ?

Re: Uriskip, software

Posted: 19 Jun 2019 15:40
by benscha
actually i did not modified anything expect the VURIFIXED Parameter

Re: Uriskip, software

Posted: 19 Jun 2019 15:49
by nicola.piazzi
Yes, but what you have at line ./uriskip.sh: line 10:
: command not found
?

Re: Uriskip, software

Posted: 20 Jun 2019 09:40
by benscha
sorry Nicola

i shame on me... :liar: i found the error. the uriskip.cf file was missing! everything works fine now!

thx a lot! buon estate

Re: Uriskip, software

Posted: 20 Jun 2019 09:45
by nicola.piazzi
thank you,