Hi - in junk.c on the heirloom branch of s-nail is some interesting code to do both the two-token Bayes spam classification via the chained-junk-tokens option (as well as the usual single token), as documented in mailx.1 there. (Distributed as mailx in CentOS7.)
The main thing I'm wondering is whether there is any command to purge the junkdb in some way. I could not find anything about this, either in the code or the doc, but I know I could easily be overlooking something. Otherwise, growing without bound does not seem good ... The other thing I'm wondering is why this code is apparently moribund? Seems it hasn't been touched for ~10 years. https://sourceforge.net/p/s-nail/code/ci/heirloom/tree/ I couldn't find anywhere (e.g., someone on github) that the code had been taken up and currently maintained, although it's not the easiest thing to search for. The s-nail master branch has plugins to allow using "outside" spam filters, the usual spamassassin and bogofilter being mentioned, but these do not support multiple-token Bayes as far as I know. In fact, I do not know of any practical system (as opposed to academic examples or defunct code, namely dspam) that supports multiple-token Bayes. If there is anything out there, I'd love to know. Thanks for any information, and all your work. --best, karl (karl at freefriends dot org).
