Joe Edmonds Blog
   

Email

Subscribe
RSS



See more of joe's picks at ThisNext.
Shopcast
powered by
ThisNext


       
Sun, 23 Apr 2006

Spam Review Autoscrolling Viewer

Somewhat obsessive as I am, every week I review my spam folder. These are messages spamassassin has scored as spam. I don't want to miss any ham and, more importantly, I don't want to mess up spamassassin's bayes network.

I couldn't find a way to convince mozilla thunderbird to sort by spam score, so I wrote a perl script to read my Spam Maildir and display it in an 80-character-wide format with the columns [score, from, to, subject], sorted by "score" and "from". Then I use "less -m" to view review this report.

So far, so good. But the way I review it is to scroll slowly in the beginning and quickly toward the end. It's fairly unscientific. What I'd like to write is a program that scrolls through the entire list in X minutes, giving each message review time inversely proportional to its spaminess score. And I think it would need a pause button.

[] permanent link