diff options
author | Eric Wong <e@80x24.org> | 2016-06-15 00:14:29 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-06-15 00:30:04 +0000 |
commit | 975a1b174d40fd957ed869e9ff68f3c6dd6f37df (patch) | |
tree | a6484ef33025577dfe9fc1e5d3d092bade5d9cff /script/public-inbox-learn | |
parent | c1abb946e53e4179666ebb290e31c2d9ddc40711 (diff) | |
download | public-inbox-975a1b174d40fd957ed869e9ff68f3c6dd6f37df.tar.gz |
This removes the Email::Filter dependency as well as the signature-breaking scrubber code. We now prefer to reject unacceptable messages and grudgingly (and blindly) mirror messages we're not the primary endpoint for.
Diffstat (limited to 'script/public-inbox-learn')
-rwxr-xr-x | script/public-inbox-learn | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/script/public-inbox-learn b/script/public-inbox-learn index 783cf03a..817fd5e9 100755 --- a/script/public-inbox-learn +++ b/script/public-inbox-learn @@ -55,11 +55,7 @@ foreach my $h (qw(Cc To)) { } } -if ($train eq "ham") { - require PublicInbox::MDA; - require PublicInbox::Filter; - PublicInbox::Filter->run($mime); -} +require PublicInbox::MDA if $train eq "ham"; # n.b. message may be cross-posted to multiple public-inboxes foreach my $recipient (keys %dests) { |