From: Eric Wong <e@80x24.org>
Date: Thu, 1 Oct 2015 20:04:30 +0000 (+0000)
Subject: filter: do not strip Reply-To
X-Git-Tag: v1.0.0~808
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=ad1e2944deb78e5a4512aab0a3bffa8760dd05d7;p=public-inbox.git

filter: do not strip Reply-To

It's often part of idiotic policies to prevent mailing lists
from working at all.
---

diff --git a/lib/PublicInbox/Filter.pm b/lib/PublicInbox/Filter.pm
index cab6aad1..6f28e013 100644
--- a/lib/PublicInbox/Filter.pm
+++ b/lib/PublicInbox/Filter.pm
@@ -29,10 +29,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.
-	# We also kill Mail-{Followup,Reply}-To and Reply-To headers due to
+	# We also kill Mail-{Followup,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)) {
+			mail-followup-to mail-reply-to)) {
 		$mime->header_set($d);
 	}