Evan Martin (evan) wrote in evan_tech,
Evan Martin
evan
evan_tech

nerding out: spamassassin cutoff

Gather your SpamAssassin scores:
trout:~/Mail/danga/spam/cur% grep 'X-Spam-Status' * | sed -e 's/.*hits=//' | sed -e 's/ .*//' > ~/n
Then, in R:
> n = read.table('n')$V1
> summary(n)
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
-38.800  -4.900  -4.900  -3.564  -1.400   4.000 

So if I lowered the cut off to 4, I'd have...
> length(n[n < 4]) / length(n)
[1] 0.9976526

99.7% accuracy.
> length(n[n < 3.5]) / length(n)
[1] 0.988263


Hmm...
One of the messages I'd lose, with a spam score of 3.9, is from my ex inviting me to dinner. I think it's 'cause it's HTML and it has a disclaimer footer inserted by her job.



(...am I posting too much?)
Subscribe

  • more on bug tracking; distributed editing

    A few separate posts, all in the same area. 1) Most (all?) the distributed bug tracking software I've glanced at stores bugs in a directory, one…

  • dvcs and offline

    I got a couple of comments on that previous post that betray a bit of a misunderstanding about how collaborative projects work in the presence of…

  • distributed bug tracking

    Distributed bug tracking is the natural extension of distributed version control. Aside from the normal benefits of distributed version control, like…

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 4 comments