On 5/24/19 7:05 AM, roger@reasonal.com wrote:
$ bin/mailman shell -l list(a)example.com // Welcome to the GNU Mailman shell // The variable 'm' is the list(a)example.com // mailing list m.max_message_size = nn // commit()
Unfortunately this does not work in the containerised mailman.
So I get the container ID and run: docker exec 3373d426996d /usr/local/bin/mailman shell -i test-list@iotcouncil.org.za
(in the post by Mark it says "-l" but I get "unrecognized argument" -- I assume it should be -i for "interactive"?
It should be -l or --listspec followed by the list posting address or list ID. I can't explain why you get "unrecognized argument".
Either way, it fires up the mailman shell and then throws me straight out back to the command line:
Welcome to the GNU Mailman shell The variable 'm' is the test-list@iotcouncil.org.za mailing list >>>
[root@listman ~]#
The above indicates there was a recognized '-l test-list@iotcouncil.org.za' argument because it knew to instantiate the list and assign it to 'm'.
So that doesn't help...
I really can't help with Docker, but there is some issue that causes the command to exit as soon as it asks for input. It is waiting for interactive input and gets an end of file.
Maybe @maxking can help with this.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan