about summary refs log tree commit homepage
path: root/public-inbox-learn
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-05-05 08:48:13 +0000
committerEric Wong <e@80x24.org>2014-05-05 08:48:13 +0000
commitf7b3ce0b37b5b5d1e6899258154fb2e6907ae2de (patch)
tree4dce7655211e7d707c35464096d1d9e6f9edd4ce /public-inbox-learn
parent2998925e315acfd8799421d06d0590798b3076ff (diff)
downloadpublic-inbox-f7b3ce0b37b5b5d1e6899258154fb2e6907ae2de.tar.gz
This is idempotent, and should actually/really prevent training
loops.
Diffstat (limited to 'public-inbox-learn')
-rwxr-xr-xpublic-inbox-learn1
1 files changed, 1 insertions, 0 deletions
diff --git a/public-inbox-learn b/public-inbox-learn
index bb130b21..13b75b76 100755
--- a/public-inbox-learn
+++ b/public-inbox-learn
@@ -56,6 +56,7 @@ foreach my $recipient (keys %dests) {
                 # no checking for errors here, we assume the message has
                 # been reviewed by a human at this point:
                 PublicInbox::Filter->run($mime);
+                PublicInbox::MDA->set_list_headers($mime, $dst);
 
                 my ($name, $email, $date) =
                                 PublicInbox::MDA->author_info($mime);