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: [email protected]
For additional commands, e-mail: [email protected]