diff options
author | Eric Wong <e@80x24.org> | 2017-11-16 18:48:39 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-11-16 18:48:39 +0000 |
commit | 7174681c0165008ac16ed1d323f6d95b6d0570a3 (patch) | |
tree | bc0bb3dcc0e8cb2fe3b8f5a9e3205651a2df46dd /script/public-inbox-learn | |
parent | b223e6f49debb99b9132bc85d97a065ebcee00b9 (diff) | |
download | public-inbox-7174681c0165008ac16ed1d323f6d95b6d0570a3.tar.gz |
Sometimes an email is an innocent removal "rm" for a misdirected, off-topic post, while most removed messages are "spam". Allow anybody to look at history and easily distinguish the reason for removing the message.
Diffstat (limited to 'script/public-inbox-learn')
-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 71aa50f9..75294a0a 100755 --- a/script/public-inbox-learn +++ b/script/public-inbox-learn @@ -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: |