On 1/10/20 11:16 PM, hansen@rc.org wrote:
I just moved from MM2 to MM3. I have some 50 lists I need to configure and they all need the same settings (private archives, max 2 recipients, etc.). I often add and remove lists. I'm pleased that I now can set domain-level templates, but I really need domain-level default list settings as well. The archived 'Deault values for new lists' thread indicates that a new version is needed to get this into the UI. Is there a back-door way to alter these defaults in the mean-time?
For lists you import from Mailman 2.1 using the mailman import21
command, the Mailman 2.1 list settings are applied to the Mailman 3 list.
As far as new lists you create in MM 3 goes, you can define more styles
to be applied to newly created lists. See
<https://mailman.readthedocs.io/en/latest/src/mailman/styles/docs/styles.html>.
However, you can't just create a style via mailman shell
as described
there because it won't persist. You need to create a plugin that
implements the style. See
<https://mailman.readthedocs.io/en/latest/src/mailman/plugins/docs/intro.html>
for info on this. Note the Components section discusses adding a plugin
implementing an IRule, but one implementing one or more IStyle classes
would be similar.
Another possibility, which I haven't tested but which may work is to
create Mailman 2.1 lists with the desired styles, but no members,
owners, moderators, etc and save their config.pck files. Then you should
be able to apply those settings to a Mailman 3 list using the mailman import21
command. This will probably still require fixing some things
on the MM 3 list such as Description, Information, Display name and
Subject prefix, but it may help.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan