[Mailman-Users] Confusion with Mailman3 Config

Sebastian Kotthoff sebastian.kotthoff at rz.uni-mannheim.de
Sun Sep 10 15:35:52 EDT 2017


Thank you very much!
Mailman Shell is working now (-l is available in my shell, maybe little older - mailman 3.1)


Thanks,

Sebastian

On Fri, Sep 08, 2017 at 07:57:30AM -0700, Mark Sapiro wrote:
> On 09/07/2017 01:27 PM, Sebastian Kotthoff wrote:
> > 
> > after installing mailman3 successfully (took me 5 evenings), I'm now confused about the configuration.
> 
> 
> A more appropriate list for Mailman 3 is mailman-users at mailman3.org
> <https://lists.mailman3.org/mailman3/lists/mailman-users@mailman3.org/>.
> 
> 
> > But now, I like to change the default language of a list from English to German,
> > so that the German templates are selected.
> > 
> > I found some hint in URL: https://pythonhosted.org/mailman/src/mailman/commands/docs/create.html,
> > where they use a command line (mailman client or mailman shell?) to change the language during creation.
> 
> 
> A more up to date (and more nicely rendered) version of this is at
> <http://mailman.readthedocs.io/en/latest/src/mailman/commands/docs/create.html>.
> 
> 
> > This does not work for me, but the mayer point is, that I got lost between the different kinds of interfaces.
> 
> 
> There are currently no i18n translations for Mailman 3. Thus setting the
> list's preferred language to German will have no real effect.
> 
> 
> > It seems, that there are:
> > - Rest server API          - start via ".local/bin/ipython3" in my environment?
> > - Rest client API          - start via "ipython" ?
> > - mailmanclient / mmclient - start via "python manage.py mmclient" in mailman-suite_project
> > - mailman shell            - start via ".local/bin/mailman shell"
> > 
> > What would be the best way of configure a mailing list?
> 
> 
> For configuration settings not exposed in Postorius, 'mailman shell' is
> preferred. If a setting is not exposed in Postorius, there is no
> guarantee it is exposed in the REST API either and even if it is, it may
> not be exposed in mailmanclient.
> 
> 
> > The howto from the URL above is working with the mailman shell for me, but unfortunately, it is
> > about creating mailling lists, not creating. Are there any howto about modify a maillist?
> 
> 
> See
> <http://mailman.readthedocs.io/en/latest/src/mailman/commands/docs/shell.html>.
> Here's a simple example:
> 
> $ mailman shell -l test at mailman3.org
> Welcome to the GNU Mailman shell
> The variable 'm' is the test at mailman3.org mailing list
> >>> m.preferred_language
> <Language [en] English (USA)>
> >>> m.preferred_language='de'
> >>> m.preferred_language
> <Language [de] German>
> >>> commit()
> >>>
> 
> The 'commit()' isn't necessary if you just exit (control-D) as that does
> an implicit commit, but if you do a series of changes, without commit(),
> you can reverse them with abort().
> 
> Also note that the above 'mailman shell -l test at mailman3.org' is the
> latests syntax. Older versions may not use '-l' before the list name.
> 
> -- 
> Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan
> ------------------------------------------------------
> Mailman-Users mailing list Mailman-Users at python.org
> https://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: https://mail.python.org/mailman/options/mailman-users/sebastian.kotthoff%40rz.uni-mannheim.de

-- 
Sebastian Kotthoff
Rechenzentrum
Universität Mannheim
B6, 23-29; Building B; Room 1.10
68159 Mannheim

Tel: +49 621 181 2516
Fax: +49 621 181 2682



More information about the Mailman-Users mailing list