corrupted db files?
David Relson
relson at osagesoftware.com
Tue Dec 31 19:22:12 CET 2002
At 01:12 PM 12/31/02, Fletcher Mattox wrote:
>Oh wait. I found the problem. It happens only with the Solaris bogoutil.
>If I run the linux bogoutil on the same database (via a shared NFS
>partition), the problem does not happen.
>
>solaris$ bogoutil -d /lusr/share/adm/sendmail/bogofilter/spamlist.db | head -5
>-- 33554432
>--########## 16777216
>--- 100663296
>---+part_boundary_20021224_151309 16777216
>---+part_boundary_20021226_045510 16777216
>solaris$
>
>linux$ bogoutil -d /lusr/share/adm/sendmail/bogofilter/spamlist.db | head -5
>-- 2
>--########## 1
>--- 6
>---+part_boundary_20021224_151309 1
>---+part_boundary_20021226_045510 1
>linux$
>
>I assume this means the Solaris bogoutil does not read the db file
>correctly.
Fletcher,
Ah! You're using nfs mounts. I'll bet your linux and solaris boxes are 1
each of big-endian and little-endian.
If you're a programmer, go find the code that does the endianness checking
and fix it and send me a patch. If you're not a programmer, I'll go take a
look.
Good detective work!
David
More information about the Bogofilter
mailing list