|
From: Tomas K. <to...@us...> - 2004-12-08 07:12:25
|
> I'm using SquirrelMail 1.4.3a-1 on RedHat EL 3.0 in a Japanese language > environment. Mostly it is working without issue, however recently one > of my users pointed out that their subject was munged when replying. > > this is the comment from the user: (in japanese) > 件名がもともとは「測用URL発行の御願い」なのに、返信をすると > このように化けてしまます。 > 「Re: 測用URL= ?ISO-2022-JP?B?GyRCSC85VCROOGY0aiQkGyhC?=」 > > > > 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 > being inserted into the Subject: header. I'm not a PHP programmer, but > I've looked through the code and have yet to be able to determine where > this is happening. In my test case, I used an email with the following > subject: > > WEBメールの件名が化けます > > 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=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) > 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=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) > 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=?ISO-2022-JP?B?GyRCJWEhPCVrJE43b0w+JCwyPSQxJF4kORsoQg==? ] > 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=iso-2022-jp > Content-Transfer-Encoding: 7bit > X-Priority: 3 (Normal) > Importance: Normal > X-Spam-Scanner: SpamAssassin 3.000001 (http://www.spamassassin.org/) on > 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 > Squirrelmail 1.4.3a-1) the Subject header does not have a CRLF before > 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 > and the ']' are showing up in the header view or source view of my mail > client(s) > > I've changed the domain-name and IP address information for my company's > mailserver but have made no other changes to the header information. > > > out-bound mail from the company network does not pass thru SpamAssassin, > but is scanned with ClamAV 8.0 anti-virus software. I'm running Sendmail > 8.13.1 with MIMEDefang milter. I'm not doing any message rebuilding > within MIMEDefang. > > any assistance is greatly appreciated. 1. can you reproduce it when you remove mimedefang 2. can you reproduce it vanilla squirrelmail package If header (one line) looks like ---- Subject: [Fwd: WEB=?ISO-2022-JP?B?GyRCJWEhPCVrJE43b0w+JCwyPSQxJF4kORsoQg==? ] ---- then it is not encoded correctly. -- Tomas |