Calling All Spammers
I get a lot of spam, between 1000 and 1500 per day, but I wonder: is that really a lot of spam? I checked the Guinness site and there are no records listed related to spam so that didn't help answer the question. Failing there I decided the only reasonable thing to do at this point was to write a little program, collect some statistics, interpret the facts through a pair of specially designed rose colored glasses, and then draw some questionable conclusions.
Here's the script:
#!/bin/bash set +o posix tmp=$$.tmp trap "rm -f $tmp" EXIT find ~/Maildir/.Junk ~/Maildir/.Spam -type f | \ while read file do grep '^To:' $file done >$tmp cat \ <(grep '^To:' $tmp | grep '<' | sed -e 's/^To: [^<]*<//' -e 's/>.*//') \ <(grep '^To:' $tmp | grep -v '<' | sed -e 's/^To: //') \ | sed -e 's/@.*//' \ | sort --ignore-case | uniq --ignore-case --count | sort --numeric --reverse | head -n 15
This baby looks thru my spam folders (Spam and Junk) and extracts all the To: lines (my account is a bit of a dumping ground for email addresses), it then normalizes the email addresses, sorts them, counts the number going to each address, and finally outputs the top 15.
Here's the result for a low volume day:
LJ has been around for a while and so we can assume that we are a High Value Spam Target (HVST). Continuing with our Assumption OverReach (AOR) lets assume that each address gets spammed only once per day per spammer, meaning that at most there are 140 spammers in the world causing all of these problems?
This is most distressing, only 140 spammers??? Our universities are falling down on the job. Industry is failing to train new spammers. Old spammers are not mentoring new spammers.
This is a call to arms: Spammers of the World Unite! As a first step I'm going to organize a conference, spam me for details.
Mitch Frazier is an Associate Editor for Linux Journal.
|PostgreSQL, the NoSQL Database||Jan 29, 2015|
|HPC Cluster Grant Accepting Applications!||Jan 28, 2015|
|Sharing Admin Privileges for Many Hosts Securely||Jan 28, 2015|
|Red Hat Enterprise Linux 7.1 beta available on IBM Power Platform||Jan 23, 2015|
|Designing with Linux||Jan 22, 2015|
|Wondershaper—QOS in a Pinch||Jan 21, 2015|
- PostgreSQL, the NoSQL Database
- Sharing Admin Privileges for Many Hosts Securely
- HPC Cluster Grant Accepting Applications!
- Internet of Things Blows Away CES, and it May Be Hunting for YOU Next
- Non-Linux FOSS: Animation Made Easy
- Ideal Backups with zbackup
- Wondershaper—QOS in a Pinch
- Red Hat Enterprise Linux 7.1 beta available on IBM Power Platform
- Designing with Linux
- Slow System? iotop Is Your Friend
Editorial Advisory Panel
Thank you to our 2014 Editorial Advisors!
- Jeff Parent
- Brad Baillio
- Nick Baronian
- Steve Case
- Chadalavada Kalyana
- Caleb Cullen
- Keir Davis
- Michael Eager
- Nick Faltys
- Dennis Frey
- Philip Jacob
- Jay Kruizenga
- Steve Marquez
- Dave McAllister
- Craig Oda
- Mike Roberts
- Chris Stark
- Patrick Swartz
- David Lynch
- Alicia Gibb
- Thomas Quinlan
- Carson McDonald
- Kristen Shoemaker
- Charnell Luchich
- James Walker
- Victor Gregorio
- Hari Boukis
- Brian Conner
- David Lane