Thank you for your reply and BUGFIX #2474 .
On February 4, 2003 at 12:07, =?ISO-2022-JP?B?GyRCP3k4NhsoQg==?= wrote:
Ah,Sorry.
I've tested snapshot(2003-02-04) + TEXTENCODE , snapshot + latest
library from CVS marked *BUGFIX #2474 + TEXTENCODE .
But now I have two problems.
1) If attachment file name is include 0x24,in the MAILhead_get_disposition ,
$filename becomes invalid.
Content-Disposition: attachment; filename="
=?ISO-2022-JP?B?GyRCJSIlJCUmGyhC?=.xls"
"=?ISO-2022-JP?B?GyRCJSIlJCUmGyhC?=.xls" should be decode to
1b 24 42 2522 2524 2526 1b 28 42 2e 78 6c 73
ESC $ B ~~ ESC ( B . x l s
I changed temporarily like below,it seems good (not using TEXTENCODE).
---------------------------------
%diff readmail.pl.org readmail.pl
930c930
< if (/filename="([^"]+)"/i) {
---
> if (/filename="(.+)"$/i) {
937c937
< if (/name="([^"]+)"/i) {
---
> if (/name="(.+)"$/i) {
---------------------------------
2) In the Head of Message (<!--X-Head-of-Message--> to
<!--X-Head-of-Message-End-->
"@" is converted to @ (Unicode character entity references).
For example, namazu sometimes uses "From" field in this area and it can't
detect mail address ...
--------------------------------
<!--X-Head-of-Message-->
<ul>
<li><em>To</em>: testfile@foo.bar.jp</li>
<li><em>Subject</em>: test</li>
<li><em>From</em>: t_sugihara <t_sugihara@foo.bar></li>
<li><em>Message-id</em>:
<<ahref="msg00000.html">xxxxxx(_at_)foo(_dot_)bar(_dot_)jp</a>></li>
<li><em>Received</em>: from smtp.foo.bar by foo.bar.jp for
<testfile@foo.bar.jp>; Tue, 4 Feb 2003 10:39:15 </li>
<li><em>Received</em>: from T-Sugihara by foo.bar.jp with SMTP id
h141dFA21642 for
<testfile@foo.bar.jp>; Tue, 4 Feb 2003 10:39:15 </li>
<li><em>Return-path</em>: <t_sugihara@foo.bar></li>
</ul>
<!--X-Head-of-Message-End-->
--------------------------------
In the "To","From" and "Received" field , "@" is converted to "(" .
In the "Message-id" field , "@" is remained.
Is it caused by my wrong environment ? or are there any work-around?
Thanks,regards.
-----------
Tomohiko Sugihara (t_sugihara(_at_)mtb(_dot_)biglobe(_dot_)ne(_dot_)jp)
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV