Q: Problems with amavisd on lion server
Started getting these messages in the system.log recently:
May 9 02:52:16 xxxx org.amavis.amavisd[1609]: bayes: cannot open bayes databases /var/amavis/.spamassassin/bayes_* R/O: tie failed:
May 9 02:52:19 xxxx org.amavis.amavisd[1609]: auto-whitelist: open of auto-whitelist file failed: auto-whitelist: cannot open auto_whitelist_path /var/amavis/.spamassassin/auto-whitelist: No such file or directory
The files in /var/amavis/.spamassassin/have not been written to since the clean install of 10.7.3 server.
Any ideas?
Airport Extreme Simultaneous Dual-B, Mac OS X (10.7.5)
Posted on May 9, 2013 12:37 AM
From /etc/amavisd.conf:
$daemon_user = '_amavisd'; # (no default; customary: vscan or amavis), -u
$daemon_group = '_amavisd'; # (no default; customary: vscan or amavis), -g
org.amavis.amavisd.plist:
<key>UserName</key>
<string>_amavisd</string>
Thanks for the ideas.
Also getting this in system log right before the postfix/spawn: perl crash:
5/22/13 2:56:34.033 PM ReportCrash: DebugSymbols was unable to start a spotlight query: spotlight is not responding or disabled.
Going to rebuild spotlight on system disk to see if this goes away.Well it has stopped but that may not be why.
I finally tracked down the Perl crashes for greylisting and this solved those issues:
https://discussions.apple.com/thread/4038438?start=0&tstart=0
Since those perl crashes have stopped, now the amavis/spamassassin issues have gone too. Perhaps the crashing "spawn" of the greylisting was affecting stuff further down the line and causing the amavis issues to show up. But they are gone now too.
Hope this helps someone. Thanks to pterobyte for being there!
Peace,
Dan
Posted on May 22, 2013 12:37 PM