You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jake Colman <co...@ppllc.com> on 2005/05/25 22:26:18 UTC

Cannnot open bayes database permission denied

I am seeing this error in my maillog.  I followed the directions in the wiki
for creating site-wide bayes database, razor and pyzor.  I think I did it
correctly and yet I am getting this error.

My local.cf specifies 'bayes_path /etc/mail/spamassassin/bayes' and
'bayes_file_mode 0770'.

The .../spamassassin directory is owned by the 'spam' group and has
permissions rwxrwsr-x.  I use spamc/spamd which executes as the user to whom
the spam is addressd.  So each user has been added to the spam group as well.

Any suggestions what I may have missed?

-- 
Jake Colman
Sr. Applications Developer
Principia Partners LLC
Harborside Financial Center
1001 Plaza Two
Jersey City, NJ 07311
(201) 209-2467
www.principiapartners.com


Re: Cannnot open bayes database permission denied

Posted by Jake Colman <co...@ppllc.com>.
>>>>> "MK" == Matt Kettler <mk...@evi-inc.com> writes:

   MK> Jake Colman wrote:

   >> I am seeing this error in my maillog.  I followed the directions in the
   >> wiki for creating site-wide bayes database, razor and pyzor.  I think I
   >> did it correctly and yet I am getting this error.
   >> 
   >> My local.cf specifies 'bayes_path /etc/mail/spamassassin/bayes' and
   >> 'bayes_file_mode 0770'.
   >> 
   >> The .../spamassassin directory is owned by the 'spam' group and has
   >> permissions rwxrwsr-x.  I use spamc/spamd which executes as the user to
   >> whom the spam is addressd.  So each user has been added to the spam
   >> group as well.
   >> 
   >> Any suggestions what I may have missed?
   >> 

   MK> Are you handling that root's mail will be processed while executing as
   MK> "nobody"?

So 'nobody' should be added to the group as well?  Even still, it looks as if
even specific users are getting this permission error.

-- 
Jake Colman
Sr. Applications Developer
Principia Partners LLC
Harborside Financial Center
1001 Plaza Two
Jersey City, NJ 07311
(201) 209-2467
www.principiapartners.com


Re: Cannnot open bayes database permission denied

Posted by Matt Kettler <mk...@evi-inc.com>.
Jake Colman wrote:
> I am seeing this error in my maillog.  I followed the directions in the wiki
> for creating site-wide bayes database, razor and pyzor.  I think I did it
> correctly and yet I am getting this error.
> 
> My local.cf specifies 'bayes_path /etc/mail/spamassassin/bayes' and
> 'bayes_file_mode 0770'.
> 
> The .../spamassassin directory is owned by the 'spam' group and has
> permissions rwxrwsr-x.  I use spamc/spamd which executes as the user to whom
> the spam is addressd.  So each user has been added to the spam group as well.
> 
> Any suggestions what I may have missed?
> 

Are you handling that root's mail will be processed while executing as "nobody"?