amispammer(1) | User Manuals | amispammer(1) |
amispammer - The way to know if your MX IPs are blacklisted
amispammer [ -v 0|1 ] [ -i <IPaddress> | -d <domain> ] [ -T 0|1 ] [ -f emailfrom -t emailto -s smtp_server ] [ -h ]
amispammer is a tool to check via command line if an IP address or domain MX IPs appear currently on any blacklist because of spam reported/reputation.
The main target to use it are system admininistrators or security officers/consultants who want to check by command line whether an IP address they are responsible or they are auditing (respectively) is blacklisted.
To get it, amispammer will check in over 90 popular blacklisting lists, used by almost every antispam professional devices and software.
Optionally, it is possible to send an email to some recipient when it finish the checks with the different lists where the IP address appears. This is very useful if this task is done automatically by night for example, or even more frequently, in organizations where email has critic importance. It will only send an email in case the IP add ress appears in some blacklist.
If no IP/domain is supplied with -i or -d flags, amISpammer will assume it has to check the public IP address from it is being executed, and it will detect it automatically
0 (by default if nothing is specified) -> It will just show blacklists where the IP address appears as reported. In this mode, we will be able to send an email with results.
1 -> It will show on terminal every blacklist and the result of checking one by one (blacklisted/not blacklisted)
30 4 * * * /usr/bin/amispammer -i <A.B.C.D> -v0 -f emailfrom@from.com -t emailto@to.com >> /dev/null 2>&1
Next are needed perl modules:
Lorenzo Martinez Rodriguez <lorenzo at lorenzomartinez dot es>
Copyright (C) 2009-2010, Lorenzo Martinez Rodriguez
APRIL 2010 | Linux |