Hello, I know, this a bit off-topic, but maybe someone of the mail Gurus has an idea where to look...
We are producing mails with UTF-8 encoded text body and a header line telling Content-type text/plain; charset=UTF-8 The mail is prepared including To/From/Subject header as a file and gets sent with sendmail -t < file This is working fine, but there are cases where some of the involved MTA is removing the Content-type line from the mail and of course the UTF-8 encoded chars are looking like garbage in the MUA. Such a result looks like the attached header. Any idea why this happens or where to look for the reasons. Thanks matthias ------ Forwarded message ----- Return-Path: <keineantw...@xxx.de> Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mb8-4 (Cyrus v2.1.18-IPv6-Debian-2.1.18-1+sarge2) with LMTP; Tue, 24 Jul 2012 09:53:32 +0200 X-Sieve: CMU Sieve 2.2 Received: from [213.252.153.145] (helo=mailout.xxx.de) by ms16-1.1blu.de with esmtp (Exim 4.69) (envelope-from <keineantw...@xxx.de>) id 1StZvw-0006Xi-5M for g...@unixarea.de; Tue, 24 Jul 2012 09:53:32 +0200 Received: from localhost ([127.0.0.1]) thread-index: Ac1pcWPeYGANiQMOTDuIpxpSX5FPaQ== Received: from localhost ([127.0.0.1]) Received: from localhost ([127.0.0.1]) Received: by xxx.xxx.xxx.de (Postfix, from userid 1000) id 92F725ADA5; Tue, 24 Jul 2012 09:53:15 +0200 (CEST) To: g...@unixarea.de Subject: Test Message-ID: <20120724075315.92f725a...@xxxx.xxxx.xxxx.de> Content-Class: urn:content-classes:message Importance: normal Priority: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4913 Date: Tue, 24 Jul 2012 09:53:15 +0200 (CEST) From: xxxx <x...@xxxx.xxxx.xxxx.de> X-OriginalArrivalTime: 24 Jul 2012 07:53:15.0153 (UTC) FILETIME=[617EC010:01CD6971] X-Envelope-To: g...@unixarea.de (UTF-8 text) ----- End forwarded message ----- -- Matthias Apitz e <g...@unixarea.de> - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5