Passive Spam Block List
If you want to use this list on your mail server, tell it to query the psbl.surriel.com zone, in exactly the same way you would query other DNSBL zones, like sbl.spamhaus.org or list.dsbl.org. Anybody is free to use PSBL.
Exim: add the following to the acl_check_rcpt section:
deny message = $dnslist_text dnslists = psbl.surriel.comSendmail: add this to the m4 file:
FEATURE(`dnsbl', `psbl.surriel.com')Postfix: add the following to the smtpd_recipient_restrictions section:
reject_rbl_client psbl.surriel.comZmailer: for late rejection at rcpt stage:
_rbl0 rcpt-dns-rbl "psbl.surriel.com" _rbl1 test-rcpt-dns-rbl +
SpamassassinPSBL can also be queried from spamassassin. The following lines can be added to /etc/spamassassin/local.cf or your own ~/.spamassassin/user_prefs:
header RCVD_IN_PSBL eval:check_rbl('psbl-lastexternal', 'psbl.surriel.com.') describe RCVD_IN_PSBL Received via a relay in PSBL tflags RCVD_IN_PSBL net score RCVD_IN_PSBL 0 1.00 0 1.00This rule is included by default in spamassassin-3.3.0+, so you do not need to make any configuration changes to use PSBL with a recent spamassassin.
RsyncThe DNSBL can be rsynced as a plain text file.
$ rsync -z psbl-mirror.surriel.com::psbl/psbl.txt .