------------------------------------------------------------
revno: 1608
fixes bug: https://launchpad.net/bugs/1517446
committer: Mark Sapiro <m...@msapiro.net>
branch nick: 2.1
timestamp: Sun 2016-02-07 20:56:06 -0800
message:
  Added more types to DEFAULT_PASS_MIME_TYPES.
modified:
  Mailman/Defaults.py.in
  NEWS


--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1

Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'Mailman/Defaults.py.in'
--- Mailman/Defaults.py.in	2016-02-02 20:17:20 +0000
+++ Mailman/Defaults.py.in	2016-02-08 04:56:06 +0000
@@ -1305,9 +1305,11 @@
 
 # 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

=== modified file 'NEWS'
--- NEWS	2016-02-06 03:35:45 +0000
+++ NEWS	2016-02-08 04:56:06 +0000
@@ -47,6 +47,12 @@
 
   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.
 

_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to