This is the command amispammer that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
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
-i <IP address>: IP address to check. In A.B.C.D format
-d <domain>: Domain to be checked. Useful when there are several MX records.
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
-T 0|1: Disable|Enable the queries using threads. Performance will be improved and
query time will decrease but more memory and CPU resources will be required. By
default -T 1 is enabled (with threads enabled)
-f emailfrom: email account (email@example.com) who will send the email
-t emailto: recipient email account (firstname.lastname@example.org) who will receive the email
-s smtp_server: SMTP Server IP Address where the email will be sent. By Default:
-v 0|1: Verbose detail.
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
1 -> It will show on terminal every blacklist and the result of checking one by one
-h To ask for program usage
30 4 * * * /usr/bin/amispammer -i <A.B.C.D> -v0 -f email@example.com -t firstname.lastname@example.org
>> /dev/null 2>&1
Next are needed perl modules:
Use amispammer online using onworks.net services