----- Original Message -----
From: "Gorm Jensen" <[EMAIL PROTECTED]>
To: "spamassassin" <[EMAIL PROTECTED]>
Sent: Friday, July 18, 2003 9:54 AM
Subject: [SAtalk] Configure Bayes Path

> To get a single database instead of one for each user, I added
> "bayes_path /this/that/bayes" to the local.cf file. The database was
> formed and is being populated by sa-learn; however, when mail is
> evaluated, the error "Cannot open bayes_path /this/that/bayes R/O:
> Permission denied" is generated.
>
> Changing the local.cf entry to "/this/that" eliminated the error, but
> sa-learn started a new database at "/this/that_msgcount",
> "/this/that_seen" etc.
>
> Is this a bug, or am I configuring it wrong?


Not to state the bleedin' obvious, but that "Permission denied" thingy begs
to evaluate the permissions on your files/dirs. To toss a few ideas around:

1): sa-learn was run as root (or another "high" privileged user), so that
"/this/that_seen" etc. are owned by that user (and their umask 022), whereas
spamd runs as an unprivileged / lesser privileged user?

2): Does the user spam runs as have sufficient access to "/this/"? Again, if
you created "/this/" as root (or another "high" privileged user), spamd may
not have (write) access to it.

A simple output of "ls -la" on dir and files should clarify a lot.

- Mark



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to