notmuch-reply doesn't use Reply-To

Damien Cassou damien at cassou.me
Fri Dec 4 08:40:42 PST 2015


David Bremner <david at tethera.net> writes:

> Damien Cassou <damien at cassou.me> writes:
>
>>                    "To" : "rmod at inria.fr",
>>                    "Reply-To" : "rmod at inria.fr",
>>                    "From" : "seaside at rmod.inria.fr",
>>                    "Subject" : "[rmod] [Mm10s] 2015-11-30",
>>                    "Date" : "Mon, 30 Nov 2015 07:00:01 +0100"
>
> A quick look at the code suggests this is falling victim to the
> "reply-to munging" detection code, which considers a reply-to field
> redudant if it duplicates one of the other fields. From the source
>
>     /* Some mailing lists munge the Reply-To header despite it being A Bad
>      * Thing, see http://www.unicom.com/pw/reply-to-harmful.html
>      *
>      * The munging is easy to detect, because it results in a
>      * redundant reply-to header, (with an address that already exists
>      * in either To or Cc). So in this case, we ignore the Reply-To
>      * field and use the From header. This ensures the original sender
>      * will get the reply even if not subscribed to the list. Note
>      * that the address in the Reply-To header will always appear in
>      * the reply.
>      */


The last sentence seems to contradict my example:

    Note that the address in the Reply-To header will always appear in
    the reply.

Here is the reply message, and it does not contain the address in Reply-To.

    $ notmuch reply --reply-to=sender --format=json "id:565be5e1.X5p1I6XirRudvMa6%seaside at rmod.inria.fr" | json_pp
    {
       "reply-headers" : {
          "References" : "<565be5e1.X5p1I6XirRudvMa6%seaside at rmod.inria.fr>",
          "Subject" : "Re: [rmod] [Mm10s] 2015-11-30",
          "To" : "seaside at rmod.inria.fr",
          "From" : "Damien Cassou <damien.cassou at inria.fr>",
          "In-reply-to" : "<565be5e1.X5p1I6XirRudvMa6%seaside at rmod.inria.fr>"

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill


More information about the notmuch mailing list