[Mailman-Users] Format of database?

Barry A. Warsaw bwarsaw at cnri.reston.va.us
Mon Mar 29 05:26:40 CEST 1999

>>>>> "JR" == John Reekie <johnr at eecs.berkeley.edu> writes:

    JR> Hi folks, what format are the configuration databases
    JR> for mailman in? Is it dbm?

    JR> Also, is there any documentation on the structure of
    JR> the db? I need to modify the db from another program.

Its raw, on-disk format is a Python marshal.  You can essentially do
the following to get a the database:

import marshal
fp = open('/home/mailman/lists/mylist/config.db')
dict = marshal.load(fp)


More information about the Mailman-Users mailing list