2022-07-06 21:35:07 -06:00
|
|
|
#!/bin/bash
|
|
|
|
tail -n +5 /var/lib/rbldns/ahbl-rbldnsd/rhsbl.private.ahbl.org | \
|
|
|
|
grep '^[[:blank:]]*[^[:blank:]#;:]' |\
|
|
|
|
cut -d . -f 2- | \
|
|
|
|
egrep "^(([[:alpha:]](-?[[:alnum:]])*)\.)+[[:alpha:]]{2,}$" \
|
2022-07-12 10:20:04 -06:00
|
|
|
| grep "\S" \
|
2022-07-06 21:35:07 -06:00
|
|
|
| sort > /var/www/downloads.ahbl.org/rspamd/ahbl-badrep-domains.map
|
|
|
|
|
|
|
|
for i in `ls *.map`; do
|
|
|
|
rm $i.zst
|
|
|
|
zstd -19 $i
|
|
|
|
done
|