Firewall locked you out of screensharing on OS X?

Sadly, I had this experience lately. Even though I had the firewall explicitly set to allow connections using Screen Sharing, for some reason my Mavericks OS X 10.9 server hiccuped and I couldn’t access it via screen sharing.

Here’s how I resolved my dilemma:

Continue reading

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:

ERROR: Bayes dump returned an error, please re-run with -D for more information
bayes: cannot open bayes databases /Library/Server/Mail/Data/scanner/amavis/.spamassassin/bayes_* R/O: tie failed: Permission denied

Fix it by issuing these commands from Terminal:

sudo chown -R amavisd:amavisd /Library/Server/Mail/Data/scanner/amavis/.spamassassin/
sudo chmod u+rw /Library/Server/Mail/Data/scanner/amavis/.spamassassin/bayes_seen
sudo chmod u+rw /Library/Server/Mail/Data/scanner/amavis/.spamassassin/bayes_toks