On 10/9/2011 9:31 AM, Chris wrote:
> cd /home/chris/.spamassassin
> /usr/local/bin/sa-learn --backup > /home/chris/SABackup/backup.txt
Out of curiosity, is there a reason for the 'cd'? sa-learn gets the
database path from the config (or defaults to ~/.spamassassin/bayes).
The current directory
On Mon, 2011-10-10 at 01:03 +0100, RW wrote:
> On Sun, 09 Oct 2011 08:31:16 -0500
> Chris wrote:
>
> > I've been running the above command as a cronjob nightly for years now
> > suddenly in the past few days I've been getting this as the output of
> > the cronjob:
> >
> > bayes: cannot open bayes
On Sun, 09 Oct 2011 08:31:16 -0500
Chris wrote:
> I've been running the above command as a cronjob nightly for years now
> suddenly in the past few days I've been getting this as the output of
> the cronjob:
>
> bayes: cannot open bayes databases /home/chris/.spamassassin/bayes_*
> R/W: lock fail
>After a number of these, it dies with:
>
> bayes: encountered too many errors (20) while parsing seen lines,
> reverting to empty database and exiting
>
> ERROR: Bayes restore returned an error, please re-run with -D for more
> information
>
>.. which makes me sad. So, my question - is t