| 1 |
|
| 2 |
© Matteo Corti, ETH Zurich, 2009-2012 |
| 3 |
|
| 4 |
© Matteo Corti, 2009-2025 |
| 5 |
|
| 6 |
see AUTHORS for the complete list of contributors |
| 7 |
|
| 8 |
      |
| 9 |
|
| 10 |
# check\_rbl |
| 11 |
|
| 12 |
A Nagios plugin to check if an SMTP server is blacklisted |
| 13 |
|
| 14 |
## Note |
| 15 |
|
| 16 |
Some blacklister as Spamhaus ban DNS queries from public DNS |
| 17 |
resolvers as Google resulting in no host being listed. If you are |
| 18 |
experiencing problems with the plugin just try the DNS query with a |
| 19 |
tool as nslookup to check your DNS configuration. |
| 20 |
|
| 21 |
## Known bugs and problems |
| 22 |
|
| 23 |
Needs ```Data::Validate::Domain``` 0.12 to handle fully qualified host names with an ending dot (e.g., "example.org.") |
| 24 |
|
| 25 |
## Example |
| 26 |
|
| 27 |
``` |
| 28 |
check_rbl -H example.org -t 60 -c 1 -w 1 -s cbl.abuseat.org -s spamsources.fabel.dk -s mail-abuse.blacklist.jippg.org -s korea.services.net -s psbl.surriel.com -s dyna.spamrats.com -s noptr.spamrats.com -s spam.spamrats.com -s bl.spamcop.net -s pbl.spamhaus.org -s sbl.spamhaus.org -s xbl.spamhaus.org -s db.wpbl.info -s access.redhawk.org -s dnsbl.kempt.net -s rbl.schulte.org -s sbl-xbl.spamhaus.org -s zen.spamhaus.org -s dnsbl.dronebl.org -s dnsbl.spfbl.net -s z.mailspike.net |
| 29 |
``` |
| 30 |
|
| 31 |
### See also |
| 32 |
|
| 33 |
[Comparison of DNS blacklists](https://en.wikipedia.org/wiki/Comparison_of_DNS_blacklists) on Wikipedia for a list. |
| 34 |
|
| 35 |
## Bugs |
| 36 |
Please report any bugs or feature requests through the |
| 37 |
web interface at [https://github.com/matteocorti/check_rbl/issues](https://github.com/matteocorti/check_rbl/issues) |