amispammer(1)
โจ amispammer(1) โจ โ the blacklist check bestie ๐ฆ
๐ธ NAME ๐ธ
okay so amispammer is literally the way to know if your MX IPs are blacklisted ๐ no cap, it's giving clarity ๐ซถ
๐ SYNOPSIS ๐
amispammer [ -v 0|1 ] [ -i <IPaddress> | -d <domain> ] [ -T 0|1 ] [ -f
emailfrom -t emailto -s smtp_server ] [ -h ]
๐ DESCRIPTION ๐
okay so amispammer is a command line tool that checks whether an IP address or domain's MX IPs are currently sitting on any blacklist because of spam reports or bad reputation ๐ญ it's giving detective energy ๐ต๏ธโโ๏ธ
the main target audience is system admins and security officers or consultants who want to check, from the terminal, whether an IP they're responsible for (or are auditing) is blacklisted ๐ง main character energy for sure ๐
to get the goods, amispammer checks over 90 popular blacklisting lists, the same ones used by almost every antispam professional device and software ๐ฅ literally the whole industry is looking at these lists, so we should too ๐
optionally, it can send an email to someone once it's finished checking the different lists where the IP address shows up ๐ง this is SO useful if the task runs automatically at night, or even more often, in orgs where email is critical ๐ and fr fr it only sends an email if the IP address appears on some blacklist, so no spam about nothing ๐
๐ฆ OPTIONS ๐ฆ
-iโ the IP address you want checked, inA.B.C.Dformat ๐-dโ the domain to check ๐ธ super handy when there are several MX records ๐
If you don't pass an IP or domain with -i or -d, amISpammer just assumes you want the public IP of the machine it's running on, and it detects that automatically ๐ซถ
-Tโ0|1, which disables or enables the queries using threads ๐งต turning threads on makes things faster and cuts the query time, BUT it needs more memory and CPU ๐ญ by default-T 1is enabled, so threads are on unless you turn them off ๐ฅ-fโemailfrom, the email account (likesender@corp.org) that sends the email ๐-tโemailto, the recipient email account (likerecipient@corp.org) that receives the email ๐-sโsmtp_server, the SMTP server IP address where the email gets sent ๐ฎ by default it'slocalhost๐-vโ0|1, the verbose level ๐0(the default if you don't specify anything) โ only shows the blacklists where the IP address appears as listed ๐ in this mode you can send an email with the results โจ1โ shows every single blacklist on the terminal along with the result of checking each one (blacklisted or not blacklisted) ๐
-hโ asks for the program's usage info ๐ง
๐ CRON EXAMPLE ๐
okay so if you want it running automatically every night at 4:30, here's the vibe ๐
30 4 * * * /usr/bin/amispammer -i <A.B.C.D> -v0 -f emailfrom@from.com -t
emailto@to.com >> /dev/null 2>&1
๐ DEPENDENCIES ๐
you'll need these perl modules, bestie ๐
LWP::UserAgentNet::DNSEnglishgetopt.plthreadsthreads::sharedEmail::Sender::SimpleEmail::Simple::CreatorEmail::Sender::Transport::SMTP
๐ AUTHOR ๐
Lorenzo Martinez Rodriguez <lorenzo at lorenzomartinez dot es> โ the legend who made this ๐
๐ COPYRIGHT ๐
Copyright (C) 2009-2010, Lorenzo Martinez Rodriguez ๐ซถ
bye bestie, that's the tea โจ (manual from Linux, APRIL 2010, amispammer(1)) ๐ฆ๐
๐ฆ where this page comes from
- debian bookworm: amispammer 3.3-2.1 ยท GPL-3.0-only
- debian trixie: amispammer 3.3-2.1 ยท GPL-3.0-only
- ubuntu jammy: amispammer 3.3-2.1 ยท GPL-3.0-only
- ubuntu noble: amispammer 3.3-2.1 ยท GPL-3.0-only
- ubuntu resolute: amispammer 3.3-3 ยท GPL-3.0-only
- ubuntu stonking: amispammer 3.3-3 ยท GPL-3.0-only
- ๐ girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms