On 5/28/26 5:58 PM, Jeffrey Falkenstein via Mailman-Users wrote:
I'm happy with gaggle.email as a replacement so far. It's free for up to 200 
users.
After that they start a reasonable fee I think.
Importing the archive messages was easy enough. But I'm having trouble getting 
a members list to port over.
The Mailman 2.1.39 we've been on doesn't have an export members apparently.
So I performed the full account backup that dream hosts recommended, but can't 
find an identifiable members list in the output. Mbox file yes, any kind .csv 
file of members, no.
Thus my question is are there any suggestions to accomplish my goal?
thanks in advance,

The list's config.pck file is a Python pickle containing all list settings, membership, etc. You need Python to make sense of it, but something like the following interactive Python3 shell will do (Python 2 will work too). The _Mailman and _Bouncer classes are referenced by bounce info in the pickle so define dummys for them.

$ python3
<banner prints>

>>> import pickle
>>> class _Mailman:
...     __path__ = '.'
...
>>> class _Bouncer:
...     class _BounceInfo:
...         pass
...
>>> with open('/path/to/config.pck', 'rb') as fp:
...     dict = pickle.load(fp)
...
At this point, dict is a Python dictionary with members = all
list information. E.g.,
>>> attrs = list(dict.keys())
>>> attrs.sort()
>>> print(attrs)
will print all the list attributes in alpha order
>>> print(dict['members'])
will print the list's regular members
>>> print(dict['digest_members'])
will print the list's digest members

If you still have access to the lists on Dreamhost, see the scripts at <https://www.msapiro.net/scripts/mailman-subscribers.py> <https://www.msapiro.net/scripts/mailman-subscribers3.py>. These are Python 2 and Python 3 respectively scripts that will screen scrape the list admin interface to obtain membership lists. You need Python (2 or 3) to run them. They are the same other than the fact that mailman-subscribers3.py is Python 3 compatible.


--
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/[email protected]/
   https://mail.python.org/archives/list/[email protected]/
Member address: [email protected]

Reply via email to