SpamBayes
In order to use SpamBayes to filter your e-mail, you can use the following template rules.
:0 fw:hamlock
| /usr/bin/sb_filter.py
This will add a new header to your e-mail, X-SpamBayes-Classification. You can then filter e-mail into separate mailboxes as usual:
MAILDIR=/home/you/Mail
:0
* ^X-SpamBayes-Classification: spam
spam
:0
* ^X-SpamBayes-Classification: unsure
unsure
This will create the mailboxes "spam" and "unsure".