Page 1 of 1

spamassasins: how add new DNSBL?

Posted: 23 Sep 2020 11:47
by enricosx
sorry , but i'm a noob.
i have EFA, ho can i add to spamassasin more DNSBL servers and how to check wich are enabled?

example:

all.s5h.net b.barracudacentral.org bl.spamcop.net
blacklist.woody.ch bogons.cymru.com cbl.abuseat.org
combined.abuse.ch db.wpbl.info dnsbl-1.uceprotect.net
dnsbl-2.uceprotect.net dnsbl-3.uceprotect.net dnsbl.anticaptcha.net
dnsbl.dronebl.org dnsbl.sorbs.net dnsbl.spfbl.net
drone.abuse.ch duinv.aupads.org dul.dnsbl.sorbs.net
dyna.spamrats.com dynip.rothen.com http.dnsbl.sorbs.net
ips.backscatterer.org ix.dnsbl.manitu.net korea.services.net
misc.dnsbl.sorbs.net noptr.spamrats.com orvedb.aupads.org
pbl.spamhaus.org proxy.bl.gweep.ca psbl.surriel.com
relays.bl.gweep.ca relays.nether.net sbl.spamhaus.org
singular.ttk.pte.hu smtp.dnsbl.sorbs.net socks.dnsbl.sorbs.net
spam.abuse.ch spam.dnsbl.anonmails.de spam.dnsbl.sorbs.net
spam.spamrats.com spambot.bls.digibase.ca spamrbl.imp.ch
spamsources.fabel.dk ubl.lashback.com ubl.unsubscore.com
virus.rbl.jp web.dnsbl.sorbs.net wormrbl.imp.ch
xbl.spamhaus.org z.mailspike.net zen.spamhaus.org
zombie.dnsbl.sorbs.net

Re: spamassasins: how add new DNSBL?

Posted: 26 Sep 2020 14:59
by shawniverson
You have 4 options, in order of resource intensity.

Postscreen (kill it before it even gets considered)
Postfix (kill it before it reaches the rest of the system)
MailScanner (kill it during processing)
SpamAssassin (kill it during spam scoring)

Out of the box, a single RBL exists in /etc/postfix/main.cf as an example for Spamhaus.

We do need an easy way to add RBLs, lots to do :D

Here's a good write up on the spamassassin way:

https://www.aligrant.com/web/blog/2018- ... amassassin

Note we aren't using spamd. Do this instead to commit changes to local.cf and clear the SpamAssassin cache:

Code: Select all

sudo rm /var/spool/MailScanner/incoming/SpamAssassin.cache.db
sudo systemctl restart mailscanner

Re: spamassasins: how add new DNSBL?

Posted: 28 Sep 2020 11:03
by enricosx
thanks

Re: spamassasins: how add new DNSBL?

Posted: 30 Sep 2020 21:59
by marjohn56
I use blocklists in my firewall too, stops them before they even get to postfix!