Am Wed, 22 Aug 2018 13:33:09 +0200 schrieb Simon Hanna <simon@hannaweb.eu>:
On 8/22/18 10:27 AM, Alexander Klotz wrote:
Hi there,
we are trying to set a once public list to private but have trouble doing so. In Postorius this doesn't seem to work - you can change "show list on index page" via the settings, but the value isn't saved. Is there a way to set advertised = False to a specific list via the shell?
What do you mean it isn't saved? Are you getting an error? Is it just being overwritten to True?
I use the rest api, using it you can do the following:
./manage.py mmclient
lists = client.lists
l = <choose your list>
l.settings['advertised'] = False
l.settings.save()
Using the command line mailman tool the sequence is:
$ mailman withlist -l <mailinglist>
m.advertised=False commit() quit()