about summary refs log tree commit homepage
path: root/script/public-inbox-learn
diff options
authorEric Wong <e@80x24.org>2016-06-15 00:14:29 +0000
committerEric Wong <e@80x24.org>2016-06-15 00:30:04 +0000
commit975a1b174d40fd957ed869e9ff68f3c6dd6f37df (patch)
treea6484ef33025577dfe9fc1e5d3d092bade5d9cff /script/public-inbox-learn
parentc1abb946e53e4179666ebb290e31c2d9ddc40711 (diff)
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')
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) {