LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Spamassassin and Autowhitelist (https://www.linuxquestions.org/questions/linux-software-2/spamassassin-and-autowhitelist-332303/)

kukempo 06-10-2005 04:49 PM

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

twantrd 06-12-2005 01:27 PM

Have you tried modifying /etc/mail/spamassassin/local.cf to have:

whitelist_from abc@foo.com

That should be the way to do a systemwide autowhitelist. I apologize if I'm wrong...I haven't messed around with spamassassin that much. I just read that and that's what most people do.

Quote:

I'm running Fedora Core 3 and Spamassassin 3.03 as a gateway to a Microsoft Exchange 5.5 box
This is going to be my project in the near future. I'm surfing the web and not much info on how to set this up. Can you describe what you did? I appreciate it. Thanks much.

-twantrd


All times are GMT -5. The time now is 10:46 AM.