check-rbl

Current version:
Updated: 11/Feb/2002

check-rbl can be used to see if the IP of some mail server is listed on a variety of RBL services.

This script uses host(1). Some flavours of host(1) assume that a hostname that begins looking like an IP address means to do a PTR (In-addr.arpa) lookup. It will not work.

This script will work with flavours of host(1) that respond with:

219.133.123.213.relays.ordb.org. has address 127.0.0.2
or
219.133.123.213.relays.ordb.org A       127.0.0.2
An example of the script's output:
207.0.62.11 is not in relays.mail-abuse.org
207.0.62.11 is not in blackholes.mail-abuse.org
207.0.62.11 is not in dialups.mail-abuse.org
207.0.62.11 is bad according to relays.osirusoft.com (127.0.0.4)
207.0.62.11 is bad according to spews.relays.osirusoft.com (127.0.0.4)
207.0.62.11 is not in orbs.dorkslayers.com
207.0.62.11 is not in relays.ordb.org
207.0.62.11 is not in blackholes.five-ten-sg.com
207.0.62.11 is bad according to bl.spamcop.net (127.0.0.2)
207.0.62.11 is not in relays.visi.com
207.0.62.11 is not in dev.null.dk
207.0.62.11 is not in blacklist.spambag.org
207.0.62.11 is not in inputs.orbz.org
207.0.62.11 is not in outputs.orbz.org
207.0.62.11 is bad according to blackholes.wirehub.net (127.0.0.2)
207.0.62.11 is not in dynablock.wirehub.net
207.0.62.11 is not in block.blars.org
207.0.62.11 is bad according to spammers.v6net.org (127.0.0.2)
207.0.62.11 is bad according to xbl.selwerd.cx (127.0.0.4)
207.0.62.11 is not in ipwhois.rfc-ignorant.org

Basic usage:
./check-rbl 207.0.62.11

This code is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for a particular purpose. Use at your own risk: In no event shall the author be liable for any direct, incidental or indirect damages.

Current version download:
    check-rbl (11/Feb/2002)

If you have any ideas, please email.

Home | Support Services | Marketing | Software | Info | Email