10 Dec
2019
10 Dec
'19
6:42 p.m.
On 12/10/19 10:25 AM, Mark Sapiro wrote:
/opt/mailman/mm/bin/mailman shell
Welcome to the GNU Mailman shell
>>> import os
>>> import pickle
>>> for root, dirs, files in os.walk('/opt/mailman/mm/var/messages'):
... for fn in files:
... print(fn)
... with open(os.path.join(root, fn), 'rb') as fp:
... msg = pickle.load(fp)
... print(msg['Message-ID-Hash'])
...
The above is not visible in the HyperKitty archive in my prior reply in this thread. Trying again with markdown block quote to see if that works.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan