On Apr 22, 2022, at 13:09, Mark Sapiro <mark@msapiro.net> wrote:
On 4/22/22 12:28, Paul Paulchen wrote:
According to the answer of Mark you can change the "/usr/lib/python3/dist-packages/mailman/styles/base.py" - mlist.max_message_size. Now time went by, is there a possibility to use the mailman.cfg to set a new default?
No. It still is not configurable except by patching or creating a new style, see https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/styles/docs...
It is however possible to create new Styles using Mailman plugins, without having to patch Mailman.
We have an example style that demonstrates how to do that:
https://gitlab.com/mailman/example-mailman-plugin/-/blob/master/example_mail...
The repo’s README has more details on how to create and install the plugin.
There is more documentation about plugins in Mailman Core’s docs:
https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/plugins/doc...
-- thanks, Abhilash Raj (maxking)