[ http://issues.apache.org/jira/browse/JAMES-638?page=comments#action_12438153 ] Stefano Bagnara commented on JAMES-638: ---------------------------------------
I don't understand your last comment. I know the rfc2821 and I re-read the p2.4 now but I can't understand what is simpler.. We have to convert messages to 7 bit if they are 8bit and we send to 8 bit servers: the bug is that your message is not 8bit but james try anyway to convert it to 7bit and hit a known javamail bug. As a solution we could remove the convertTo7bit code because message we receive from the internet are not 8bit (because we don't currently support 8bitmime) so we can safely relay them to any server as-is (with no conversion). And I think this is a new bug introduced with 2.3.0: Is part of the code I wrote to support 8bitmime and I had to comment out most of it because of the 3 javamail bugs mentioned previously. James 2.2.0 had no "convertTo7bit" method in the remotedelivery. > Wrong default encoding in text message (Autoconverted: from 8bit to > quoted-printable) > ------------------------------------------------------------------------------------- > > Key: JAMES-638 > URL: http://issues.apache.org/jira/browse/JAMES-638 > Project: James > Issue Type: Bug > Affects Versions: Trunk, 2.3.0rc3 > Environment: James 3.0, Linux > Reporter: Guillermo Grandes > Fix For: 2.3.0, Trunk > > > Sending mail throught James to a second server (james as relay) make a wrong > conversion of charset, I suppose that 8bit to quoted printable, the route of > this mail is: sendmail(orig) -> james(relay) -> exchange(final) > Input DATA (to James from sendmail): > Date: Wed, 27 Sep 2006 01:05:07 +0200 > From: [EMAIL PROTECTED] > Message-Id: <[EMAIL PROTECTED]> > Subject: Jelou dolly > 2006-09-27 00:58:34 -> 2006-09-27 01:05:07 > mymoney=238 > yourmoney=162 > diff=31%(76) > Received DATA (received in Exchange from James) > Microsoft Mail Internet Headers Version 2.0 > Content-Transfer-Encoding: quoted-printable > X-MIME-Autoconverted: from 8bit to quoted-printable by Apache JAMES > Message-ID: <[EMAIL PROTECTED]> > MIME-Version: 1.0 > Content-Type: text/plain; charset=us-ascii > Date: Wed, 27 Sep 2006 01:05:07 +0200 > From: [EMAIL PROTECTED] > Subject: Jelou dolly > Return-Path: [EMAIL PROTECTED] > X-OriginalArrivalTime: 26 Sep 2006 23:05:09.0546 (UTC) > FILETIME=[36C490A0:01C6E1C0] > 2006-09-27 00:58:34 -> 2006-09-27 01:05:07 > mymoney#8 > yourmoney2 > diff%(76) > If James is bypassed (usign IIS-SMTP-Relay instead of James), the body is OK, > like this: > Microsoft Mail Internet Headers Version 2.0 > content-class: urn:content-classes:message > Date: Tue, 26 Sep 2006 01:02:04 +0200 > From: <[EMAIL PROTECTED]> > Message-ID: <[EMAIL PROTECTED]> > Subject: Jelou dolly > X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 > Return-Path: <[EMAIL PROTECTED]> > X-OriginalArrivalTime: 25 Sep 2006 23:05:07.0593 (UTC) > FILETIME=[0B30CF90:01C6E0F7] > 2006-09-26 00:48:13 -> 2006-09-26 01:02:04 > mymoney=120 > yourmoney=80 > diff=33%(40) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
