diff options
author | Eric Wong <e@80x24.org> | 2017-11-16 19:21:06 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-11-16 19:22:17 +0000 |
commit | 3c027214d33c98faf3ef620f2d595becee731959 (patch) | |
tree | a48d5cad788315e8c4e676203a4bbaf3bf077187 | |
parent | 7174681c0165008ac16ed1d323f6d95b6d0570a3 (diff) | |
download | public-inbox-3c027214d33c98faf3ef620f2d595becee731959.tar.gz |
We need to use the correct subject when doing global scanning, too. In fact, the per-recipient spam training path is entirely redundant at this point.
-rwxr-xr-x | script/public-inbox-learn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/public-inbox-learn b/script/public-inbox-learn index 75294a0a..5041d82b 100755 --- a/script/public-inbox-learn +++ b/script/public-inbox-learn @@ -58,7 +58,7 @@ if ($train eq 'spam') { my $name = $ibx->{name}; my $addr = $ibx->{-primary_address}; my $im = PublicInbox::Import->new($git, $name, $addr, $ibx); - $im->remove($mime); + $im->remove($mime, 'spam'); $im->done; }); } |