jannyg / rbl-checker

Perl tool that allows you to check your MTAs IP addresses against known blacklists.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rbl-checker

Tool allows you to check your MTAs IP addresses against known blacklists.

##This tool can

  • display the result
  • send result to email

##Settings

#####Configuration vars

  • $path_to_sendmail - your email program, e.g. '/usr/sbin/sendmail'
  • $email_to - email address that tool will send results to
  • $email_from - email address that tool will send results from
  • $email_subject - subject of such an email, e.g. 'RBL'

#####list-of-ips-to-check.txt

File contains a list of MTAs IP addresses that will be checked accross known blacklists. Please modify this file before usage.

#####blacklist.txt

File contains list of known blacklists.

##Usage

~> perl rbl-checker.pl [list-of-ips-to-check.txt] [blacklist.txt] [action]

Arguments:

  • list-of-ips-to-check.txt - path to file with list of IP addresses to check againts RBLs
  • blacklist.txt - path to file with list of known RBLs
  • action - can be display or email (for email please modify configuration vars in the script)

Example:

~> perl rbl-checker.pl list-of-ips-to-check.txt blacklist.txt display

##Cron

Add this tool to your crontab schedule and get results by email.

##Bugs

Please submit a new issue if found a bug.

##Known Blacklists

To add a blacklist, please modify file blacklist.txt.

To request a new blacklist to be added here, please submit an issue.

About

Perl tool that allows you to check your MTAs IP addresses against known blacklists.

License:GNU General Public License v2.0


Languages

Language:Perl 100.0%