On 10/10/2017 12:04 PM, Peter Mueller wrote:
is it possible to turn off max_message_size and send_welcome_msg / send_goodbye_msg globally?
Not for existing lists, but for new lists you can create a style with these settings and make it the default style. See https://firstname.lastname@example.org/message/MDX5AHZHDKG2CDKUSPHLJDJDAR7UNQTS/ for how you might do that.
If there are no global options, how can I turn off these feature using the REST API? In python you can do it with >>> mlist.max_message_size = 0. If I send a PATCH request to lists/some@list/config with body max_message_size=0, I get "Unknown attribute". Same for send_welcome_msg and send_goodbye_msg.
max_message_size and send_goodbye_msg are not currently exposed in REST. See the definition of ATTRIBUTES in mailman/rest/listconf.py for what is. You should be able to PATCH send_welcome_msg via REST. I don't know why that didn't work for you?