Page 1 of 1

create Postfix IP Blocklists

Posted: 23 Jan 2018 12:05
by benscha
Hi Guys

i use some additional Blacklists wich i found on https://lists.blocklist.de/lists/ the lists will be updated frequently.

like for my other scripts i use the following folder structure

Code: Select all

home/
├── root/
       ├── scripts
              ├── learn
                     ├── ham
                     └── spam

Code: Select all

cd /home/root/scripts
#Download Mail Blacklist
wget https://lists.blocklist.de/lists/all.txt --no-check-certificate

#Add REJECT Your IP is spam
sed -i 's/$/\tREJECT Your IP is spam/g' /home/root/scripts/all.txt

#File nach postfix/client_checks kopieren
cp /home/root/scripts/all.txt /etc/postfix/client_checks

#Postmap convert
postmap /etc/postfix/client_checks

service postfix restart

rm -f /home/root/scripts/all.txt

Re: create Postfix IP Blocklists

Posted: 29 Jan 2018 04:13
by pdwalker
This blocklist looks useful.

However, I would prefer to test it out for a bit before committing to make it a regular part of my antispam shields, so I'm going to let spamassassin track how useful it is and how often it gets hit.

Adding the following to my /etc/mail/spamassassin/local.cf

## blocklist.de
header RCVD_IN_DNSBL_Blocklist_de eval:check_rbl('127.0.0.2','allinone.bl.blocklist.de')
describe RCVD_IN_DNSBL_Blocklist_de Sender listed on Blocklist DNSBL
tflags RCVD_IN_DNSBL_Blocklist_de net
score RCVD_IN_DNSBL_Blocklist_de 0.01

Let's see what it picks up over the next couple of days.

Re: create Postfix IP Blocklists

Posted: 12 Feb 2018 14:03
by benscha
@pdwalker do you have any numbers of hits from the blocklist?

Re: create Postfix IP Blocklists

Posted: 14 Feb 2018 14:32
by pdwalker
I do!

7 :lol:

On the bright side, 100% was spam!