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 2011/11/04 20:33:15 UTC
svn commit: r1197723 -
/james/server/trunk/lmtpserver/src/main/java/org/apache/james/lmtpserver/netty/LMTPServer.java
Author: norman
Date: Fri Nov 4 19:33:14 2011
New Revision: 1197723
URL: http://svn.apache.org/viewvc?rev=1197723&view=rev
Log:
Adjustment for protocols 1.6-beta2
Modified:
james/server/trunk/lmtpserver/src/main/java/org/apache/james/lmtpserver/netty/LMTPServer.java
Modified: james/server/trunk/lmtpserver/src/main/java/org/apache/james/lmtpserver/netty/LMTPServer.java
URL: http://svn.apache.org/viewvc/james/server/trunk/lmtpserver/src/main/java/org/apache/james/lmtpserver/netty/LMTPServer.java?rev=1197723&r1=1197722&r2=1197723&view=diff
==============================================================================
--- james/server/trunk/lmtpserver/src/main/java/org/apache/james/lmtpserver/netty/LMTPServer.java (original)
+++ james/server/trunk/lmtpserver/src/main/java/org/apache/james/lmtpserver/netty/LMTPServer.java Fri Nov 4 19:33:14 2011
@@ -28,7 +28,7 @@ import org.apache.james.lmtpserver.jmx.J
import org.apache.james.protocols.api.handler.HandlersPackage;
import org.apache.james.protocols.lib.netty.AbstractProtocolAsyncServer;
import org.apache.james.protocols.lmtp.LMTPConfiguration;
-import org.apache.james.protocols.lmtp.LMTPProtocol;
+import org.apache.james.protocols.smtp.SMTPProtocol;
import org.apache.james.smtpserver.netty.SMTPChannelUpstreamHandler;
import org.jboss.netty.channel.ChannelUpstreamHandler;
@@ -105,6 +105,13 @@ public class LMTPServer extends Abstract
return LMTPServer.this.lmtpGreeting;
}
+
+
+ @Override
+ public boolean isStartTLSSupported() {
+ return false;
+ }
+
}
@@ -140,7 +147,7 @@ public class LMTPServer extends Abstract
@Override
protected ChannelUpstreamHandler createCoreHandler() {
- LMTPProtocol protocol = new LMTPProtocol(getProtocolHandlerChain(), lmtpConfig);
+ SMTPProtocol protocol = new SMTPProtocol(getProtocolHandlerChain(), lmtpConfig);
return new SMTPChannelUpstreamHandler(protocol, getLogger());
}
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org