content filtering in version 3.1
Hi,
I'm new to MM3. I installed version 3.1.1 on Ubuntu 18.04. All looks fine. But i miss the setting "pass_mime_types" at content filtering. Also i don't find the settings for bounce processing. Are these features no longer supported at version 3.1.1?
Thanks for your information!
--
Dieter Leupold
On 12/12/19 6:36 AM, Dieter Leupold via Mailman-users wrote:
Hi,
I'm new to MM3. I installed version 3.1.1 on Ubuntu 18.04. All looks fine. But i miss the setting "pass_mime_types" at content filtering.
The settings are there in Mailman core but not exposed in Postorius. You
can set them via mailman shell
. MM 2.1 settings map to MM 3 as:
filter_mime_types -> filter_types pass_mime_types -> pass_types filter_filename_extensions -> filter_extensions pass_filename_extensions -> pass_extensions collapse_alternatives -> collapse_alternatives * convert_html_to_plaintext -> convert_html_to_plaintext * filter_action -> filter_action
- in Postorius Settings -> Alter Messages
The mailman import21 command will properly import these settings when importing a Mailman 2.1 list.
Also i don't find the settings for bounce processing. Are these features no longer supported at version 3.1.1?
Bounce processing is not yet implemented in MM 2.1. See <https://gitlab.com/mailman/mailman/issues/343>.
There was a recent GSOC project to address this. See <https://gitlab.com/mailman/mailman/merge_requests/538>. I don't know how close this is to being ready.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
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!
Dieter Leupold
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
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
participants (2)
-
Dieter Leupold
-
Mark Sapiro