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 2006/07/15 11:50:04 UTC

svn commit: r422199 - /james/server/trunk/src/conf/james-config.xml

Author: norman
Date: Sat Jul 15 02:50:03 2006
New Revision: 422199

URL: http://svn.apache.org/viewvc?rev=422199&view=rev
Log:
Fix the config.xml

Modified:
    james/server/trunk/src/conf/james-config.xml

Modified: james/server/trunk/src/conf/james-config.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/src/conf/james-config.xml?rev=422199&r1=422198&r2=422199&view=diff
==============================================================================
--- james/server/trunk/src/conf/james-config.xml (original)
+++ james/server/trunk/src/conf/james-config.xml Sat Jul 15 02:50:03 2006
@@ -910,6 +910,7 @@
          -->
 
          <!-- The configuration handler chain -->
+         <!-- The configuration handler chain -->
          <handlerchain>
             
             <!-- The connect handler configuration -->
@@ -919,7 +920,7 @@
             <!-- why the ip was blocked. Default to false -->            
             <!--
             
-            <handler class="org.apache.james.smtpserver.DNSRBLHandler">
+            <handler class="org.apache.james.smtpserver.core.DNSRBLHandler">
                <getDetail> false </getDetail>
                <rblservers>
                   <whitelist> query.bondedsender.org </whitelist>
@@ -929,89 +930,67 @@
                   <blacklist> relays.ordb.org </blacklist>
                </rblservers>
             </handler>            
-            -->            
+            -->    
             
-            <!-- The command handler configuration -->
-            <handler command="HELO" class="org.apache.james.smtpserver.HeloCmdHandler">
-                <!-- If is set to true helo is only accepted if it can be resolved -->
-                <!--
-                <checkResolvableHelo> false </checkResolvableHelo>
-                -->
-                
-                <!-- If is set to true helo is only accepted if it is equal the reverse of the -->
-                <!-- connecting client -->
-                <!--
-                <checkReverseEqualsHelo> false </checkReverseEqualsHelo>
-                -->
-                
-                <!-- If is set to true sender domain will be checked also for clients that -->
-                <!-- are allowed to relay. Default is false. -->
-                <!--
-                <checkAuthNetworks> false </checkAuthNetworks>
-                -->
-            </handler>
-            <handler command="EHLO" class="org.apache.james.smtpserver.EhloCmdHandler">
-                <!-- If is set to true ehlo is only accepted if it can be resolved -->
-                <!--
-                <checkResolvableEhlo> false </checkResolvableEhlo>
-                -->
-                
-                <!-- If is set to true ehlo is only accepted if it is equal the reverse of the -->
-                <!-- connecting client -->
-                <!--
-                <checkReverseEqualsEhlo> false </checkReverseEqualsEhlo>
-                -->
-                
-                <!-- If is set to true sender domain will be checked also for clients that -->
-                <!-- are allowed to relay. Default is false. -->
-                <!--
-                <checkAuthNetworks> false </checkAuthNetworks>
-                -->
+            <!-- Load the core filter command handlers-->
+            <handler class="org.apache.james.smtpserver.core.filter.CoreFilterCmdHandlerLoader"></handler>        
+
+            <!-- The filter handler configuration -->
+
+            <!-- checks for resolvable HELO/EHLO before accept the HELO/EHLO -->
+            <!-- If checkAuthNetworks is set to true sender domain will be checked also for clients that -->
+            <!-- are allowed to relay. Default is false. -->
+            <!--
+            <handler class="org.apache.james.smtpserver.core.filter.fastfail.ResolvableEhloHeloHandler" command="EHLO,HELO">
+                 <checkAuthNetworks> false </checkAuthNetworks>
+            </handler>  
+            -->
+            
+            <!-- Checks HELO/EHLO is equal the reverse of the connecting client before accept it -->
+            <!-- If checkAuthNetworks is set to true sender domain will be checked also for clients that -->
+            <!-- are allowed to relay. Default is false. -->
+            <!--
+            <handler class="org.apache.james.smtpserver.core.filter.fastfail.ReverseEqualsEhloHeloHandler" command="EHLO,HELO">
+                <checkAuthClients> false </checkAuthClients>
             </handler>
