[Mailman-Developers] Config.db

Dan Mick Dan.Mick@west.sun.com
Fri, 30 Jun 2000 11:23:10 -0700


"Barry A. Warsaw" wrote:
> 
> >>>>> "agemo" ==   <agemo@agemo.cc> writes:
> 
>     agemo> I'd like to read the file config.db with a perl-program,
>     agemo> where I can read informations about the file format?
> 
> The config.db is a marshal[1] of a Python dictionary object.  The
> marshal format, however, is undocumented on purpose.  The contents of
> the dictionary are all the attribute/value pairs of the MailList
> instance.  See MailList.Save() and MailList.Load() for details.
> 
> -Barry
> 
> [1] http://www.python.org/doc/current/lib/module-marshal.html

Perhaps a portable method would be something like "dumpdb", perhaps 
modified slightly to be a little more parsing-friendly?  (if readonly
access is all that's required..)