Summary:
query spam and email abuse block lists
Some organizations, such as the MAPS RBL and MAPS DUL, publish lists that identify potential sources of spam and email abuse. The blq utility is a Perl script that queries one or more of these lists to determine if a particular host is listed.
It works something like this ...
$ <strong>blq rbl,dul 127.0.0.2</strong>
127.0.0.2 : blackholes.mail-abuse.org : BLOCKED
127.0.0.2 : dialups.mail-abuse.org : ok