about summary refs log tree commit homepage
path: root/script/public-inbox-mda
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-05-30 02:10:36 +0000
committerEric Wong <e@80x24.org>2016-05-30 02:14:21 +0000
commit1cf14fe543ad6259003cdd1995a1c83a7a70b535 (patch)
treef64b3ba37623c9eceeb083df71182ffaef22663a /script/public-inbox-mda
parentfbcb7de93884b7915ea17906d112e1e8cb0dd490 (diff)
downloadpublic-inbox-1cf14fe543ad6259003cdd1995a1c83a7a70b535.tar.gz
User input is imperfect, do not pollute our mail logs with
warnings we cannot fix.  This is documented in the
Email::MIME::ContentType manpage so it should remain supported.
Diffstat (limited to 'script/public-inbox-mda')
-rwxr-xr-xscript/public-inbox-mda2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/public-inbox-mda b/script/public-inbox-mda
index 6ac0e8c4..bb78c4e6 100755
--- a/script/public-inbox-mda
+++ b/script/public-inbox-mda
@@ -9,6 +9,8 @@ my $usage = 'public-inbox-mda < rfc2822_message';
 
 use Email::Filter;
 use Email::MIME;
+use Email::MIME::ContentType;
+$Email::MIME::ContentType::STRICT_PARAMS = 0; # user input is imperfect
 use File::Path::Expand qw/expand_filename/;
 use IPC::Run qw(run);
 use PublicInbox::MDA;