spamassassin bayesian - db format

2005-06-13 Thread Chris Searle

Old woody system - the bayes files for spamassassin give the
following:

$ file *
bayes_seen: Berkeley DB (Hash, version 5, native byte-order)
bayes_toks: Berkeley DB (Hash, version 5, native byte-order)

New sarge system - perl's Tie::DB was failing - so I allowed it to
create new - returning

$ file *
bayes_seen: Berkeley DB (Hash, version 8, native byte-order)
bayes_toks: Berkeley DB (Hash, version 8, native byte-order)

Now - that's a lot of learning that's been going thru - is there an
easy way to convert from version 5 to version 8 ?

-- 
Chris Searle


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: spamassassin bayesian - db format

2005-06-13 Thread s. keeling
Chris Searle [EMAIL PROTECTED]:
 
  Old woody system - the bayes files for spamassassin give the
  following:
 
  $ file *
  bayes_seen: Berkeley DB (Hash, version 5, native byte-order)
  bayes_toks: Berkeley DB (Hash, version 5, native byte-order)
 
  New sarge system - perl's Tie::DB was failing - so I allowed it to
  create new - returning
 
  $ file *
  bayes_seen: Berkeley DB (Hash, version 8, native byte-order)
  bayes_toks: Berkeley DB (Hash, version 8, native byte-order)
 
  Now - that's a lot of learning that's been going thru - is there an
  easy way to convert from version 5 to version 8 ?

db_dump and db_load  ?


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)   http://www.spots.ab.ca/~keeling   Linux Counter #80292
- -   http://www.ietf.org/rfc/rfc1855.txt
Spammers! http://www.spots.ab.ca/~keeling/autospam.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: spamassassin bayesian - db format

2005-06-13 Thread Vincent Lefevre
On 2005-06-13 15:21:55 +0200, Chris Searle wrote:
 Now - that's a lot of learning that's been going thru - is there an
 easy way to convert from version 5 to version 8 ?

Perhaps with db4.2_upgrade from the db4.2-util package?
(Not tested -- use it at your own risk.)

-- 
Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/
100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: spamassassin bayesian - db format

2005-06-13 Thread Robert Storey
On Monday 13 June 2005 21:21, Chris Searle wrote:
 Old woody system - the bayes files for spamassassin give the
 following:

 $ file *
 bayes_seen: Berkeley DB (Hash, version 5, native byte-order)
 bayes_toks: Berkeley DB (Hash, version 5, native byte-order)

 New sarge system - perl's Tie::DB was failing - so I allowed it to
 create new - returning

 $ file *
 bayes_seen: Berkeley DB (Hash, version 8, native byte-order)
 bayes_toks: Berkeley DB (Hash, version 8, native byte-order)

 Now - that's a lot of learning that's been going thru - is there an
 easy way to convert from version 5 to version 8 ?

I'm not sure, but see man sa-learn, especially the part about the backup 
and restore options.

regards,
Robert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]