diff options
author | Mark Sapiro <mark@msapiro.net> | 2016-02-07 20:56:06 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2016-02-07 20:56:06 -0800 |
commit | dda50a8ea7609bc8aac1cded6b3729910d1617c9 (patch) | |
tree | d36b31d50fb8c14f34b7f55fabf17eff06485e4f | |
parent | ecb5922ea0223ea140433dd56eb9d159d2deebcb (diff) | |
download | mailman2-dda50a8ea7609bc8aac1cded6b3729910d1617c9.tar.gz mailman2-dda50a8ea7609bc8aac1cded6b3729910d1617c9.tar.xz mailman2-dda50a8ea7609bc8aac1cded6b3729910d1617c9.zip |
Added more types to DEFAULT_PASS_MIME_TYPES.
-rwxr-xr-x | Mailman/Defaults.py.in | 8 | ||||
-rw-r--r-- | NEWS | 6 |
2 files changed, 11 insertions, 3 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in index 7ef071a0..8c5d9e7b 100755 --- a/Mailman/Defaults.py.in +++ b/Mailman/Defaults.py.in @@ -1305,9 +1305,11 @@ DEFAULT_FILTER_MIME_TYPES = [] # DEFAULT_PASS_MIME_TYPES is a list of MIME types to be passed through. # Format is the same as DEFAULT_FILTER_MIME_TYPES -DEFAULT_PASS_MIME_TYPES = ['multipart/mixed', - 'multipart/alternative', - 'text/plain'] +DEFAULT_PASS_MIME_TYPES = ['multipart', + 'message/rfc822', + 'application/pgp-signature', + 'text/plain', + ] # DEFAULT_FILTER_FILENAME_EXTENSIONS is a list of filename extensions to be # removed. It is useful because many viruses fake their content-type as @@ -47,6 +47,12 @@ Here is a history of user visible changes to Mailman. Bug fixes and other patches + - DEFAULT_PASS_MIME_TYPES has been changed to accept text/plain sub-parts + from message/rfc822 parts and multipart parts other than mixed and + alternative and also accept pgp signatures. This only applies to newly + created lists and other than pgp signatures, still only accepts + text/plain. (LP: #1517446) + - Modified contrib/mmdsr to report held and banned subscriptions and DMARC lookups in their own categories. |