[ http://issues.apache.org/jira/browse/JAMES-638?page=comments#action_12438175 ] Stefano Bagnara commented on JAMES-638: ---------------------------------------
Yes, it should solve your problem. Btw maybe a better solution is to remove the whole call: that code hit a javamail bug, so if we really need to make a conversion we would corrupt the message because of the bug in javamail. So it is safe (imho) to remove the whole call. The conversion would be needed only for messages generated by James and not for messages received via SMTP. I'm sorry I have no time to investigate much more on this bug now, but my first attempt will be to remove that method at all (for 2.3.0). For trunk I have to think about it: I would like to find a solution that will work when javamail 1.4.1 will be released. > 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]
