james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r381960 - /james/server/trunk/src/java/org/apache/james/transport/mailets/RemoteDelivery.java
Date Wed, 01 Mar 2006 09:16:03 GMT
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


Mime
View raw message