-            <handler command="AUTH" class="org.apache.james.smtpserver.AuthCmdHandler"></handler>
-            <handler command="VRFY" class="org.apache.james.smtpserver.VrfyCmdHandler"></handler>
-            <handler command="EXPN" class="org.apache.james.smtpserver.ExpnCmdHandler"></handler>
-            <handler command="MAIL" class="org.apache.james.smtpserver.MailCmdHandler">
-                <!-- If is set to true mail is only accepted if the sender contains -->
-                <!-- a resolvable domain having a valid MX Record or A Record associated! -->
-                <!--
-                <checkValidSenderDomain> false </checkValidSenderDomain>
-                -->
-                <!-- If is set to true sender domain from clients that are allowed to -->
-                <!-- relay will be checked, too. Default is false. -->
-                <!-- 
+            -->
+            
+            <!-- If activated mail is only accepted if the sender contains -->
+            <!-- a resolvable domain having a valid MX Record or A Record associated! -->
+            <!-- If checkAuthNetworks is set to true sender domain will be checked also for clients that -->
+            <!-- are allowed to relay. Default is false. -->
+            <!--
+            <handler class="org.apache.james.smtpserver.core.filter.fastfail.ValidSenderDomainHandler" command="MAIL">
                 <checkAuthClients> false </checkAuthClients>
-                -->
             </handler>
-            <handler command="RCPT" class="org.apache.james.smtpserver.RcptCmdHandler">
-                <!-- If is set to a bigger value as 0 you can limit the maximal recipients -->
-                <!-- per email. Default is set to 0. -->
-                <!-- 
-                <maxRcpt> 0 </maxRcpt>
-                -->
-                
-                <!-- If is set to a bigger value as 0 you can set the recipients after which -->
-                <!-- tarpitting get activated. -->
-                <!-- Tarpitting is a method to insert a small sleep after each rcpt. For more -->
-                <!-- infos read this: http://www.palomine.net/qmail/tarpit.html . -->
-                <!-- Default is set to 0 (disabled). -->
-                <!--
-                <tarpitRcptCount> 0 </tarpitRcptCount>
-                -->
-                <!-- See timeout in milliseconds to insert after the rcpt. Only is used if -->
-                <!-- tarpitting is activated. -->
-                <!--
-                <tarpitSleepTime> 5000 </tarpitSleepTime>
-                -->
+            -->
+            
+            <!-- If activated you can limit the maximal recipients -->
+            <!-- 
+            <handler class="org.apache.james.smtpserver.core.filter.fastfail.MaxRcptHandler" command="RCPT">
+                <maxRcpt> 10 </maxRcpt>                
+            </handler>
+            -->
+            
+            <!-- If is set to a bigger value as 0 you can set the recipients after which -->
+            <!-- tarpitting get activated. -->
+            <!-- Tarpitting is a method to insert a small sleep after each rcpt. For more -->
+            <!-- infos read this: http://www.palomine.net/qmail/tarpit.html . -->
+            <!-- Default is set to 0 (disabled). -->
+            <!-- You can also configure the time to sleep in milliseconds -->
+            <!--
+            <handler class="org.apache.james.smtpserver.core.filter.fastfail.TarpitHandler" command="RCPT">
+                <tarpitRcptCount> 5 </tarpitRcptCount>
+                 <tarpitSleepTime> 5000 </tarpitSleepTime>
             </handler>
-            <handler command="DATA" class="org.apache.james.smtpserver.DataCmdHandler"></handler>
-            <handler command="RSET" class="org.apache.james.smtpserver.RsetCmdHandler"></handler>
-            <handler command="HELP" class="org.apache.james.smtpserver.HelpCmdHandler"></handler>
-            <handler command="QUIT" class="org.apache.james.smtpserver.QuitCmdHandler"></handler>
+            -->
+         
+            <!-- Load the core command handlers -->
+            <handler class="org.apache.james.smtpserver.core.CoreCmdHandlerLoader"></handler>        
          
             <!-- The message handler configuration -->
             <!-- 
-            <handler class="org.apache.james.smtpserver.SetMimeHeaderHandler">
+            <handler class="org.apache.james.smtpserver.core.SetMimeHeaderHandler">
                 <headername>SPF-test</headername>
                 <headervalue>passed</headervalue>
             </handler>
@@ -1020,7 +999,7 @@
             <!--  The default message receiving handler -->
             <!--  The default behaviour is to put the message in the root processor of -->
             <!--  the spooler -->
-            <handler class="org.apache.james.smtpserver.SendMailHandler">
+            <handler class="org.apache.james.smtpserver.core.SendMailHandler">
             </handler>
          </handlerchain>
             



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org