At 06:25 PM 10/3/2004, Asif Iqbal wrote:
I am not sure if it is a bug. Here is what I am experiencing.

The /etc/mail/spamassassin folder is 775 mode and spamd process owner is
in the part of the group of the spamassassin folder

But I had to change the owner of the bayes_* to the owner of the spamd
process to get rid of the bayes db R/O : tie failed error. Does not make
sense at all.

Also I am getting autolearn=failed. I became the owner of spamd process
and I were able to create a file on spamassassin folder. It really
smells like a bug.

Anyone else experienced it.

BTW my /etc/mail/spamassassin/local.cf says

bayes_path              /etc/mail/spamassassin/bayes
bayes_file_mode         0770

Thanks for any help/suggestion

1) You clearly are not running SA 2.30.. 2.30 didn't have bayes at all. Bayes (and autolearn) wasn't added until 2.50.


        So what version are you really running?

2) It is a misconfiguration to configure bayes_path to anything not involving ~/ without using bayes_file_mode 0777.

If you force a global bayes db, the owner of that file will change constantly, because spamd runs as different users at different times. The bayes DB MUST be globally RW if it's not in a path based on home directory.

The mask is also used in creating directories, so the mask has to be 777.

The directory itself must be globally rwx.







Reply via email to