]> Sergey Matveev's repositories - public-inbox.git/blobdiff - script/public-inbox-learn
learn: use "spam" as subject for removal commits
[public-inbox.git] / script / public-inbox-learn
index 71aa50f9d5989b093b4efa50f4312267f8ce6440..75294a0a8e44e9368fc0b98d7db38d1d8a71152b 100755 (executable)
@@ -81,7 +81,7 @@ foreach my $recipient (keys %dests) {
                # may train for each cross-posted message, and this
                # script already learns for every list in
                # ~/.public-inbox/config
-               $im->remove($mime);
+               $im->remove($mime, $train);
        } else { # $train eq "ham"
                # no checking for spam here, we assume the message has
                # been reviewed by a human at this point: