How do I use bogofilter with MH-E (the Emacs interface to the MH mail system)?
The default setting of the ‘mh-junk-program’ option is ‘Auto-detect’ which means that MH-E will automatically choose one of SpamAssassin, Bogofilter, or SpamProbe in that order. If, for example, you have both SpamAssassin and Bogofilter installed and you want to use BogoFilter, then you can set this option to ‘Bogofilter’. The ‘J b’ (‘mh-junk-blacklist’) command trains the spam program in use with the content of the range and then handles the message(s) as specified by the ‘mh-junk-disposition’ option. By default, this option is set to ‘Delete Spam’ but you can also specify the name of the folder which is useful for building a corpus of spam for training purposes. In contrast, the ‘J w’ (‘mh-junk-whitelist’) command reclassifies a range of messages as ham if it were incorrectly classified as spam. It then refiles the message into the ‘+inbox’ folder.