Adam Minski writes:
What I like to do is creating new or modifying existing styles to have reasonable defaults for creating new lists. If I create a new style using the mailman shell as stated by the documentation, the new style is gone as default after restarting mailman server.
I didn't realize that was possible; I need to see how it's done. Anyway, the loss of the style is because the styles are implemented as Python functions. There is no place to store them in the database now.
If I understood you correctly the only way at the moment is hacking the source code, which I always try to avoid without getting changes upstream. Is this correct?
That is correct.
What did you mean with "or write SQL"? Are the style defaults stored at database level?
No, they are not, they're hard-coded in the style/*.py files. If they were, they would persist.
The SQL I'm referring to is a script that would manipulate the database directly for a given list. It wouldn't create a style in Mailman; it would be an "external" style.
Steve