On Wed, 2008-03-05 at 11:02 -0500, Shelley Waltz wrote:
> I am migrating my Spamassassin 2.63 DB database to Spamassassin 3.1.9.

Wow, an ancient 2.63. You want to have a really close look (or two)
at the UPGRADE notes. Both sections, upgrading to 3.0 and 3.1 will be
important to you.

> I wish to convert the Bayes Berkley DB to Mysql database. My sa-learn
> does not have the "--backup" option to dump to text file. What is the
> proper way to do this?

Caveat: I have not migrated Bayes to SQL myself.

Anyway, you got the --backup option from sql/README.bayes, correct? I
believe this applies to SA 3.x Bayes only. More precisely, as I read it
based on a quick glimpse at the update instructions again:

First, upgrade your Bayes DB file as described in the Upgrade to 3.0
section. This includes some quick steps with the old SA version,
upgrading, and then some more commands to actually upgrade the DB using
the new SA version. After that, follow the instructions to migrate Bayes
to SQL storage.



char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a \x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}