I have an email (identified as spam) that contains in the subject some non-ASCII characters. The subject itself is somehow wrong encoded (should be MIME encoded but isn't or something like that).
This is the header which I get when performing the 'show orginal' action in the Zimbra webclient. As you can see, there is a dash in the middle. This dash is the problem.
When I try to read out (with JavaMail) the subject on both systems (Exchange and Zimbra) I get a strange string for the dash (because the header is encoded wrongly). For example, the Zimbra header string shows me '???' instead of the dash.
Subject: Una potenzialita piccola – noi lo possiamo risolvere
Okay, first I thought it is only a problem of encoding in Java. So I printed the byte stream and saw that there is a significant difference between both streams. Below is the a snipped of the stream concatenated to a string.
As you can clearly see the Exchange snipped contains negative numbers where the Zimbra string contains instead the sequence '636363'.
Therefore my question if Zimbra changes the headers.
Do you need any other example?
Hope this helps.