Author Topic: sending with russian subject  (Read 5525 times)

Offline kiabrin

  • Newbie
  • *
  • Posts: 1
sending with russian subject
« on: March 16, 2010, 10:52:08 AM »
sometimes when a user creates a mail in russian, with russian subject, the mail is send corrupt, with the following text:

WARNING: bad headers - Improper use of control character (char 0D hex):

Subject: ...20=D1=82=D0=B0=D0=BC=20?=\r\n =?UTF-8?Q?=D1[...]

is there any fix to it or a place where to look up for fix?

here is the message source:
Code: [Select]
Return-Path: <moskalenko@oc3.ru>
Delivered-To: moso@oc3.ru
Received: from localhost (localhost [127.0.0.1])
by oc3.ru (Postfix) with ESMTP id 55F731CC30;
Tue, 16 Mar 2010 17:55:45 +0300 (MSK)
X-Quarantine-ID: <3JcbxHrFIvQj>
X-Amavis-Modified: Mail body modified (defanged) - oc3.ru
X-Virus-Scanned: amavisd-new at oc3.ru
X-Amavis-Alert: BAD HEADER SECTION, Improper use of control character (char 0D
hex): Subject: ...BE=D0=B5=20=D0=BF=D0=B8?=\r\n =?UTF-8?Q?=D1[...]
Received: from oc3.ru ([127.0.0.1])
by localhost (oc3.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
id 3JcbxHrFIvQj; Tue, 16 Mar 2010 17:55:39 +0300 (MSK)
Content-Type: multipart/mixed; boundary=&quot;----------=_1268751345-63558-0&quot;
Content-Transfer-Encoding: binary
MIME-Version: 1.0
Subject: =?UTF-8?Q?=D1=82=D0=B5=D1=81=D1=82=D0=BE=D0=B2=D0=BE=D0=B5=20=D0=BF=D0=B8?=\015
 =?UTF-8?Q?=D1=81=D1=8C=D0=BC=D0=BE?=
Received: by oc3.ru (Postfix, from userid 80)
id DBDA01CC9E; Tue, 16 Mar 2010 17:55:39 +0300 (MSK)
To: moso@oc3.ru, proa@oc3.ru
Date: Tue, 16 Mar 2010 17:55:39 +0300
From: <moskalenko@oc3.ru>
Message-ID: <18d0b6ea06cf8f8826714160a359b819@oc3.ru>
User-Agent: RoundCube Webmail/0.3-stable

------------=_1268751345-63558-0
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

WARNING: bad headers - Improper use of control character (char 0D hex):
 Subject: ...BE=D0=B5=20=D0=BF=D0=B8?=\r\n =?UTF-8?Q?=D1[...]

------------=_1268751345-63558-0
Content-Type: message/rfc822; x-spam-type=original; name=&quot;message&quot;
Content-Disposition: attachment; filename=&quot;message&quot;
Content-Transfer-Encoding: 8bit
Content-Description: Original message

Return-Path: <moskalenko@oc3.ru>
Received: by oc3.ru (Postfix, from userid 80)
id DBDA01CC9E; Tue, 16 Mar 2010 17:55:39 +0300 (MSK)
To: <moso@oc3.ru>, <proa@oc3.ru>
Subject: =?UTF-8?Q?=D1=82=D0=B5=D1=81=D1=82=D0=BE=D0=B2=D0=BE=D0=B5=20=D0=BF=D0=B8?=
 =?UTF-8?Q?=D1=81=D1=8C=D0=BC=D0=BE?=
MIME-Version: 1.0
Date: Tue, 16 Mar 2010 17:55:39 +0300
From: <moskalenko@oc3.ru>
Message-ID: <18d0b6ea06cf8f8826714160a359b819@oc3.ru>
X-Sender: moskalenko@oc3.ru
User-Agent: RoundCube Webmail/0.3-stable
Content-Type: multipart/alternative;
boundary=&quot;=_16c8a284aa46e36fd88431230e9c1532&quot;


--=_16c8a284aa46e36fd88431230e9c1532
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8



&#1090;&#1077;&#1089;&#1090;&#1086;&#1074;&#1086;&#1077; &#1087;&#1080;&#1089;&#1100;&#1084;&#1086;
--=_16c8a284aa46e36fd88431230e9c1532
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<p>=D1=82=D0=B5=D1=81=D1=82=D0=BE=D0=B2=D0=BE=D0=B5 =D0=BF=D0=B8=D1=81=D1=
=8C=D0=BC=D0=BE</p>
--=_16c8a284aa46e36fd88431230e9c1532--


------------=_1268751345-63558-0--

thank you.
« Last Edit: March 16, 2010, 11:45:55 AM by kiabrin »