|
From: alan p. <al...@12...> - 2004-12-08 02:05:29
|
I'm using SquirrelMail 1.4.3a-1 on RedHat EL 3.0 in a Japanese language=20 environment. Mostly it is working without issue, however recently one=20 of my users pointed out that their subject was munged when replying. this is the comment from the user: (in japanese) =E4=BB=B6=E5=90=8D=E3=81=8C=E3=82=82=E3=81=A8=E3=82=82=E3=81=A8=E3=81=AF=E3= =80=8C=E6=B8=AC=E7=94=A8URL=E7=99=BA=E8=A1=8C=E3=81=AE=E5=BE=A1=E9=A1=98=E3= =81=84=E3=80=8D=E3=81=AA=E3=81=AE=E3=81=AB=E3=80=81=E8=BF=94=E4=BF=A1=E3=82= =92=E3=81=99=E3=82=8B=E3=81=A8 =E3=81=93=E3=81=AE=E3=82=88=E3=81=86=E3=81=AB=E5=8C=96=E3=81=91=E3=81=A6=E3= =81=97=E3=81=BE=E3=81=BE=E3=81=99=E3=80=82 =E3=80=8CRe: =E6=B8=AC=E7=94=A8URL=3D ?ISO-2022-JP?B?GyRCSC85VCROOGY0aiQk= GyhC?=3D=E3=80=8D after doing some testing I've been able to reproduce a similar issue. it appears that for some reason extra spaces and a carriage-return are=20 being inserted into the Subject: header. I'm not a PHP programmer, but=20 I've looked through the code and have yet to be able to determine where=20 this is happening. In my test case, I used an email with the following=20 subject: WEB=E3=83=A1=E3=83=BC=E3=83=AB=E3=81=AE=E4=BB=B6=E5=90=8D=E3=81=8C=E5=8C=96= =E3=81=91=E3=81=BE=E3=81=99 during my reply / forwarding tests I've seen the following in the headers= : Return-Path: <apr...@my...> Received: from mail.mydomain.tld (mail.mydomain.tld [xxx.xxx.xxx.25]) by mojo.12inch.com (8.13.1/8.13.0) with ESMTP id iB818INF002655 (version=3DTLSv1/SSLv3 cipher=3DDHE-RSA-AES256-SHA bits=3D256 verify=3DF= AIL) for <al...@12...>; Wed, 8 Dec 2004 10:08:20 +0900 Received: from mail.mydomain.tld (localhost.localdomain [127.0.0.1]) by mail.mydomain.tld (8.13.1/8.13.1) with ESMTP id iB8166HS011355 (version=3DTLSv1/SSLv3 cipher=3DDHE-RSA-AES256-SHA bits=3D256 verify=3DN= O) for <al...@12...>; Wed, 8 Dec 2004 10:06:06 +0900 Received: (from apache@localhost) by mail.mydomain.tld (8.13.1/8.13.1/Submit) id iB81663u011354; Wed, 8 Dec 2004 10:06:06 +0900 Received: from 203.131.192.247 (SquirrelMail authenticated user apremselaar); by mail.mydomain.tld with HTTP; Wed, 8 Dec 2004 10:06:06 +0900 (JST) Message-ID: <51706.203.131.192.247.1102467966.squirrel@203.131.192.247> Date: Wed, 8 Dec 2004 10:06:06 +0900 (JST) Subject: [Fwd: WEB=3D?ISO-2022-JP?B?GyRCJWEhPCVrJE43b0w+JCwyPSQxJF4kORsoQ= g=3D=3D?=3D ] From: apr...@my... To: al...@12... User-Agent: SquirrelMail/1.4.3a-1 X-Mailer: SquirrelMail/1.4.3a-1 MIME-Version: 1.0 Content-Type: text/plain;charset=3Diso-2022-jp Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) Importance: Normal X-Spam-Scanner: SpamAssassin 3.000001 (http://www.spamassassin.org/) on=20 mojo.12inch.com X-Spam-Score: -2.467 / 4.000: 22.533% X-Spam-Tests: AWL(0.125),NO_REAL_NAME(0.007),BAYES_00(-2.599) X-Scanned-By: MIMEDefang 2.49 on 64.7.201.48 ** NOTE: when i look at the header in my mail client (thunderbird, or=20 Squirrelmail 1.4.3a-1) the Subject header does not have a CRLF before=20 the word "WEB" ... it appears to have line-wrapped when I pasted it. the CRLF and spaces between the last character of the encoded subject=20 and the ']' are showing up in the header view or source view of my mail=20 client(s) I've changed the domain-name and IP address information for my company's=20 mailserver but have made no other changes to the header information. out-bound mail from the company network does not pass thru SpamAssassin,=20 but is scanned with ClamAV 8.0 anti-virus software. I'm running Sendmail=20 8.13.1 with MIMEDefang milter. I'm not doing any message rebuilding=20 within MIMEDefang. any assistance is greatly appreciated. Thank you, alan |