about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2014-01-14 23:35:21 +0000
committerEric Wong <normalperson@yhbt.net>2014-01-14 23:35:21 +0000
commit3f0cf5ba17204bc6ce9e3c1f197d6b4d66831eb8 (patch)
tree535ffab233a94885d8ca30aa3ea6830b43e38821 /lib
parentbf4630c098ad7159ba36dea6cfe77c4cf6806ffe (diff)
downloadpublic-inbox-3f0cf5ba17204bc6ce9e3c1f197d6b4d66831eb8.tar.gz
Due to the higher latency of a pull-based email, we want to
encourage the use of reply-to-all for public-inbox.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/Filter.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/PublicInbox/Filter.pm b/lib/PublicInbox/Filter.pm
index 6cccd930..a83ecc83 100644
--- a/lib/PublicInbox/Filter.pm
+++ b/lib/PublicInbox/Filter.pm
@@ -26,7 +26,10 @@ sub run {
         # kill potentially bad/confusing headers
         # Note: ssoma already does this, but since we mangle the message,
         # we should do this before it gets to ssoma.
-        foreach my $d (qw(status lines content-length)) {
+        # We also kill Mail-{Followup,Reply}-To and Reply-To headers due to
+        # the nature of public-inbox having no real subscribers.
+        foreach my $d (qw(status lines content-length
+                        mail-followup-to mail-reply-to reply-to)) {
                 $simple->header_set($d);
         }