[Mailman-Users] Re: [Mailman-Developers] Re: [Mailman-Users] Possible Fix for password

Barry A. Warsaw bwarsaw at cnri.reston.va.us
Tue Mar 9 06:28:54 CET 1999


>>>>> "CL" == Christopher Lindsey <lindsey at ncsa.uiuc.edu> writes:

    CL> The password *is* being assigned, but it can't find it later.
    CL> If I do a

    CL>    strings $prefix/lists/test2/config.db | less

    CL> and search for the username with uppercase characters, it
    CL> comes up with a password on the next line...

BTW, because config.db is a Python marshal, you can get at the real
objects by doing the following (kind of gross) from $prefix:

% python
>>> import marshal
>>> d = marshal.load(open('lists/mylist/config.db'))

Now `d' is a dictionary which you can poke at to find all kinds of
useful information.

A little less gross is

% python
>>> from Mailman.MailList import MailList
>>> m = MailList('mylist', lock=0)

Now you can access attributes on m that are equivalent to the keys in
d above.

-Barry




More information about the Mailman-Users mailing list