I'm starting to see more utf-8 encoded headers which seems to only be a problem when the Reply-to header is encoded and a autoreply is generated by a FORWARD file.
Of course the autoreply fails but what I'm curious about is what the message attached to the delivery failure notice shows the header as decoded yet the body of the rejection message itself shows the header encoded (examples are per below). I would be grateful for an explanation of why this is so as to get an idea how to create a filter that will block such autoreplies.
Message headers as per attachment to delivery failure message:
To: partstownsurveys@partstown.com
Subject: [Autoreply] Re: The Talk of the Town Starts with You!
Date sent: Mon, 30 Sep 2019 11:20:23 -0400
Delivery failure message shows:
The attached message has failed delivery and has been referred
to you as postmaster. The following error report or reports
were given to explain the problem:
*** =?utf-8?q?partstownsurveys=40partstown=2Ecom?=
User =?utf-8?q?partstownsurveys=40partstown=2Ecom?= not known at this site.
This is the Reply-To header of the original message:
Reply-To: =?utf-8?q?partstownsurveys=40partstown=2Ecom?=
<p>I'm starting to see more utf-8 encoded headers which seems to only be a problem when the Reply-to header is encoded and a autoreply is generated by a FORWARD file.</p><p>Of course the autoreply fails but what I'm curious about is what the message attached to the delivery failure notice shows the header as decoded yet the body of the rejection message itself shows the header encoded (examples are per below).&nbsp; I would be grateful for an explanation of why this is so as to get an idea how to create a filter that will block such autoreplies.
</p><p>Message headers as per attachment to delivery failure message:</p><p>&nbsp;&nbsp;&nbsp; To:&nbsp;&nbsp;&nbsp; partstownsurveys@partstown.com
&nbsp;&nbsp;&nbsp; Subject:&nbsp;&nbsp;&nbsp; [Autoreply] Re: The Talk of the Town Starts with You!
&nbsp;&nbsp;&nbsp; Date sent:&nbsp;&nbsp;&nbsp; Mon, 30 Sep 2019 11:20:23 -0400</p><p>&nbsp;</p><p>Delivery failure message shows:</p><p>&nbsp;The attached message has failed delivery and has been referred
to you as postmaster. The following error report or reports
were given to explain the problem:
&nbsp;&nbsp; *** =?utf-8?q?partstownsurveys=40partstown=2Ecom?=
&nbsp;&nbsp; User =?utf-8?q?partstownsurveys=40partstown=2Ecom?= not known at this site.</p><p>&nbsp;</p><p>This is the Reply-To header of the original message:</p><p>&nbsp;&nbsp; Reply-To: =?utf-8?q?partstownsurveys=40partstown=2Ecom?= </p><p>
</p>