LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-10-2005, 04:49 PM   #1
kukempo
LQ Newbie
 
Registered: May 2005
Distribution: Fedora Core 3
Posts: 3

Rep: Reputation: 0
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
 
Old 06-12-2005, 01:27 PM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me - spamassassin newnewnew Linux - Software 1 09-04-2004 09:38 AM
Help me - spamassassin newnewnew Linux - Software 1 08-30-2004 05:57 AM
spamassassin w/ procmail vs. spamassassin w/sendmail bleunuit Linux - Networking 1 08-01-2004 07:12 AM
Spamassassin VincentB Linux - Newbie 0 02-29-2004 07:20 AM
Spamassassin help iBool Linux - Software 6 07-22-2003 07:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration