26 Jun
2021
26 Jun
'21
6:45 p.m.
On 6/23/21 7:45 AM, Andreas Barth wrote:
Thanks Mark, that's what I did. After the restart I needed to activate it on a per-list basis.
However, I'd prefer to be able to do that on global basis. Not a big issue, but still thought it worth asking.
You can do it with a mailman shell
script. Something like
>>> for mlist in getUtility(IListManager).mailing_lists:
... for archiver in IListArchiverSet(mlist).archivers:
... if archiver.name == 'prototype':
... archiver.is_enabled = True
...
>>> commit()
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan