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 no...@apache.org on 2010/11/08 10:59:37 UTC
svn commit: r1032511 -
/james/server/trunk/mailets/src/main/java/org/apache/james/transport/mailets/SieveMailet.java
Author: norman
Date: Mon Nov 8 09:59:36 2010
New Revision: 1032511
URL: http://svn.apache.org/viewvc?rev=1032511&view=rev
Log:
now really fixed.. doh!
Modified:
james/server/trunk/mailets/src/main/java/org/apache/james/transport/mailets/SieveMailet.java
Modified: james/server/trunk/mailets/src/main/java/org/apache/james/transport/mailets/SieveMailet.java
URL: http://svn.apache.org/viewvc/james/server/trunk/mailets/src/main/java/org/apache/james/transport/mailets/SieveMailet.java?rev=1032511&r1=1032510&r2=1032511&view=diff
==============================================================================
--- james/server/trunk/mailets/src/main/java/org/apache/james/transport/mailets/SieveMailet.java (original)
+++ james/server/trunk/mailets/src/main/java/org/apache/james/transport/mailets/SieveMailet.java Mon Nov 8 09:59:36 2010
@@ -108,7 +108,7 @@ public class SieveMailet extends SieveMa
final int endOfHost = url.indexOf('/', startOfHost);
final String host = url.substring(startOfHost, endOfHost);
// if (!"localhost".equals(host)) {
- if (getMailetContext().isLocalServer(host)) {
+ if (host.equals("localhost") == false) {
// TODO: possible support for clustering?
throw new MessagingException("Only local mailboxes are supported");
} else {
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org