From: Jed Brown Date: Sat, 28 Nov 2009 23:19:36 +0000 (+0100) Subject: notmuch-reply.c: Handle munged `Reply-To' headers. X-Git-Tag: 0.1~124 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=fddd3d831b6a34a47b1e68fcaa1bc63d54240df5;hp=fddd3d831b6a34a47b1e68fcaa1bc63d54240df5 notmuch-reply.c: Handle munged `Reply-To' headers. Some mailing lists engage in the evil practice of changing the Reply-To header so that replies from all mailers go to the list by default, at the expense of not responding to the person who actually sent the message. When this is detected, we reply to `From' and remove the duplicate response to the mailing list. Consider a reply to the following message. From: Some User To: Sample users list Reply-To: Sample users list Prior to this patch, `notmuch reply' produces To: Sample users list , Sample users list and after the patch, To: Some User , Sample users list Signed-off-by: Jed Brown ---