On Mon, 20 Sep 2010 10:42:22 -0400, Randy Ramsdell <rramsd...@activedg.com> wrote: > Cédric Jeanneret wrote: >> Hello, >> >> I have an error with SA using autolearn plugin: >> Sep 20 12:25:06 hostname spamd[6157]: plugin: eval failed: bayes: (in >> learn) locker: safe_lock: cannot create tmp lockfile >> /home/USER/.spamassassin/bayes.lock.host.domain.ltd.6157 for >> /home/USER/.spamassassin/bayes.lock: Permission denied >> >> Is it possble to define the lockfile to, say, /tmp/ ? >> As I don't have only one user, it can be nice to set the lockfile >> somewhere else on the system, where SA process can write. I didn't see >> anything about such a configuration variable.... >> >> SA runs as "vmail" user, if it can help. >> >> Thank you ! >> >> C. > > SA can write to the users directories. You have something mis-configured
> or you hosed the perms in the directory. Hello, well, rights are a bit "hard", like : drwx------ 24 tengu tengu 1528 Sep 20 10:16 tengu More over, some users are virtual. I think all lock_files should be in mail directory.... like /mail/<username>/. There, SA should be able to lock files. So, is there a way to say to SA "Hey man, don't go in /home/<username> but in /..../ instead!" ? Thank you! Cheers, C.