I love Mail.app's spam filter! I have set up an applescript that advances a web counter one "click" each time it runs and i display the counter on my website http://www.alex281.com/#junk
My problem is that Mail.app only runs the applescript once for each time it checks my mail regardless of how many messages it sees as junk. Is this the expected behavior of Applescripts in rules?
I can't take credit for the idea of a web spam counter, there was a hint on macosxhints.com that described how to set it up.