I'm running SA with Amavis-New and Postfix....and I did the same process!, but
doesn't work, I added all my users into a group, and then set this permissions

-rwxrwx---    1 root     groupspam         24576 Jun 16 13:56 bayes_seen
-rwxrwx---    1 root     groupspam        651264 Jun 16 13:56 bayes_toks

my directory is like this

drwxrwx---    2 root     groupspam          4096 Jun 16 13:44 spamassassin

the group "groupspam" has permissions RWX. I run sa-learn in a user acount, and
this just modify the ~/spamassassin/bayes_* files, if I erase this directory,
it is created

I tried with the database directory over /, and the bayes_file_mode with 0770,
but doesn't work

Please help me :(


Mensaje citado por Sean Kennedy <[EMAIL PROTECTED]>:

> [EMAIL PROTECTED] wrote:
>
> >Hi list!!
> >
> >I tried to share the Bayes databases with my users, and in my local.cf I put
> >this lines:
> >
> >bayes_path       /home/spamassassin/bayes
> >bayes_file_mode  0700
> >bayes_learn_to_journal  1
> >
> >but it doesn't work, I tried with the bayes_file_mode value set to 0070, and
> >nothing...
> >
> >the dir /home/spamassassin/bayes is owned by root, and It has the 0770
> >permissions, and I put all the users in a group X, so my dir entry is:
> >
> >drwxrwx---    2 root     X          4096 Jun 16 06:04 spamassassin
> >
> >But just root can root modify the databases after the sa-learn command....
> >
> >thanks!!
> >
> >
> Depending on the linux system, your users may not all be in the same
> group ( RH, for example, makes each user their own group by default ).
>
> I've gone through manually and added all my users to the bayes group (
> made it up ), then set the permissions on my bayes database appropriately.
>
> You could also set permissions to 777...but I recommend against this for
> obvious reasons
>


Attachment: binIed2uBizZt.bin
Description: PGP Public Key

Reply via email to