email stats.


Update 24 April 2006: Having proven that 90% of all my email is crap, I realized I haven't updated this in a year and turned off all the automated processes described in this page. It was a nice experiment, but now it's done.


Like many people, I get an obscene amount of spam every day. I’ve taken a lot of steps to make sure that I never see more than one or two a week, but I’m always curious - how much mail do I really get? And how much of it is spam?

Well, now I can answer those questions.

This page displays the output of my mail filtering program, procmail. Procmail routes my inbound mail into separate folders based on a set of rules, the most important of which is to run just about everything through SpamAssassin, a program to identify spam. If SpamAssassin tags an email as spam, Procmail directs it into a folder named spam. Using another program called mailstat, I can see how many messages procmail has moved into each folder. I then set up a cronjob to run mailstat once a night to upload the output of mailstat to my website.

It’s really much simpler than it sounds. Honest!

Below are mailstat statistics for this month to date, for the previous month, and a historical table. A quick legend: /var/spool/mail/brett is my inbox, everything else is a folder name.

Month to date

Updated every 4 hours:


  Total  Number Folder
  -----  ------ ------
6353051     606 /var/spool/mail/brett
3395666     225 junk
 347900     190 myia
26995676    2017 spam
  -----  ------
37092293    3038

Last month

Updated the first of each month:


  Total  Number Folder
  -----  ------ ------
26311697     765 /var/spool/mail/brett
 738299     121 junk
 430593     237 myia
30997896    2411 spam
  -----  ------
58478485    3534

History

Updated manually:

DateAccountsInboxNewsSpamTech ListGrand Total
May-0410 0.3%2466.6%42011.3%281875.9% 2195.9%3713
June-04130.4%1835.3%37110.7%212961.7% 75721.9%3453
July-04350.9%2145.8%3469.4%249167.8%58716.0%3673
August-04330.9%2326.1%40110.5%297578.2%1644.3%3805
September-04270.7%42411.0%621.6%288174.9%45211.8%3846
October-0490.2%40311.6%41611.9%252772.6%1273.6%3482
November-04100.3%3609.8%37810.3%275575.0%1694.6%3672
December-04130.4%44513.6%2216.8%242074.1%1665.1%3265
January-05130.4%34713.2%29611.3%176967.5%1967.5%2621
February-0550.1%2067.8%29711.3%196774.7%1596.0%2634
April-0540.1%20010.3%29515.3%127065.7%1658.5%1934
Grand Total1724.6%32609.0%35039.7%2600272.0%31618.8%36098

Historical data also available as an .xls spreadsheet.