#!/usr/bin/perl -w
-# Copyright (C) 2015-2016 all contributors <meta@public-inbox.org>
+# Copyright (C) 2015-2018 all contributors <meta@public-inbox.org>
# License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
#
# Incremental (or one-shot) importer of a slrnpull news spool
use strict;
use warnings;
use PublicInbox::Config;
-use Email::MIME;
+use PublicInbox::MIME;
use PublicInbox::Import;
use PublicInbox::Git;
sub usage { "Usage:\n".join('',grep(/\t/, `head -n 10 $0`)) }
open(my $fh, '<', $fn) or next;
$max = $n + $max_gap;
- my $mime = Email::MIME->new(eval { local $/; <$fh> });
+ my $mime = PublicInbox::MIME->new(eval { local $/; <$fh> });
my $hdr = $mime->header_obj;
# gmane rewrites Received headers, which increases spamminess