Re: sa-learn --backup

2011-10-10 Thread Bowie Bailey
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). Th

Re: sa-learn --backup

2011-10-10 Thread Chris
cronjob: > > > > bayes: cannot open bayes databases /home/chris/.spamassassin/bayes_* > > R/W: lock failed: Interrupted system call > > ERROR: Bayes backup returned an error, please re-run with -D for more > > information > > > > The command line I'm u

Re: sa-learn --backup

2011-10-09 Thread RW
assin/bayes_* > R/W: lock failed: Interrupted system call > ERROR: Bayes backup returned an error, please re-run with -D for more > information > > The command line I'm using is: > > cd /home/chris/.spamassassin > /usr/local/bin/sa-learn --backup > /home/chris/S

sa-learn --backup

2011-10-09 Thread Chris
eturned an error, please re-run with -D for more information The command line I'm using is: cd /home/chris/.spamassassin /usr/local/bin/sa-learn --backup > /home/chris/SABackup/backup.txt Running with -D shows nothing and running from the command line works fine. What could be causin

Re: Specification of sa-learn --backup format

2006-12-19 Thread Theo Van Dinter
On Fri, Dec 15, 2006 at 11:53:34PM +, Nigel Frankcom wrote: > Cool - thanks Theo, is that in one of the FAQ's/Manuals somewhere? I don't think so (or else I would have just pointed you there ;)), but feel free to add it on the wiki. :) -- Randomly Selected Tagline: Backup aborted: Remove dis

Re: Specification of sa-learn --backup format

2006-12-15 Thread Nigel Frankcom
On Fri, 15 Dec 2006 17:26:50 -0500, Theo Van Dinter <[EMAIL PROTECTED]> wrote: >On Fri, Dec 15, 2006 at 11:12:21PM +0100, Georg Sauthoff wrote: >> t 1 0 1162501869 >> ^ a) ^ b) >> >> a) I guess some time format? > >Yes, UNIX standard sec

Re: Specification of sa-learn --backup format

2006-12-15 Thread Theo Van Dinter
On Fri, Dec 15, 2006 at 11:12:21PM +0100, Georg Sauthoff wrote: > t 1 0 1162501869 > ^ a) ^ b) > > a) I guess some time format? Yes, UNIX standard seconds since epoch (time_t). > b) the spam/ham token string? how encoded? partial sha1

Specification of sa-learn --backup format

2006-12-15 Thread Georg Sauthoff
Hi, I couldn't find the specification of the sa-learn --backup or sa-learn --dump format in the documentation. I am mainly interested in the spam/ham token string and their observed frequency (and the totals of tokens/messages). E.g. t 1 0 11625

Re: sa-learn --backup and --restore issue: duplicate key violations

2006-03-25 Thread C. Bensend
>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

sa-learn --backup and --restore issue: duplicate key violations

2006-03-24 Thread C. Bensend
Old mailserver New mailserver = OpenBSD 3.6 on AMD64OpenBSD 3.9 on AMD64 SpamAssassin 3.0.4 using files SpamAssassin 3.1.1 using SQL To begin testing, I did a 'sa-learn --backup > outfile' on the existi