Caffeinate The World <[EMAIL PROTECTED]> writes: > My question was how would one go about storing those email addresses in > dbm format in the first place if one was to use from-dbm filter > directive.
Any tool that can create DBM files will work. There may be a simple tool that comes with gdbm that will do it. The key should be the email address and the value is an empty string (we don't use it). Here's a little Python program that takes a simple text file of email addresses, one per line, and creates a DBM file. You can use the contrib/printdbm program in the TMDA distribution to verify that the contents look correct. Just save this to disk, chmod it so it's executable and run it like this: $ makedbm test.db < file_of_email_addresses Give the output database any name you'd like. Be aware that on some platforms, the DBM support adds its own extension (you might end up with test.db.dbm, for instance) and on some platforms it will create two files. If you copy the database anywhere, make sure you copy both files. Tim
makedbm
Description: Create DBM from text
