Spamassassin and Autowhitelist
First a caveat. I'm a linux neophyte. Through trial and error, reading the message boards, and well more trial and error, I've managed to hobble together a spam filter gateway appliance.
I'm running Fedora Core 3 and Spamassassin 3.03 as a gateway to a Microsoft Exchange 5.5 box. All messages are being scanned via spamd
Everything is working beautifully.
Recently I turned on the autowhitelisting feature, and while it works, it doesn't work like I am expecting, so I am hoping someone here can enlighten me.
I wanted to use a systemwide autowhitelist (since there are no individual user mailboxes on my system). I modified /etc/mail/spamassassin/local.cf and added the following commands
auto_whitelist_path=/etc/mail/spamassassin/auto-whitelist
use_auto_whitelist=1
When I do a: spamassassin --add-addr-to-whitelist=joe@user.com
it puts it in this systemwide file correctly.
The problem is that spamd runs as the nobody user, and my system has created a second auto-whitelist file in /home/nobody/.spamassassin directory. This is the folder that is actually being used by the running system. Everything is working great using nobody's folder/file, except for the fact when I attempt to manually edit the score's via the add-addr command, it adds it to the correct but unused folder in /etc/mail/spamassassin/auto-whitelist
What am I missing here? Is there a way I can instruct spamd to use the systemwide autowhitelist as opposed to nobody's autowhitelist? does the spamd process not look at the systemwide /local.cf file for its paths?
I suppose that I could simply set the systemwide AWL directory to /home/nobody/.spamassassin but that seems like a kludge.
Kukempo
|