[Mimedefang] SA's Bayes and AWL DB formats and M IMEDefang

Jason Englander jason at englanders.cc
Fri Jun 20 13:59:01 EDT 2003


On Fri, 20 Jun 2003, Hannu Liljemark wrote:

> Uncommenting
>
> # BEGIN { @AnyDBM_File::ISA = qw(DB_File GDBM_File NDBM_File SDBM_File); }
>
> in the beginning of DBBasedAddrList.pm fixed the problem and
> everything is created using DB_File now.

Mail::SpamAssassin::DBBasedAddrList uses the perl module AnyDBM_File (read
'perldoc AnyDBM_File' for more info about it).  It's a wrapper around
other perl modules.

It's default list is:

NDBM_File DB_File GDBM_File SDBM_File ODBM_File

So, if you have ndbm and NDBM_File on that box, it'll use that first.
Your choices would be to do what you did (reorder the list) or to remove
NDBM_File.  If NDBM_File isn't there, it'll use DB_File.  If that isn't
there it'll use GDBM_File, and so on...

  Jason

-- 
Jason Englander <jason at englanders.cc>
394F 7E02 C105 7268 777A  3F5A 0AC0 C618 0675 80CA




More information about the MIMEDefang mailing list