You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ba...@apache.org on 2006/03/01 10:16:03 UTC
svn commit: r381960 -
/james/server/trunk/src/java/org/apache/james/transport/mailets/RemoteDelivery.java
Author: bago
Date: Wed Mar 1 01:16:01 2006
New Revision: 381960
URL: http://svn.apache.org/viewcvs?rev=381960&view=rev
Log:
Disabled 8bitmime support in remotedelivery (JAMES-419 / JAMES-52).
Javamail (1.3.2 ~ 1.4ea) has critical bugs in 8bitmime support: NPE with incomplete messages (missing contenttype/encodings), bad conversions for mimemessages created by inputstreams (it simply change the encoding header with no updates for the body!)
Modified:
james/server/trunk/src/java/org/apache/james/transport/mailets/RemoteDelivery.java
Modified: james/server/trunk/src/java/org/apache/james/transport/mailets/RemoteDelivery.java
URL: http://svn.apache.org/viewcvs/james/server/trunk/src/java/org/apache/james/transport/mailets/RemoteDelivery.java?rev=381960&r1=381959&r2=381960&view=diff
==============================================================================
--- james/server/trunk/src/java/org/apache/james/transport/mailets/RemoteDelivery.java (original)
+++ james/server/trunk/src/java/org/apache/james/transport/mailets/RemoteDelivery.java Wed Mar 1 01:16:01 2006
@@ -1036,9 +1036,11 @@
// Reactivated: javamail 1.3.2 should no more have problems with "250 OK"
// messages (WAS "false": Prevents problems encountered with 250 OK Messages)
props.put("mail.smtp.ehlo", "true");
- // By setting this property the transport is allowed to
- // send 8 bit data to the server (if it supports the 8bitmime extension).
- props.setProperty("mail.smtp.allow8bitmime", "true");
+ // By setting this property to true the transport is allowed to
+ // send 8 bit data to the server (if it supports the 8bitmime extension).
+ // 2006/03/01 reverted to false because of a javamail bug converting to 8bit
+ // messages created by an inputstream.
+ props.setProperty("mail.smtp.allow8bitmime", "false");
//Sets timeout on going connections
props.put("mail.smtp.timeout", smtpTimeout + "");
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org