Author: berndf
Date: Wed Aug 9 09:07:44 2006
New Revision: 430081
URL: http://svn.apache.org/viewvc?rev=430081&view=rev
Log:
applied the fix/patch for JIRA POSTAGE-7
Modified:
james/postage/trunk/src/main/java/org/apache/james/postage/smtpserver/SimpleSMTPServerConfiguration.java
Modified:
james/postage/trunk/src/main/java/org/apache/james/postage/smtpserver/SimpleSMTPServerConfiguration.java
URL:
http://svn.apache.org/viewvc/james/postage/trunk/src/main/java/org/apache/james/postage/smtpserver/SimpleSMTPServerConfiguration.java?rev=430081&r1=430080&r2=430081&view=diff
==============================================================================
---
james/postage/trunk/src/main/java/org/apache/james/postage/smtpserver/SimpleSMTPServerConfiguration.java
(original)
+++
james/postage/trunk/src/main/java/org/apache/james/postage/smtpserver/SimpleSMTPServerConfiguration.java
Wed Aug 9 09:07:44 2006
@@ -23,6 +23,8 @@
import org.apache.james.smtpserver.HeloCmdHandler;
import org.apache.james.smtpserver.EhloCmdHandler;
import org.apache.james.smtpserver.AuthCmdHandler;
+import org.apache.james.smtpserver.NoopCmdHandler;
+import org.apache.james.smtpserver.SendMailHandler;
import org.apache.james.smtpserver.VrfyCmdHandler;
import org.apache.james.smtpserver.ExpnCmdHandler;
import org.apache.james.smtpserver.MailCmdHandler;
@@ -43,7 +45,7 @@
return defaultConfiguration;
}
- public static DefaultConfiguration
createRemoteManagerHandlerChainConfiguration() {
+ public static DefaultConfiguration createHandlerChainConfiguration() {
DefaultConfiguration handlerChainConfig = new
DefaultConfiguration("handlerchain");
handlerChainConfig.addChild(createCommandHandlerConfiguration("HELO",
HeloCmdHandler.class));
handlerChainConfig.addChild(createCommandHandlerConfiguration("EHLO",
EhloCmdHandler.class));
@@ -56,6 +58,8 @@
handlerChainConfig.addChild(createCommandHandlerConfiguration("RSET",
RsetCmdHandler.class));
handlerChainConfig.addChild(createCommandHandlerConfiguration("HELP",
HelpCmdHandler.class));
handlerChainConfig.addChild(createCommandHandlerConfiguration("QUIT",
QuitCmdHandler.class));
+ handlerChainConfig.addChild(createCommandHandlerConfiguration("NOOP",
NoopCmdHandler.class));
+ handlerChainConfig.addChild(createCommandHandlerConfiguration("Default
SendMailHandler", SendMailHandler.class));
return handlerChainConfig;
}
@@ -107,7 +111,7 @@
handlerConfig.addChild(getValuedConfiguration("maxmessagesize", "" +
0));
handlerConfig.addChild(getValuedConfiguration("authRequired",
m_authorizingMode));
- handlerConfig.addChild(createRemoteManagerHandlerChainConfiguration());
+ handlerConfig.addChild(createHandlerChainConfiguration());
addChild(handlerConfig);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]