On Thu, Aug 25, 2022 at 05:23:26PM -0400, post...@ptld.com wrote:
> I know this is minor, just bringing it to light if Wietse feels it is worth 
> doing something about.
> I noticed on emails with encoded subject lines an extra character is being 
> inserted into the logs.

> EMAIL HEADER
> Subject: =?UTF-8?B?8J+YsSBTSE9QIE5PVzogR2V0IDAlIElOVEVSRVNUIERlYWxzIHBs?=
>  =?UTF-8?B?dXMgZXhjbHVzaXZlIHZvdWNoZXJzIHdpdGggU1BheUxhdGVyISDwn5GJ?=
> SIDE BY SIDE COMPARE
> =?UTF-8?B?8J+YsSBTSE9QIE5PVzogR2V0IDAlIElOVEVSRVNUIERlYWxzIHBs?= 
> =?UTF-8?B?dXMgZXhjbHVzaXZlIHZvdWNoZXJzIHdpdGggU1BheUxhdGVyISDwn5GJ?=
> =?UTF-8?B?8J+YsSBTSE9QIE5PVzogR2V0IDAlIElOVEVSRVNUIERlYWxzIHBs?=? 
> =?UTF-8?B?dXMgZXhjbHVzaXZlIHZvdWNoZXJzIHdpdGggU1BheUxhdGVyISDwn5GJ?=

> There is an extra '?' in the logs for the header which places that '?' in the 
> middle of the subject after its been decoded using PHP iconv_mime_decode().

You missed the newline in the first line.  Postfix will obviously not
let those through and will replace such characters with '?' or so.  It
does not interpret stuff.

Bastian

-- 
A princess should not be afraid -- not with a brave knight to protect her.
                -- McCoy, "Shore Leave", stardate 3025.3

Reply via email to