Spam filtering with SpamBayes on an IMAP server
Please see http://wiki.github.com/dabrahams/server-side-spambayes for instructions.