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:55:21 UTC
svn commit: r1032509 -
/james/server/trunk/mailets/src/main/java/org/apache/james/transport/mailets/SieveMailet.java
Author: norman
Date: Mon Nov 8 09:55:21 2010
New Revision: 1032509
URL: http://svn.apache.org/viewvc?rev=1032509&view=rev
Log:
Use isLocalServer.. this was changed by mistake
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=1032509&r1=1032508&r2=1032509&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:55:21 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().isLocalUser(user) == false) {
+ if (getMailetContext().isLocalServer(host)) {
// 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