[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Strange things happening with forwarded mails



On Sun, Jun 15, 2014 at 08:21:43PM +0200, mad wrote:

||  Hi!
||  
||  I am forwarding emails from a big email provider to my private email
||  server (postfix, dovecot).
||  
||  At the email provider the first line of the email headers is:
||  
||  Received: from X.X.X.X...

0000000: ef bb bf 52 65 63 65 69 76 65 64 3a              ...Received:

For those who cannot see this: this line is preceded by a UTF-8 encoded
Unicode byte order mark, indicating that the remaining text is encoded
in UTF-8.

||  When the mail is finally put into my mailbox at my own email server this
||  is no longer the first line but there are a lot of headers before the
||  Received line but the strange thing is, that the line from above now has
||  additional characters at the beginning:
||  
||  Received: from X.X.X.X...

0000000: c3 af c2 bb c2 bf 52 65 63 65 69 76 65 64 3a     ......Received:

Here, the UTF-8 encoded byte order mark was interpreted as if it were
ISO-8859-1, giving three characters, and subsequently re-encoded as UTF-8.

My first guess is that some mail processing software, perhaps the spam
filter, accidentally puts the byte order mark there because it is using
a strange encoding setting. I could be wrong, of course.

Vincent.
-- 
Vincent Zweije <vincent@zweije.nl>   | "If you're flamed in a group you
<http://www.xs4all.nl/~zweije/>      | don't read, does anybody get burnt?"
[Xhost should be taken out and shot] |            -- Paul Tomblin on a.s.r.

Attachment: signature.asc
Description: Digital signature


Reply to: