Re: What do I do to fix this? bayes db update ignored: Permission denied

2016-03-03 Thread Robert Chalmers
ok, thanks all. I think I have it. zeus:bayes_db robert$ ls -la total 6528 drwxr-xr-x 5 spamuser wheel 170 3 Mar 15:35 . drwxrwxrwx 3 root wheel 102 3 Mar 14:37 .. -rw-rw 1 spamuser wheel49632 3 Mar 16:22 bayes_journal -rw-rw 1 spamuser wheel 176128 3 Mar 1

Re: What do I do to fix this? bayes db update ignored: Permission denied

2016-03-03 Thread RW
On Thu, 3 Mar 2016 15:35:38 + Robert Chalmers wrote: > So what exactly is the ?kludge? - given that mostly I followed the > Wiki and various other setup guidelines? I?m not doing per user > configs, but site wide. If you are running spamd as spamuser the files, and the directory they are in,

Re: What do I do to fix this? bayes db update ignored: Permission denied

2016-03-03 Thread Tom Hendrikx
Hi, you probably messed up the permissions by running sa-learn or any other tool that messes with the bayes files directly (i.e. not via spamd) as root. Your changes work because they allow read/write access to anyone on the system, which is not very secure. Best would be to do something like:

Re: What do I do to fix this? bayes db update ignored: Permission denied

2016-03-03 Thread Robert Chalmers
ok, I can see that. Interesting I missed it on the set up So, I’m running on OSX, and have to use plist files to start processes. The spamd owner is ‘spamuser’ - ( just because I did…. and as it’s not used outside that, I may as well leave it as such.) /opt/local/bin/daemondo

Re: What do I do to fix this? bayes db update ignored: Permission denied

2016-03-03 Thread RW
On Thu, 3 Mar 2016 14:46:33 + Robert Chalmers wrote: > > /var/spamassassin/bayes_db > > drwxr-xr-x 3 root wheel 102 3 Mar 14:37 . > drwxr-xr-x 28 root wheel 952 23 Jan 15:58 .. > drwxr-xr-x 5 root wheel 170 3 Mar 14:37 bayes_db > > > -rw-rw-rw- 1 root wheel 2304 3 Mar

Re: What do I do to fix this? bayes db update ignored: Permission denied

2016-03-03 Thread Robert Chalmers
ah. So as in local.cf # Bayesian classifier auto-learning (default: 1) # bayes_auto_learn 1 bayes_path /var/spamassassin/bayes_db/bayes bayes_file_mode 0777 bayes_auto_learn_threshold_nonspam -0.001 bayes_auto_learn_threshold_spam 9.0 /var/spamassassin/bayes_db drwxr-xr-x 3 root wh

Re: What do I do to fix this? bayes db update ignored: Permission denied

2016-03-03 Thread Reindl Harald
Am 03.03.2016 um 15:30 schrieb Robert Chalmers: ok, I fixed it, but what is it recording ??? tail -f bayes_journal t 1457015338 ba89bf20a0 t 1457015338 f5539dc198 t 1457015338 11973086ed http://spamassassin.apache.org/full/3.4.x/doc/sa-learn.html the timestamps when a token was last seen h

Re: What do I do to fix this? bayes db update ignored: Permission denied

2016-03-03 Thread Robert Chalmers
ok, I fixed it, but what is it recording ??? tail -f bayes_journal t 1457015338 ba89bf20a0 t 1457015338 f5539dc198 t 1457015338 11973086ed > On 3 Mar 2016, at 14:22, Robert Chalmers wrote: > > /var/spamassassin/bayes_db/bayes_journal Robert Chalmers rob...@chalmers.com

What do I do to fix this? bayes db update ignored: Permission denied

2016-03-03 Thread Robert Chalmers
Should this set of directories be globally writable? Or writable by spamd? or postfix? spamd[298]: bayes: cannot write to /var/spamassassin/bayes_db/bayes_journal, bayes db update ignored: Permission denied Robert Chalmers rob...@chalmers.com .au Quantum Radio: