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?=


LOGS
Aug 25 01:06:58 hostname postfix/cleanup[3106]: 4MCrYG4Y4Zz7VvCt: info: header Subject: 
=?UTF-8?B?8J+YsSBTSE9QIE5PVzogR2V0IDAlIElOVEVSRVNUIERlYWxzIHBs?=? 
=?UTF-8?B?dXMgZXhjbHVzaXZlIHZvdWNoZXJzIHdpdGggU1BheUxhdGVyISDwn5GJ?= from 
example.com[xxx.xxx.xxx.xxx]; 
from=<bounce-17_html-377469875-141153-100020371...@example.com> to=<u...@example.com> 
proto=ESMTP helo=<example.com>


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().

Reply via email to