Author: eric
Date: Thu Jun 14 07:18:06 2012
New Revision: 1350109

URL: http://svn.apache.org/viewvc?rev=1350109&view=rev
Log:
Add SpamAssassin mailet example in mailetcontainer-template.conf

Modified:
    james/app/trunk/src/main/resources/mailetcontainer-template.conf

Modified: james/app/trunk/src/main/resources/mailetcontainer-template.conf
URL: 
http://svn.apache.org/viewvc/james/app/trunk/src/main/resources/mailetcontainer-template.conf?rev=1350109&r1=1350108&r2=1350109&view=diff
==============================================================================
--- james/app/trunk/src/main/resources/mailetcontainer-template.conf (original)
+++ james/app/trunk/src/main/resources/mailetcontainer-template.conf Thu Jun 14 
07:18:06 2012
@@ -304,7 +304,7 @@ Regards, Postmaster XXX.YYY
        <!--
        <mailet match="All" class="BayesianAnalysis" onMailetException="ignore">
           <repositoryPath>db://maildb</repositoryPath>
-      <maxSize>200000</maxSize>
+          <maxSize>200000</maxSize>
           <headerName>X-MessageIsSpamProbability</headerName>
           <ignoreLocalSender>true</ignoreLocalSender>
        </mailet>
@@ -323,11 +323,17 @@ Regards, Postmaster XXX.YYY
           <notice>Spam not accepted</notice>
        </mailet>
          -->
+         
+       <mailet notmatch="SenderHostIsLocal" class="SpamAssassin">
+          <spamdHost>localhost</spamdHost>
+          <spamdPort>783</spamdPort>
+       </mailet>
 
        <!-- Send remaining mails to the transport processor for either local 
or remote delivery -->
        <mailet match="All" class="ToProcessor">
           <processor>transport</processor>
        </mailet>
+
     </processor>
 
     <!-- The error processor is required.  James may internally set emails to 
the -->



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

Reply via email to