use Email::MIME::Header::header_raw to read Message-ID
commit17f2b2d413901ba798bb70deb358c0d0998f9b81
authorEric Wong <e@80x24.org>
Wed, 2 Mar 2016 03:07:43 +0000 (2 03:07 +0000)
committerEric Wong <e@80x24.org>
Wed, 2 Mar 2016 05:49:27 +0000 (2 05:49 +0000)
tree9bf0c17b18013c98ba122482332d55a785a7d27e
parent9e3cc27d226d0df2e385514d906016b34634cf1e
use Email::MIME::Header::header_raw to read Message-ID

Somebody could set a Message-ID using MIME header encoding and
trigger mismatches.  Favor the non-encoded value for storage
instead.  This removes the explicit dependency on Email::Simple
entirely to reduce a step in the installation process (however
Email::MIME still pulls it in).
13 files changed:
INSTALL
Makefile.PL
lib/Ssoma/Git.pm
lib/Ssoma/MDA.pm
lib/Ssoma/Remover.pm
ssoma-mda
ssoma-rm
t/all.t
t/extractor.t
t/mda-badheaders.t
t/mda-conflict.t
t/mda-missing-mid.t
t/remover.t