[Mimedefang] DBM database question

David F. Skoll dfs at roaringpenguin.com
Tue Jul 18 15:06:35 EDT 2006


Dan Massey wrote:

> Then 'makemap hash testfile < testfile' , so now I have a testdile.db as
> well with one entry int as such:

That's probably a Berkeley DB file, not a DBM file.

You can access it like this:

use DB_File;

my %hash;
tie %hash, 'DB_File', '/etc/mail/testfile.db';

# Do stuff with %hash

untie %hash;

--
David.



More information about the MIMEDefang mailing list