I'm running SA via amavisd-new but can't get it to use bayes despite having
the appropriate lines in amavisd.conf
I get the same error message when I try to run sa-learn --rebuild
--force-expire as myself (I was running it as my user before installing
amavis)
[bob@linux .spamassassin]$ ls -l
total 2756
-rw------- 1 bob bob 1933 Mar 3 06:52 bayes_msgcount
-rw------- 1 bob bob 63315 Mar 3 06:52 bayes_seen
-rw------- 1 bob bob 3043328 Mar 3 06:52 bayes_toks
-rw-r--r-- 1 bob bob 252 Mar 2 06:37 user_prefs
[bob@linux .spamassassin]$ sa-learn --rebuild --force-expire
Cannot open bayes databases /home/bob/.spamassassin/bayes_* R/O: tie failed:
Cannot open bayes databases /home/bob/.spamassassin/bayes_* R/W: tie failed:
Inappropriate ioctl for device.
Running spamassassin 2.63, amavisd-new-20030616-p7, perl 5.8.3 under Mandrake
Linux 9.2
I suspect this problem appeared when I upgraded to some of the cooker RPMs to
get the later versions of SA and amavis - perl problem maybe?
Regards,
Bob
the appropriate lines in amavisd.conf
I get the same error message when I try to run sa-learn --rebuild
--force-expire as myself (I was running it as my user before installing
amavis)
[bob@linux .spamassassin]$ ls -l
total 2756
-rw------- 1 bob bob 1933 Mar 3 06:52 bayes_msgcount
-rw------- 1 bob bob 63315 Mar 3 06:52 bayes_seen
-rw------- 1 bob bob 3043328 Mar 3 06:52 bayes_toks
-rw-r--r-- 1 bob bob 252 Mar 2 06:37 user_prefs
[bob@linux .spamassassin]$ sa-learn --rebuild --force-expire
Cannot open bayes databases /home/bob/.spamassassin/bayes_* R/O: tie failed:
Cannot open bayes databases /home/bob/.spamassassin/bayes_* R/W: tie failed:
Inappropriate ioctl for device.
Running spamassassin 2.63, amavisd-new-20030616-p7, perl 5.8.3 under Mandrake
Linux 9.2
I suspect this problem appeared when I upgraded to some of the cooker RPMs to
get the later versions of SA and amavis - perl problem maybe?
Regards,
Bob