bogofilter ham can be trained with POP/local mail, or with IMAP mail if you choose to keep local computer synced by cd-ing into the directory ($HOME/.evolution/mail/local/Inbox or $HOME/.evolution/mail/imap/<account>/folders/INBOX) and using either 'bogofilter -n </home/user/.evolution/mail/local/Inbox' or 'for file in [123456789]*; do bogofilter -n < $file; done' as appropriate.
-- Better spam filtering for evolution https://launchpad.net/bugs/9870 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs