Hi Matt,

I don�t know if I�m doing this correctly?

I followed the steps by Steven Stern, on 14 Jul 2004.

1. Create /var/spool/spamassassin, chown
"root:nobody", chmod 774.
2. Move all files from /root/.spamassassin into the
above and set ownership to root:nobody
3. Edit /etc/mail/spamassassin/local.cf and add
auto_whitelist_path
/private/var/imap/.spamassassin/auto_whitelist
Bayes_path /private/var/imap/.spamassassin/bayes

Then I checked the sa-learn �dump magic, I have

0.000 0 173 0 non-token data:nspam
0.000 0 1100 0 non-token data:nham

After half and hour and I checked again, those data
did increase.  So, I assume it�s working.  

I�m just wondering I didn�t remove any of those
.spamassassin directories.  It looks like the one with
cyrus as the owner is active.  The modified date do
change on those files. 
But the files in /var/spool/spamassassin are not being
updated, which I chown to "root:nobody"

I guess I don�t understand why change of ownership on
the inactive .spamassassin would make a difference?

Thanks.

Eleanor


--- Matt Kettler <[EMAIL PROTECTED]> wrote:

> At 02:10 PM 8/11/2004, E Cheung wrote:
> >I don't know why those data don't change when I
> have
> >set the autolearn on.  But I do see some of the
> >messages being autolearn=spam and ham in the
> headers.
> >
> >I see those data change when I use sa-learn
> --spam/ham
> >[spamfolder]
> >
> >Is there something I need to set in the local.cf?
> 
> Sounds like you're running sa-learn as a different
> user than your mail gets 
> processed as.
> 
> Remember.. SA uses the bayes DB of the user that
> executes SA, not the 
> recipient of the email. Also, if it finds itself
> running as root, it will 
> dump back to "nobody" for security reasons.
> 
> Check around using locate or find and see if you can
> find another 
> bayes_toks file on your system. 
> 
> 



        
                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

Reply via email to