Consider L<imap.proxy> and L<nntp.proxy> which can be persistently
configured on a per-host basis in L<lei-config(1)>.
+=item --noisy
+
+Warn on misformatted email headers. Not particularly useful but this was
+the default prior to public-inbox 2.0.0. New in public-inbox 2.0.0.
+
=back
See L<lei-config(1)> for various C<imap.*> and C<nntp.*> options.
'one-time import/update from URL or filesystem',
qw(stdin| offset=i recursive|r exclude=s include|I=s new-only
lock=s@ in-format|F=s kw! verbose|v+ incremental! mail-sync!
- commit-delay=i sort|s:s@),
+ commit-delay=i sort|s:s@ noisy),
@net_opt, @c_opt ],
'forget-mail-sync' => [ 'LOCATION...',
'forget sync information for a mail folder', @c_opt ],
eval 'no warnings; undef $PublicInbox::LeiNoteEvent::to_flush';
undef $errors_log;
$quit = \&CORE::exit;
- if (!$self->{-eml_noisy}) { # only "lei import" sets this atm
+ if (!$self->{opt}->{noisy}) { # only "lei import" sets this atm
my $cb = $SIG{__WARN__} // \&CORE::warn;
$SIG{__WARN__} = sub {
$cb->(@_) unless PublicInbox::Eml::warn_ignore(@_)
}
($lei->{opt}->{'new-only'} && (!$net || !$net->{imap_order})) and
warn "# --new-only is only for IMAP\n";
- $lei->{-eml_noisy} = 1;
$lei->{-err_type} = 'non-fatal';
$lei->wq1_start($self, $j);
}