From 1cf14fe543ad6259003cdd1995a1c83a7a70b535 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 30 May 2016 02:10:36 +0000 Subject: script/*{mda,learn}: no strict params for Email::MIME::ContentType 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. --- script/public-inbox-learn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'script/public-inbox-learn') diff --git a/script/public-inbox-learn b/script/public-inbox-learn index c79f2479..bfbf0233 100755 --- a/script/public-inbox-learn +++ b/script/public-inbox-learn @@ -11,6 +11,8 @@ use PublicInbox::Config; use PublicInbox::Git; use PublicInbox::Import; use Email::MIME; +use Email::MIME::ContentType; +$Email::MIME::ContentType::STRICT_PARAMS = 0; # user input is imperfect use PublicInbox::Address; use IPC::Run qw/run/; my $train = shift or die "usage: $usage\n"; -- cgit v1.2.3-24-ge0c7