Hi Nicola, I'm not good at SHELL script language, but this might be fine:
1 - Save file into lista.txt 2 - trasform lista.txt in spamassassin rules: cat lista.txt | sed s'/http:\/\///' | sed s'/\/.*//' | sed s'/\./\\./g' | sed s'/^/\//' | sed s'/$/\\b\/i/' | nl | awk '{print "uri;RULE_NR_"$1";"$2" describe;RULE_NR_"$1";Url;presente;nella;Blacklist;Ramsonware score;RULE_NR_"$1";5.0" }' > listone.txt ;for i in $(sed -n p listone.txt) ; do echo "$i" ; done | sed s'/;/ /g' > blacklist.cf If anyone can optimize it, i'm happy. Alberto. -- View this message in context: http://spamassassin.1065346.n5.nabble.com/ramsonware-URI-list-tp122939p135313.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.