use strict;
use warnings;
use PublicInbox::Config;
-use PublicInbox::MIME;
+use PublicInbox::Eml;
use PublicInbox::Import;
use PublicInbox::Git;
sub usage { "Usage:\n".join('',grep(/\t/, `head -n 10 $0`)) }
$max = $n + $max_gap;
print STDERR $fn, "\n";
- my $mime = PublicInbox::MIME->new(eval { local $/; <$fh> });
+ my $mime = PublicInbox::Eml->new(do { local $/; <$fh> });
$filter->scrub($mime);
$im->add($mime);