From 975a1b174d40fd957ed869e9ff68f3c6dd6f37df Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 15 Jun 2016 00:14:29 +0000 Subject: mda: hook up new filter functionality 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. --- script/public-inbox-learn | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'script/public-inbox-learn') 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) { -- cgit v1.2.3-24-ge0c7