Fix SpamAssassin Error on Mavericks Server 3

Every once in awhile Apple’s shitty Server 3 throws errors that prevent SpamAssassin from processing new spam. The error shows up when I run spam trainer. The error it throws looks like:

Fix it by issuing these commands from Terminal:

Set up Mavericks Server 3 for email and train bayes spam filter

OS X Mavericks 10.9 Server 3 ships with SpamAssassin, but there are almost no controls available to admins (shame on you, Apple). Of course, a well-trained Bayes spam filter will cut down on annoying spam messages.

Thanks to the good folks at topicdesk.com, it’s super easy to set up the server for training the onboard SpamAssassin bayesian spam filter.

Here’s how:
Continue reading