Resending with proper inline code quoting for the archive.
On 12/20/19 1:31 AM, Dieter Leupold via Mailman-users wrote:
Hi Mark,
Thanks for your information. But, how I said, I'm new to MM3 and I have problems with the syntax of the mailman shell. Please, could you give me an example to set "pass_types" via MM-Shell? Thank you very much!
The documentation of Mailman shell is at <https://mailman.readthedocs.io/en/latest/src/mailman/commands/docs/shell.html>. A simple example in for setting pass_types is
$ bin/mailman shell -l list@example.com
Welcome to the GNU Mailman shell
The variable 'm' is the list@example.com mailing list
>>> m.pass_types
<generator object MailingList.pass_types at 0x7fd7e1489840>
>>> list(m.pass_types)
[]
>>> m.pass_types = ['multipart', 'text/plain']
>>> list(m.pass_types)
['multipart', 'text/plain']
>>>
At this prompt you can enter commit() to commit your changes, abort() to reverse your changes or control-D to commit and exit. You can also enter exit() to exit, but your changes will not be saved unless you have done a prior commit()
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan