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