* [PATCH 1/2] learn: use "spam" as subject for removal commits (part #2)
@ 2017-11-16 20:45 7% ` Eric Wong
0 siblings, 0 replies; 1+ results
From: Eric Wong @ 2017-11-16 20:45 UTC (permalink / raw)
To: meta
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.
---
script/public-inbox-learn | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/script/public-inbox-learn b/script/public-inbox-learn
index 75294a0..5041d82 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;
});
}
--
EW
^ permalink raw reply related [relevance 7%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2017-11-16 19:14 [PATCH] learn: use "spam" as subject for removal commits Eric Wong
2017-11-16 20:45 7% ` [PATCH 1/2] learn: use "spam" as subject for removal commits (part #2) Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).