Since 3.1.3 I get this error on a call to sa-learn
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Learning Spammail:
/home/e-smith/files/users/brianr/Maildir/.LearnAsSpam/cur/1153112667.P29360Q3M149088.bjsserver\:2,Sbayes:
expire_old_tokens: locker: safe_lock: cannot create lockfile
/var/spool/spamd/.spamassassin/bayes.mutex: Permission deniedbayes:
locker: safe_lock: cannot create lockfile
/var/spool/spamd/.spamassassin/bayes.mutex: Permission denied
Result of sa-learn: Learned tokens from 0 message(s) (1 message(s)
examined)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
This is the code that calls sa-learn:
my $result = `su - $key -c "/usr/bin/sa-learn --spam $filetolearn"`;
where (I guess) $key is the username. I didn't write this.
It worked fine for months on 3.1.2 and 3.1.1 and for a while on 3.1.3!
Any ideas?
--
Cheers
Brian
Reliable, secure and affordable Office servers using Open Source software
http://www.abandonmicrosoft.co.uk