[Spambayes] porting database

Tim Stone - Four Stones Expressions tim at fourstonesExpressions.com
Wed Feb 26 16:31:20 EST 2003

2/26/2003 4:29:28 PM, Skip Montanaro <skip at pobox.com> wrote:

>    Mark> As I understand things, both pickles and bsddbs are portable
>    Mark> across platforms.  Have you tried simply copying the database from
>    Mark> Outlook to wherever the other system is expecting it?
>Pickles, yes, bsddbs, not necessarily:
>    % file hammie.db
>    hammie.db: Berkeley DB (Hash, version 7, big-endian)
>I don't know if the Berkeley DB code can automatically handle differences in
>endianness, but the "big-endian" bit gives me pause.  Also, note that the
>Berkeley DB library versions need to be close enough on the two machines
>that they read and write files of the same version number.

dbExpImp.py handles all these problems.  - TimS

>Spambayes mailing list
>Spambayes at python.org

c'est moi - TimS

More information about the Spambayes mailing list