[Mailman-Users] Confusion with Mailman3 Config

2017-09-08 Thread Sebastian Kotthoff
Hello everybody,

after installing mailman3 successfully (took me 5 evenings), I'm now confused 
about the configuration.
I'm using postorius, which is very nice and where I'm able to configure the 
most stuff.
Today I figured out, how to change the default email templates for domains/list 
in the filesystem.

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.

This does not work for me, but the mayer point is, that I got lost between the 
different kinds of interfaces.
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?

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?

Thanks,

Sebastian
-- 
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

--
Mailman-Users mailing list Mailman-Users@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/archive%40jab.org


Re: [Mailman-Users] Confusion with Mailman3 Config

2017-09-08 Thread Mark Sapiro
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-us...@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
.


> 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
.
Here's a simple example:

$ mailman shell -l t...@mailman3.org
Welcome to the GNU Mailman shell
The variable 'm' is the t...@mailman3.org mailing list
>>> m.preferred_language

>>> m.preferred_language='de'
>>> m.preferred_language

>>> 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 t...@mailman3.org' is the
latests syntax. Older versions may not use '-l' before the list name.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@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/archive%40jab.org