aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Defaults.py.in
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2016-02-07 20:56:06 -0800
committerMark Sapiro <mark@msapiro.net>2016-02-07 20:56:06 -0800
commitdda50a8ea7609bc8aac1cded6b3729910d1617c9 (patch)
treed36b31d50fb8c14f34b7f55fabf17eff06485e4f /Mailman/Defaults.py.in
parentecb5922ea0223ea140433dd56eb9d159d2deebcb (diff)
downloadmailman2-dda50a8ea7609bc8aac1cded6b3729910d1617c9.tar.gz
mailman2-dda50a8ea7609bc8aac1cded6b3729910d1617c9.tar.xz
mailman2-dda50a8ea7609bc8aac1cded6b3729910d1617c9.zip
Added more types to DEFAULT_PASS_MIME_TYPES.
Diffstat (limited to '')
-rwxr-xr-xMailman/Defaults.py.in8
1 files changed, 5 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