http://git-wip-us.apache.org/repos/asf/james-site/blob/4c2da3c0/content/mailet/standard/mailet-report.html
----------------------------------------------------------------------
diff --git a/content/mailet/standard/mailet-report.html 
b/content/mailet/standard/mailet-report.html
index 3bc2717..10bb272 100644
--- a/content/mailet/standard/mailet-report.html
+++ b/content/mailet/standard/mailet-report.html
@@ -1,253 +1,236 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.    
+-->
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
-
-
-
-
-
-
-
-
-
-
-<html>
+<!-- Generated by Apache Maven Doxia at 2017-06-14 -->
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   <head>
-    <title>Apache JAMES Standard Mailets - Mailet and Matchers 
Reference</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <title>Apache James Project - 
+    Overview</title>
     <style type="text/css" media="all">
-      @import url("./css/maven-base.css");
-      @import url("./css/maven-theme.css");
-      @import url("./css/site.css");
+      @import url("../../css/james.css");
+      @import url("../../css/maven-base.css");
+      @import url("../../css/maven-theme.css");
+      @import url("../../css/site.css");
+      @import 
url("../../js/jquery/css/custom-theme/jquery-ui-1.8.5.custom.css");
+      @import url("../../js/jquery/css/print.css");
+      @import url("../../js/fancybox/jquery.fancybox-1.3.4.css");
     </style>
-    <link rel="stylesheet" href="./css/print.css" type="text/css" 
media="print" />
-        <meta http-equiv="Content-Type" content="text/html; 
charset=ISO-8859-1" />
-      </head>
+    <script type="text/javascript" 
src="../../js/jquery/js/jquery-1.4.2.min.js"></script>
+    <script type="text/javascript" 
src="../../js/jquery-ui-1.9.2.custom.min.js"></script>
+    <script type="text/javascript" 
src="../../js/fancybox/jquery.fancybox-1.3.4.js"></script>
+    <link rel="stylesheet" href="../../css/print.css" type="text/css" 
media="print" />
+      <meta name="author" content="JAMES Project Team" />
+    <meta name="Date-Revision-yyyymmdd" content="20170614" />
+    <meta http-equiv="Content-Language" content="en" />
+                                                    
+<link title="DOAP" rel="meta" type="application/rdf+xml" 
href="http://james.apache.org//doap_james-project.rdf"/>
+                      
+          <!-- Google Analytics -->
+    <script type="text/javascript">
+    
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-1384591-1']);
+      _gaq.push(['_trackPageview']);
+
+      (function() {
+        var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script').item(0); 
s.parentNode.insertBefore(ga, s);
+      })();
+
+    </script>
+    </head>
   <body class="composite">
     <div id="banner">
-                  <a href="index.html" id="bannerLeft">
-    
-                                            <img 
src="images/james-standard-mailets-logo.gif" alt="" />
-    
-            </a>
-                        <a href="http://www.apache.org/index.html"; 
id="bannerRight">
-    
-                                            <img 
src="images/asf-logo-reduced.gif" alt="" />
-    
-            </a>
+                                      <a href="../../index.html" 
id="bannerLeft" title="james-logo.png">
+              
+                                                                            
+        <img src="../../images/logos/james-logo.png" alt="James Project" />
+                </a>
+                              <a href="http://www.apache.org/index.html"; 
id="bannerRight">
+              
+                                        
+        <img src="../../images/logos/asf_logo_small.png" alt="The Apache 
Software Foundation" />
+                </a>
             <div class="clear">
         <hr/>
       </div>
     </div>
     <div id="breadcrumbs">
-          
-  
-
-  
-    
-  
-  
-            <div class="xleft">
-        Last Published: 09/06/2009
+            
+                
+                <div class="xleft">
+        <span id="publishDate">Last Published: 2017-06-14</span>
                       </div>
-            <div class="xright">      <a href="../../index.html">JAMES 
Project</a>
-          |
-          <a href="../../server/index.html">Server</a>
-          |
-          <a href="../../mailet/index.html">Mailets</a>
-          |
-          <a href="../../jspf/index.html">jSPF</a>
-          |
-          <a href="../../mime4j/index.html">Mime4J</a>
-          |
-          <a href="../../jsieve/index.html">JSieve</a>
-          |
-          <a href="../../postage/index.html">Postage</a>
-          
-  
-
-  
-    
-  
-  
-  </div>
+            <div class="xright">                    <a href="../../index.html" 
title="Home">Home</a>
+            |
+                        <a href="../../documentation.html" 
title="James">James</a>
+            |
+                        <a href="../../mime4j/index.html" 
title="Mime4J">Mime4J</a>
+            |
+                        <a href="../../jsieve/index.html" 
title="jSieve">jSieve</a>
+            |
+                        <a href="../../jspf/index.html" title="jSPF">jSPF</a>
+            |
+                        <a href="../../jdkim/index.html" 
title="jDKIM">jDKIM</a>
+            |
+                        <a href="../../hupa/index.html" title="Hupa">Hupa</a>
+              
+                
+      </div>
       <div class="clear">
         <hr/>
       </div>
     </div>
     <div id="leftColumn">
       <div id="navcolumn">
-           
-  
-
-  
-    
-  
-  
-                   <h5>Standard Mailets</h5>
-        <ul>
-              
-    <li class="none">
-              <a href="index.html">Overview</a>
-        </li>
-              
-    <li class="none">
-              <a href="conf.html">Configuration</a>
-        </li>
-              
-    <li class="none">
-              <strong>Catalog</strong>
-        </li>
-              
-    <li class="none">
-              <a href="release-notes.html">Release Notes</a>
-        </li>
-              
-    <li class="none">
-              <a href="doap_apache-standard-mailets.rdf">DOAP</a>
-        </li>
-          </ul>
-          <h5>Mailet</h5>
-        <ul>
-              
-    <li class="none">
-              <a href="http://james.apache.org/mailet/api";>API</a>
-        </li>
-              
-    <li class="none">
-              <a href="http://james.apache.org/mailet/base";>Basic Toolkit</a>
-        </li>
-              
-    <li class="none">
-              <a href="http://james.apache.org/mailet/crypto";>Crypto</a>
-        </li>
-              
-    <li class="none">
-              <a 
href="http://james.apache.org/jsieve/mailet/index.html";>Sieve</a>
-        </li>
-              
-    <li class="none">
-              <a 
href="http://james.apache.org/mailet/maven-mailetdocs-plugin";>MailetDocs</a>
-        </li>
-              
-    <li class="none">
-              <a href="">Standard</a>
-        </li>
-          </ul>
-          <h5>Project Documentation</h5>
-        <ul>
-              
+             
                 
-              
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-              
-        <li class="collapsed">
-              <a href="project-info.html">Project Information</a>
-              </li>
-              
-                
-              
-      
-            
-            
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-              
-            <li class="expanded">
-              <a href="project-reports.html">Project Reports</a>
-                <ul>
-                  
-    <li class="none">
-              <a href="apidocs/index.html">JavaDocs</a>
-        </li>
-                  
-    <li class="none">
-              <strong>Mailet Reference</strong>
-        </li>
-                  
-    <li class="none">
-              <a href="rat-report.html">RAT Report</a>
-        </li>
-                  
-    <li class="none">
-              <a href="xref/index.html">Source Xref</a>
-        </li>
-                  
-    <li class="none">
-              <a href="surefire-report.html">Surefire Report</a>
-        </li>
-                  
-    <li class="none">
-              <a href="taglist.html">Tag List</a>
-        </li>
-                  
-    <li class="none">
-              <a href="testapidocs/index.html">Test JavaDocs</a>
-        </li>
-                  
-    <li class="none">
-              <a href="xref-test/index.html">Test Source Xref</a>
-        </li>
+                                <h5>James components</h5>
+                  <ul>
+                                                                               
                                                                                
                                                                       <li 
class="collapsed">
+                          <a href="../../documentation.html" title="About 
James">About James</a>
+                  </li>
+                                                                               
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                      
                                                                                
                                                                                
                                                                                
                    <li class="collapsed">
+                          <a href="../../server/index.html" 
title="Server">Server</a>
+                  </li>
+                                                                               
                                                                                
                                                                                
                                     <li class="expanded">
+                          <a href="../../mailet/index.html" 
title="Mailets">Mailets</a>
+                    <ul>
+                      <li class="none">
+                          <a href="../../mailet/quickstart.html" title="Quick 
Start">Quick Start</a>
+            </li>
+                      <li class="none">
+                          <a href="../../mailet/api/index.html" title="Mailet 
API">Mailet API</a>
+            </li>
+                      <li class="none">
+                          <a href="../../mailet/ai/index.html" title="Mailet 
AI">Mailet AI</a>
+            </li>
+                      <li class="none">
+                          <a href="../../mailet/base/index.html" title="Basic 
Mailet Toolkit">Basic Mailet Toolkit</a>
+            </li>
+                      <li class="none">
+                          <a href="../../mailet/crypto/index.html" 
title="Crypto Mailets">Crypto Mailets</a>
+            </li>
+                      <li class="none">
+                          <a 
href="../../mailet/mailetdocs-maven-plugin/index.html" 
title="MailetDocs">MailetDocs</a>
+            </li>
+                      <li class="none">
+            <strong>Standard Mailets</strong>
+          </li>
+                      <li class="none">
+                          <a href="../../mail.html#Mailet_API_List" 
title="Mailing Lists">Mailing Lists</a>
+            </li>
+                      <li class="none">
+                          <a href="../../mailet/release-notes.html" 
title="Release Notes">Release Notes</a>
+            </li>
+                      <li class="none">
+                          <a href="../../mailet/apidocs" title="Java 
Docs">Java Docs</a>
+            </li>
+                      <li class="none">
+                          <a 
href="https://issues.apache.org/jira/browse/MAILET"; title="Issue Tracker">Issue 
Tracker</a>
+            </li>
+                      <li class="none">
+                          <a href="../../download.cgi#Apache_Mailet" 
title="Download releases">Download releases</a>
+            </li>
               </ul>
         </li>
+                                                                               
                                                                                
                                                                                
                                                                                
             <li class="collapsed">
+                          <a href="../../mailbox/index.html" 
title="Mailbox">Mailbox</a>
+                  </li>
+                                                                               
                                                                                
                 <li class="collapsed">
+                          <a href="../../protocols/index.html" 
title="Protocols">Protocols</a>
+                  </li>
+                                                                               
                                                                                
                                         <li class="collapsed">
+                          <a href="../../mpt/index.html" title="MPT">MPT</a>
+                  </li>
           </ul>
-          <h5>Downloads</h5>
-        <ul>
-              
-    <li class="none">
-              <a href="../../download.cgi">Stable releases</a>
-        </li>
-              
-    <li class="none">
-              <a href="../../downloadunstable.cgi">Unstable releases</a>
-        </li>
-              
-    <li class="none">
-              <a href="http://people.apache.org/builds/james/nightly/";>Nightly 
builds</a>
-        </li>
-          </ul>
-                                       <a href="http://maven.apache.org/"; 
title="Built by Maven" id="poweredBy">
-            <img alt="Built by Maven" 
src="./images/logos/maven-feather.png"></img>
-          </a>
-                       
-  
-
-  
-    
-  
-  
-        </div>
+        <h5>Apache Software Foundation</h5>
+  <ul>
+    <li>
+      <strong>
+        <a title="ASF" href="http://www.apache.org/";>ASF</a>
+      </strong>
+    </li>
+    <li>
+      <a title="Get Involved" 
href="http://www.apache.org/foundation/getinvolved.html";>Get Involved</a>
+    </li>
+    <li>
+      <a title="FAQ" href="http://www.apache.org/foundation/faq.html";>FAQ</a>
+    </li>
+    <li>
+      <a title="License" href="http://www.apache.org/licenses/"; >License</a>
+    </li>
+    <li>
+      <a title="Sponsorship" 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a>
+    </li>
+    <li>
+      <a title="Thanks" 
href="http://www.apache.org/foundation/thanks.html";>Thanks</a>
+    </li>
+    <li>
+      <a title="Security" href="http://www.apache.org/security/";>Security</a>
+    </li>
+  </ul>
+                       <a href="http://maven.apache.org/"; title="Built by 
Maven" class="poweredBy">
+        <img class="poweredBy" alt="Built by Maven" 
src="../../images/logos/maven-feather.png" />
+      </a>
+                   
+                
+            </div>
     </div>
     <div id="bodyColumn">
       <div id="contentBox">
-        <div class="section"><h2>Mailets and Matchers 
Reference</h2></div><table class="bodyTable"><tr class="a"><td><div 
class="section"><h3>Matchers</h3><ul><li><a href="#All">All</a></li><li><a 
href="#AttachmentFileNameIs">AttachmentFileNameIs</a></li><li><a 
href="#CommandForListserv">CommandForListserv</a></li><li><a 
href="#CommandListservMatcher">CommandListservMatcher</a></li><li><a 
href="#CompareNumericHeaderValue">CompareNumericHeaderValue</a></li><li><a 
href="#FetchedFrom">FetchedFrom</a></li><li><a 
href="#HasAttachment">HasAttachment</a></li><li><a 
href="#HasHabeasWarrantMark">HasHabeasWarrantMark</a></li><li><a 
href="#HasHeader">HasHeader</a></li><li><a 
href="#HasMailAttribute">HasMailAttribute</a></li><li><a 
href="#HasMailAttributeWithValue">HasMailAttributeWithValue</a></li><li><a 
href="#HostIs">HostIs</a></li><li><a 
href="#HostIsLocal">HostIsLocal</a></li><li><a 
href="#IsSingleRecipient">IsSingleRecipient</a></li><li><a 
href="#RecipientIs">RecipientIs</a></li><li><a hr
 ef="#RecipientIsLocal">RecipientIsLocal</a></li><li><a 
href="#RelayLimit">RelayLimit</a></li><li><a 
href="#SMTPAuthSuccessful">SMTPAuthSuccessful</a></li><li><a 
href="#SMTPAuthUserIs">SMTPAuthUserIs</a></li><li><a 
href="#SMTPIsAuthNetwork">SMTPIsAuthNetwork</a></li><li><a 
href="#SenderHostIs">SenderHostIs</a></li><li><a 
href="#SenderHostIsLocal">SenderHostIsLocal</a></li><li><a 
href="#SenderIs">SenderIs</a></li><li><a 
href="#SenderIsNull">SenderIsNull</a></li><li><a 
href="#SizeGreaterThan">SizeGreaterThan</a></li><li><a 
href="#SubjectIs">SubjectIs</a></li><li><a 
href="#SubjectStartsWith">SubjectStartsWith</a></li><li><a 
href="#UserIs">UserIs</a></li></ul></div></td><td><div 
class="section"><h3>Mailets</h3><ul><li><a 
href="#AddFooter">AddFooter</a></li><li><a 
href="#AddHabeasWarrantMark">AddHabeasWarrantMark</a></li><li><a 
href="#AddSubjectPrefix">AddSubjectPrefix</a></li><li><a 
href="#ClamAVScan">ClamAVScan</a></li><li><a 
href="#Counter">Counter</a></li><li><a href="#DumpSystemErr">
 DumpSystemErr</a></li><li><a 
href="#ExceptionThrowingMailet">ExceptionThrowingMailet</a></li><li><a 
href="#Identity">Identity</a></li><li><a 
href="#LogMessage">LogMessage</a></li><li><a 
href="#MailAttributesToMimeHeaders">MailAttributesToMimeHeaders</a></li><li><a 
href="#Null">Null</a></li><li><a href="#OnlyText">OnlyText</a></li><li><a 
href="#PostmasterAlias">PostmasterAlias</a></li><li><a 
href="#RecoverAttachment">RecoverAttachment</a></li><li><a 
href="#RemoveAllMailAttributes">RemoveAllMailAttributes</a></li><li><a 
href="#RemoveMailAttribute">RemoveMailAttribute</a></li><li><a 
href="#RemoveMimeHeader">RemoveMimeHeader</a></li><li><a 
href="#ReplaceContent">ReplaceContent</a></li><li><a 
href="#ServerTime">ServerTime</a></li><li><a 
href="#SetMailAttribute">SetMailAttribute</a></li><li><a 
href="#SetMimeHeader">SetMimeHeader</a></li><li><a 
href="#StripAttachment">StripAttachment</a></li><li><a 
href="#ToProcessor">ToProcessor</a></li><li><a 
href="#UnwrapText">UnwrapText</a></li><li><a 
 href="#UseHeaderRecipients">UseHeaderRecipients</a></li><li><a 
href="#WrapText">WrapText</a></li></ul></div></td></tr></table><div 
class="section"><h2>Matchers</h2><div class="section"><h3><a 
name="All">All</a></h3>Matches all mail.</div><div class="section"><h3><a 
name="AttachmentFileNameIs">AttachmentFileNameIs</a></h3><P>Checks if at least 
one attachment has a file name which matches any
+        <div class="section"><h2>Mailets and Matchers Reference<a 
name="Mailets_and_Matchers_Reference"></a></h2>Items marked as Experimental are 
not yet supported by James; however, you can try 
+them.</div><table border="0" class="bodyTable"><tr class="a"><td><div 
class="section"><h3>Matchers<a name="Matchers"></a></h3><ul><li><a 
href="#AbstractQuotaMatcher">AbstractQuotaMatcher 
+(Experimental)</a></li><li><a href="#All">All</a></li><li><a 
href="#AttachmentFileNameIs">AttachmentFileNameIs (Experimental)</a></li><li><a 
href="#CommandForListserv">CommandForListserv 
+(Experimental)</a></li><li><a 
href="#CommandListservMatcher">CommandListservMatcher 
(Experimental)</a></li><li><a 
href="#CompareNumericHeaderValue">CompareNumericHeaderValue 
(Experimental)</a></li><li><a 
+href="#FetchedFrom">FetchedFrom</a></li><li><a 
href="#FileRegexMatcher">FileRegexMatcher (Experimental)</a></li><li><a 
href="#GenericRegexMatcher">GenericRegexMatcher</a></li><li><a 
+href="#HasAttachment">HasAttachment</a></li><li><a 
href="#HasHabeasWarrantMark">HasHabeasWarrantMark (Experimental)</a></li><li><a 
href="#HasHeader">HasHeader</a></li><li><a 
+href="#HasMailAttribute">HasMailAttribute</a></li><li><a 
href="#HasMailAttributeWithValue">HasMailAttributeWithValue</a></li><li><a 
+href="#HasMailAttributeWithValueRegex">HasMailAttributeWithValueRegex</a></li><li><a
 href="#HostIs">HostIs</a></li><li><a 
href="#HostIsLocal">HostIsLocal</a></li><li><a 
+href="#IsSingleRecipient">IsSingleRecipient</a></li><li><a 
href="#NESSpamCheck">NESSpamCheck (Experimental)</a></li><li><a 
href="#RecipientIs">RecipientIs</a></li><li><a 
+href="#RecipientIsLocal">RecipientIsLocal</a></li><li><a 
href="#RecipientIsRegex">RecipientIsRegex</a></li><li><a 
href="#RelayLimit">RelayLimit</a></li><li><a 
+href="#SMTPAuthSuccessful">SMTPAuthSuccessful</a></li><li><a 
href="#SMTPAuthUserIs">SMTPAuthUserIs</a></li><li><a 
href="#SMTPIsAuthNetwork">SMTPIsAuthNetwork (Experimental)</a></li><li><a 
+href="#SenderHostIs">SenderHostIs</a></li><li><a 
href="#SenderHostIsLocal">SenderHostIsLocal</a></li><li><a 
href="#SenderIs">SenderIs</a></li><li><a 
href="#SenderIsLocal">SenderIsLocal</a></li><li><a 
+href="#SenderIsNull">SenderIsNull</a></li><li><a 
href="#SenderIsRegex">SenderIsRegex</a></li><li><a 
href="#SentByMailet">SentByMailet</a></li><li><a 
href="#SizeGreaterThan">SizeGreaterThan</a></li><li><a 
+href="#SubjectIs">SubjectIs</a></li><li><a 
href="#SubjectStartsWith">SubjectStartsWith</a></li><li><a 
href="#TooManyLines">TooManyLines</a></li><li><a 
+href="#TooManyRecipients">TooManyRecipients</a></li><li><a 
href="#UserIs">UserIs</a></li></ul></div></td><td><div 
class="section"><h3>Mailets<a name="Mailets"></a></h3><ul><li><a 
+href="#AddDeliveredToHeader">AddDeliveredToHeader</a></li><li><a 
href="#AddFooter">AddFooter</a></li><li><a 
href="#AddHabeasWarrantMark">AddHabeasWarrantMark (Experimental)</a></li><li><a 
+href="#AddSubjectPrefix">AddSubjectPrefix</a></li><li><a 
href="#AmqpForwardAttribute">AmqpForwardAttribute</a></li><li><a 
href="#ClamAVScan">ClamAVScan (Experimental)</a></li><li><a 
+href="#ClassifyBounce">ClassifyBounce (Experimental)</a></li><li><a 
href="#Counter">Counter</a></li><li><a 
href="#DumpSystemErr">DumpSystemErr</a></li><li><a 
+href="#ExceptionThrowingMailet">ExceptionThrowingMailet</a></li><li><a 
href="#HeadersToHTTP">HeadersToHTTP (Experimental)</a></li><li><a 
href="#Identity">Identity</a></li><li><a 
+href="#LogMessage">LogMessage</a></li><li><a 
href="#MailAttributesToMimeHeaders">MailAttributesToMimeHeaders</a></li><li><a 
href="#MimeDecodingMailet">MimeDecodingMailet</a></li><li><a 
+href="#Null">Null</a></li><li><a href="#OnlyText">OnlyText 
(Experimental)</a></li><li><a 
href="#PostmasterAlias">PostmasterAlias</a></li><li><a 
+href="#RecipientToLowerCase">RecipientToLowerCase</a></li><li><a 
href="#RecoverAttachment">RecoverAttachment (Experimental)</a></li><li><a 
+href="#RemoveAllMailAttributes">RemoveAllMailAttributes</a></li><li><a 
href="#RemoveMailAttribute">RemoveMailAttribute</a></li><li><a 
href="#RemoveMimeHeader">RemoveMimeHeader</a></li><li><a 
+href="#ReplaceContent">ReplaceContent</a></li><li><a 
href="#SerialiseToHTTP">SerialiseToHTTP (Experimental)</a></li><li><a 
href="#ServerTime">ServerTime (Experimental)</a></li><li><a 
+href="#SetMailAttribute">SetMailAttribute</a></li><li><a 
href="#SetMimeHeader">SetMimeHeader</a></li><li><a 
href="#StripAttachment">StripAttachment</a></li><li><a 
+href="#ToProcessor">ToProcessor</a></li><li><a href="#UnwrapText">UnwrapText 
(Experimental)</a></li><li><a href="#UseHeaderRecipients">UseHeaderRecipients 
(Experimental)</a></li><li><a 
+href="#WrapText">WrapText 
(Experimental)</a></li></ul></div></td></tr></table><div 
class="section"><h2>Matchers<a name="Matchers"></a></h2><div 
class="section"><h3><a 
+name="AbstractQuotaMatcher">AbstractQuotaMatcher (Experimental)</a><a 
name="AbstractQuotaMatcher_Experimental"></a></h3><p><P>Abstract matcher 
checking whether a recipient has exceeded a maximum allowed 
+quota.</P>
+<P>"Quota" at this level is an abstraction whose specific interpretation
+will be done by subclasses.</P> 
+<P>Although extending GenericMatcher, its logic is recipient 
oriented.</P></p></div><div class="section"><h3><a 
name="All">All</a></h3><p>Matches all mail.</p></div><div 
class="section"><h3><a 
+name="AttachmentFileNameIs">AttachmentFileNameIs (Experimental)</a><a 
name="AttachmentFileNameIs_Experimental"></a></h3><p><P>Checks if at least one 
attachment has a file name which matches any
 element of a comma-separated or space-separated list of file name masks.</P>
 <P>Syntax: <CODE>match="AttachmentFileNameIs=[-d] [-z] <I>masks</I>"</CODE></P>
 <P>The match is case insensitive.</P>
@@ -255,9 +238,11 @@ element of a comma-separated or space-separated list of 
file name masks.</P>
 <P>Multiple file name masks can be specified, e.g.: '*.scr,*.bat'.</P>
 <P>If '<CODE>-d</CODE>' is coded, some debug info will be logged.</P>
 <P>If '<CODE>-z</CODE>' is coded, the check will be non-recursively applied
-to the contents of any attached '*.zip' file.</P></div><div 
class="section"><h3><a 
name="CommandForListserv">CommandForListserv</a></h3>Returns positive if the 
recipient is a command for a listserv. For example,
+to the contents of any attached '*.zip' file.</P></p></div><div 
class="section"><h3><a name="CommandForListserv">CommandForListserv 
(Experimental)</a><a 
+name="CommandForListserv_Experimental"></a></h3><p>Returns positive if the 
recipient is a command for a listserv.  For example,
 if my listserv is ja...@list.working-dogs.com, this matcher will return true
-for james...@list.working-dogs.com and 
james-...@list.working-dogs.com.</div><div class="section"><h3><a 
name="CommandListservMatcher">CommandListservMatcher</a></h3>CommandListservMatcher
 is the matcher that pairs with the {@link 
org.apache.james.transport.mailets.CommandListservManager}
+for james...@list.working-dogs.com and 
james-...@list.working-dogs.com.</p></div><div class="section"><h3><a 
name="CommandListservMatcher">CommandListservMatcher (Experimental)</a><a 
+name="CommandListservMatcher_Experimental"></a></h3><p>CommandListservMatcher 
is the matcher that pairs with the CommandListservManager
 It checks to see if the request is intended for the ListservManager, but 
doesn't guarantee that it is a valid command.
 <br />
 To configure, insert this into the config.xml inside of the root processor 
block.
@@ -265,7 +250,8 @@ To configure, insert this into the config.xml inside of the 
root processor block
 &lt;mailet match="CommandListservMatcher=announce@localhost" 
class="CommandListservManager"&gt;
 ...
 &lt;/mailet&gt;
-</pre></div><div class="section"><h3><a 
name="CompareNumericHeaderValue">CompareNumericHeaderValue</a></h3><P>Matches 
mails containing a header with a numeric value whose comparison with the 
specified value is true.
+</pre></p></div><div class="section"><h3><a 
name="CompareNumericHeaderValue">CompareNumericHeaderValue (Experimental)</a><a 
name="CompareNumericHeaderValue_Experimental"></a></h3><p><P>Matches mails 
+containing a header with a numeric value whose comparison with the specified 
value is true.
 If the header is missing in the message, there will be <I>no match</I></P>
 <P>Configuration string: The headerName, a comparison operator and the numeric 
headerValue
 to compare with, <I>space or tab delimited</I>.</P>
@@ -274,21 +260,30 @@ another set of operators is: <CODE>LT, LE, EQ, GE, 
GT</CODE>.
 Also the following operators are accepted: <CODE>=&lt, =, =&gt</CODE>.</P>
 <P>Example:</P>
 <PRE><CODE>
-&lt;mailet match="CompareNumericHeaderValue=X-MessageIsSpamProbability > 0.9" 
class="ToProcessor"&gt;
-&lt;processor&gt; spam &lt;/processor&gt;
-&lt;/mailet&gt;
-</CODE></PRE></div><div class="section"><h3><a 
name="FetchedFrom">FetchedFrom</a></h3>Matches mail with a header set by 
Fetchpop X-fetched-from <br>
+   &lt;mailet match="CompareNumericHeaderValue=X-MessageIsSpamProbability > 
0.9" class="ToProcessor"&gt;
+      &lt;processor&gt; spam &lt;/processor&gt;
+   &lt;/mailet&gt;
+</CODE></PRE></p></div><div class="section"><h3><a 
name="FetchedFrom">FetchedFrom</a></h3><p>Matches mail with a header set by 
Fetchpop X-fetched-from <br>
 fetchpop sets X-fetched-by to the "name" of the fetchpop fetch task.<br>
 This is used to match all mail fetched from a specific pop account.
 Once the condition is met the header is stripped from the message to prevent 
looping if the mail is re-inserted into the spool.
 
-$Id: FetchedFrom.java 713949 2008-11-14 07:40:21Z rdonkin $</div><div 
class="section"><h3><a name="HasAttachment">HasAttachment</a></h3>Checks 
whether this message has an attachment</div><div class="section"><h3><a 
name="HasHabeasWarrantMark">HasHabeasWarrantMark</a></h3>Matcher Info: 
<b>Habeas Warrant Mark Matcher (see http://www.habeas.com for details).</b><br 
/><p>This matcher tests for the Hebeas Warrant Mark.
+$Id$</p></div><div class="section"><h3><a 
name="FileRegexMatcher">FileRegexMatcher (Experimental)</a><a 
name="FileRegexMatcher_Experimental"></a></h3><p>Initializes RegexMatcher with 
regular expressions 
+from a file.</p></div><div class="section"><h3><a 
name="GenericRegexMatcher">GenericRegexMatcher</a></h3><p>This is a generic 
matcher that uses regular expressions.  If any of
+the regular expressions match, the matcher is considered to have
+matched.  This is an abstract class that must be subclassed to feed
+patterns.  Patterns are provided by calling the compile method.  A
+subclass will generally call compile() once during init(), but it
+could subclass match(), and call it as necessary during message
+processing (e.g., if a file of expressions changed).</p></div><div 
class="section"><h3><a name="HasAttachment">HasAttachment</a></h3><p>Checks 
whether this message has an attachment</p></div><div 
+class="section"><h3><a name="HasHabeasWarrantMark">HasHabeasWarrantMark 
(Experimental)</a><a 
name="HasHabeasWarrantMark_Experimental"></a></h3><p>Matcher Info: <b>Habeas 
Warrant Mark Matcher (see 
+http://www.habeas.com for details).</b><br /></p><p><p>This matcher tests for 
the Hebeas Warrant Mark.
 For details see: http://www.hebeas.com</p>
 
 <p>Usage: Place this matcher</p>
 <pre><code>
 &lt;mailet match="HasHabeasWarrantMark" class="ToProcessor"&gt;
-&lt;processor&gt; transport &lt;/processor&gt;
+    &lt;processor&gt; transport &lt;/processor&gt;
 &lt;/mailet&gt;
 </code></pre>
 <p>in the root processs before the DNSRBL block lists (the InSpammerBlacklist 
matcher).</p>
@@ -307,25 +302,27 @@ Dear Noel,
 > I guess that since your Warrant Mark is copyright, I should ask for
 > something from you to explicitly authorize that Hebeas will permit
 > this code to be included and distributed as part of Apache James
-> under the Apache Software License. As we have established, the use
+> under the Apache Software License.  As we have established, the use
 > of the Habeas Warrant Mark for filtering is not restricted, but I
 > would like something to confirm that, so that Apache will be happy.
 
-I can hereby confirm to you that there is no license necessary in
-order to use the Habeas mark for filtering. That said, however, we
-do insist that it not ever be used as a basis for rejecting email which
+I can hereby confirm to you that there is no license necessary in 
+order to use the Habeas mark for filtering.  That said, however, we 
+do insist that it not ever be used as a basis for rejecting email which 
 bears the Habeas mark.
 -----------------------------------
-</pre></div><div class="section"><h3><a 
name="HasHeader">HasHeader</a></h3>use: <pre><code>&lt;mailet 
match="HasHeader={&lt;header&gt;[=value]}+" class="..." /&gt;</code></pre>
-
+</pre></p></div><div class="section"><h3><a 
name="HasHeader">HasHeader</a></h3><p>use: <pre><code>&lt;mailet 
match="HasHeader={&lt;header&gt;[=value]}+" class="..." /&gt;</code></pre>
+<p/>
 <p>This matcher checks if the header named is present. If complements the
-AddHeader mailet.</p></div><div class="section"><h3><a 
name="HasMailAttribute">HasMailAttribute</a></h3>Matcher Info: <b>Has Mail 
Attribute Matcher</b><br /><P>This Matcher determines if the mail contains the 
attribute specified in the
+AddHeader mailet.</p></p></div><div class="section"><h3><a 
name="HasMailAttribute">HasMailAttribute</a></h3><p>Matcher Info: <b>Has Mail 
Attribute Matcher</b><br /></p><p><P>This Matcher determines if 
+the mail contains the attribute specified in the
 condition, and returns all recipients if it is the case.</P>
 <P>Sample configuration:</P>
 <PRE><CODE>
 &lt;mailet match="HasMailAttribute=whatever" 
class=&quot;&lt;any-class&gt;&quot;&gt;
-</CODE></PRE></div><div class="section"><h3><a 
name="HasMailAttributeWithValue">HasMailAttributeWithValue</a></h3>Matcher 
Info: <b>Has Mail Attribute With Value Matcher</b><br /><p>This Matcher 
determines if the mail contains the attribute specified in
-the condition and if the value answered when the method toString() is
+</CODE></PRE></p></div><div class="section"><h3><a 
name="HasMailAttributeWithValue">HasMailAttributeWithValue</a></h3><p>Matcher 
Info: <b>Has Mail Attribute With Value Matcher</b><br /></p><p><p>This 
+Matcher determines if the mail contains the attribute specified in
+the condition and if the value answered when the method toString() is 
 invoked on the attribute is equal to the String value specified in the
 condition. If both tests are true, all recipients are returned, else null.
 </p>
@@ -334,7 +331,7 @@ condition. If both tests are true, all recipients are 
returned, else null.
 <p>The current matcher implementation expects a single String value to match
 on. This matcher requires two values, the attribute name and attribute
 value. This requires some implicit rules to govern how the single value
-supplied to the matcher is parsed into two values.</p>
+supplied to the matcher is parsed into two values.</p> 
 <ul>
 <li>In the match condition, the split between the attribute name and the
 attribute value is made at the first comma. Attribute names that include
@@ -343,7 +340,7 @@ matcher.
 </li>
 <li>Leading and trailing spaces are removed from both the attribute name and
 attribute value specified in the condition and the tested attribute value in
-the mail prior to matching. Therefore, "abc" , " abc", "abc " and " abc "
+the mail prior to matching. Therefore, "abc" , " abc", "abc " and " abc " 
 are considered equivalent.
 </li>
 <li>To test for an empty string, do not specify an attribute value after the
@@ -354,42 +351,198 @@ comma.
 <p>Sample configuration:</p>
 <pre><code>
 &lt;mailet match="HasMailAttributeWithValue=name, value" 
class=&quot;&lt;any-class&gt;&quot;&gt;
-</code></pre></div><div class="section"><h3><a 
name="HostIs">HostIs</a></h3>Matches mail from given hosts.</div><div 
class="section"><h3><a name="HostIsLocal">HostIsLocal</a></h3>Matches mail from 
localhost.</div><div class="section"><h3><a 
name="IsSingleRecipient">IsSingleRecipient</a></h3>Matches mail where the 
number of recipiants is exactly one.</div><div class="section"><h3><a 
name="RecipientIs">RecipientIs</a></h3>Matches mail where the recipent is one 
of a configurable list.</div><div class="section"><h3><a 
name="RecipientIsLocal">RecipientIsLocal</a></h3>Matches mail where the 
recipient is local.</div><div class="section"><h3><a 
name="RelayLimit">RelayLimit</a></h3>Matches mail which has been relayed more 
than a given number of times.</div><div class="section"><h3><a 
name="SMTPAuthSuccessful">SMTPAuthSuccessful</a></h3><P>Matches mails that are 
sent by an SMTP authenticated user.</P>
+</code></pre></p></div><div class="section"><h3><a 
name="HasMailAttributeWithValueRegex">HasMailAttributeWithValueRegex</a></h3><p>Matcher
 Info: <b>Has Mail Attribute Value Matcher</b><br 
+/></p><p><P>This Matcher determines if the mail contains the attribute 
specified in the
+condition and that attribute matches the supplied regular expression,
+it returns all recipients if that is the case.</P>
+<P>Sample configuration:</P>
+<PRE><CODE>
+&lt;mailet match="HasMailAttributeWithValueRegex=whatever,<regex>" 
class=&quot;&lt;any-class&gt;&quot;&gt;
+</CODE></PRE>
+Note: as it is not possible to put arbitrary objects in the configuration,
+toString() is called on the attribute value, and that is the value matched 
against.</p></div><div class="section"><h3><a 
name="HostIs">HostIs</a></h3><p>Matches mail to given hosts.</p></div><div 
+class="section"><h3><a name="HostIsLocal">HostIsLocal</a></h3><p>Matches mail 
to Domains which are local
+.</p></div><div class="section"><h3><a 
name="IsSingleRecipient">IsSingleRecipient</a></h3><p>Matches mail where the 
number of recipiants is exactly one.</p></div><div class="section"><h3><a 
+name="NESSpamCheck">NESSpamCheck (Experimental)</a><a 
name="NESSpamCheck_Experimental"></a></h3><p>This is based on a sample 
filter.cfg for a Netscape Mail Server to stop
+spam.</p></div><div class="section"><h3><a 
name="RecipientIs">RecipientIs</a></h3><p>Licensed to the Apache Software 
Foundation (ASF) under one   *
+or more contributor license agreements.  See the NOTICE file *
+distributed with this work for additional information        *
+regarding copyright ownership.  The ASF licenses this file   *
+to you under the Apache License, Version 2.0 (the            *
+"License"); you may not use this file except in compliance   *
+with the License.  You may obtain a copy of the License at   *
+                                                             *
+  http://www.apache.org/licenses/LICENSE-2.0                 *
+                                                             *
+Unless required by applicable law or agreed to in writing,   *
+software distributed under the License is distributed on an  *
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+KIND, either express or implied.  See the License for the    *
+specific language governing permissions and limitations      *
+under the License.                                           *</p></div><div 
class="section"><h3><a 
name="RecipientIsLocal">RecipientIsLocal</a></h3><p>Matches mail where the 
recipient is 
+local.</p></div><div class="section"><h3><a 
name="RecipientIsRegex">RecipientIsRegex</a></h3><p><P>Matches recipients whose 
address matches a regular expression.</P>
+<P>Is equivalent to the {@link SenderIsRegex} matcher but matching on the 
recipient.</P>
+<P>Configuration string: a regular expression.</P>
+<PRE><CODE>
+&lt;mailet match=&quot;RecipientIsRegex=&lt;regular-expression&gt;&quot; 
class=&quot;&lt;any-class&gt;&quot;&gt;
+</CODE></PRE>
+<P>The example below will match any recipient in the format 
user@log.anything</P>
+<PRE><CODE>
+&lt;mailet match=&quot;RecipientIsRegex=(.*)@log\.(.*)&quot; 
class=&quot;&lt;any-class&gt;&quot;&gt;
+&lt;/mailet&gt;
+</CODE></PRE></p></div><div class="section"><h3><a 
name="RelayLimit">RelayLimit</a></h3><p>Matches mail which has been relayed 
more than a given number of times.</p></div><div class="section"><h3><a 
+name="SMTPAuthSuccessful">SMTPAuthSuccessful</a></h3><p><P>Matches mails that 
are sent by an SMTP authenticated user.</P>
 <P>If the sender was not authenticated it will not match.</P>
 <PRE><CODE>
 &lt;mailet match=&quot;SMTPAuthSuccessful&quot; 
class=&quot;&lt;any-class&gt;&quot;&gt;
-</CODE></PRE></div><div class="section"><h3><a 
name="SMTPAuthUserIs">SMTPAuthUserIs</a></h3><P>Matches mails that are sent by 
an SMTP authenticated user present in a supplied list.</P>
+</CODE></PRE></p></div><div class="section"><h3><a 
name="SMTPAuthUserIs">SMTPAuthUserIs</a></h3><p><P>Matches mails that are sent 
by an SMTP authenticated user present in a supplied list.</P>
 <P>If the sender was not authenticated it will not match.</P>
 <P>Configuration string: a comma, tab or space separated list of James 
users.</P>
 <PRE><CODE>
 &lt;mailet match=&quot;SMTPAuthUserIs=&lt;list-of-user-names&gt;&quot; 
class=&quot;&lt;any-class&gt;&quot;&gt;
-</CODE></PRE></div><div class="section"><h3><a 
name="SMTPIsAuthNetwork">SMTPIsAuthNetwork</a></h3><P>
+</CODE></PRE></p></div><div class="section"><h3><a 
name="SMTPIsAuthNetwork">SMTPIsAuthNetwork (Experimental)</a><a 
name="SMTPIsAuthNetwork_Experimental"></a></h3><p><P>
 Matches mails that are sent by an client which is allowed to relay.
 </P>
 
 <PRE><CODE> &lt;mailet match=&quot;SMTPIsAuthNetwork&quot;
-class=&quot;&lt;any-class&gt;&quot;&gt; </CODE></PRE></div><div 
class="section"><h3><a name="SenderHostIs">SenderHostIs</a></h3><p>Checkes the 
sender's displayed domain name against a supplied list.</p>
+class=&quot;&lt;any-class&gt;&quot;&gt; </CODE></PRE></p></div><div 
class="section"><h3><a name="SenderHostIs">SenderHostIs</a></h3><p><p>Checkes 
the sender's displayed domain name against a supplied 
+list.</p>
 
 <p>Sample configuration:</p>
 <pre><code>
 &lt;mailet match="SenderHostIs=domain.com" class="ToProcessor"&gt;
-&lt;processor> spam &lt;/processor&gt;
+  &lt;processor> spam &lt;/processor&gt;
 &lt;/mailet&gt;
-</code></pre></div><div class="section"><h3><a 
name="SenderHostIsLocal">SenderHostIsLocal</a></h3>Checks the sender's 
displayed domain name against a the hosts serviced by
+</code></pre></p></div><div class="section"><h3><a 
name="SenderHostIsLocal">SenderHostIsLocal</a></h3><p>Checks the sender's 
displayed domain name against a the hosts serviced by
 this mail context. <br>
 <br>
 Sample Configuration: <br>
 <br>
 &lt;mailet match="SenderHostIsLocal" class="SpamAssassin"&gt; &lt;/mailet&gt;
 <br>
-<br></div><div class="section"><h3><a name="SenderIs">SenderIs</a></h3>Matches 
mail where the sender is contained in a configurable list.</div><div 
class="section"><h3><a name="SenderIsNull">SenderIsNull</a></h3><P>Matches 
mails that are sent by a null sender.</P>
+<br></p></div><div class="section"><h3><a 
name="SenderIs">SenderIs</a></h3><p>Licensed to the Apache Software Foundation 
(ASF) under one   *
+or more contributor license agreements.  See the NOTICE file *
+distributed with this work for additional information        *
+regarding copyright ownership.  The ASF licenses this file   *
+to you under the Apache License, Version 2.0 (the            *
+"License"); you may not use this file except in compliance   *
+with the License.  You may obtain a copy of the License at   *
+                                                             *
+  http://www.apache.org/licenses/LICENSE-2.0                 *
+                                                             *
+Unless required by applicable law or agreed to in writing,   *
+software distributed under the License is distributed on an  *
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+KIND, either express or implied.  See the License for the    *
+specific language governing permissions and limitations      *
+under the License.                                           *</p></div><div 
class="section"><h3><a name="SenderIsLocal">SenderIsLocal</a></h3><p>Matches 
mail where the sender is local.</p></div><div 
+class="section"><h3><a name="SenderIsNull">SenderIsNull</a></h3><p><P>Matches 
mails that are sent by a null sender.</P>
 <PRE><CODE>
 &lt;mailet match=&quot;SenderIsNull&quot; 
class=&quot;&lt;any-class&gt;&quot;&gt;
-</CODE></PRE></div><div class="section"><h3><a 
name="SizeGreaterThan">SizeGreaterThan</a></h3>Checks whether the message 
(entire message, not just content) is greater
-than a certain number of bytes. You can use 'k' and 'm' as optional postfixes.
+</CODE></PRE></p></div><div class="section"><h3><a 
name="SenderIsRegex">SenderIsRegex</a></h3><p><P>Matches mails that are sent by 
a sender whose address matches a regular expression.</P>
+<P>Is equivalent to the {@link RecipientIsRegex} matcher but matching on the 
sender.</P>
+<P>Configuration string: a regular expression.</P>
+<PRE><CODE>
+&lt;mailet match=&quot;SenderIsRegex=&lt;regular-expression&gt;&quot; 
class=&quot;&lt;any-class&gt;&quot;&gt;
+</CODE></PRE>
+<P>The example below will match any sender in the format user@log.anything</P>
+<PRE><CODE>
+&lt;mailet match=&quot;SenderIsRegex=(.*)@log\.(.*)&quot; 
class=&quot;&lt;any-class&gt;&quot;&gt;
+&lt;/mailet&gt;
+</CODE></PRE>
+<P>Another example below will match any sender having some variations of the 
string
+<I>mp3</I> inside the username part.</P>
+<PRE><CODE>
+&lt;mailet match=&quot;SenderIsRegex=(.*)(mp3|emmepitre)(.*)@&quot; 
class=&quot;&lt;any-class&gt;&quot;&gt;
+&lt;/mailet&gt;
+</CODE></PRE></p></div><div class="section"><h3><a 
name="SentByMailet">SentByMailet</a></h3><p>Licensed to the Apache Software 
Foundation (ASF) under one   *
+or more contributor license agreements.  See the NOTICE file *
+distributed with this work for additional information        *
+regarding copyright ownership.  The ASF licenses this file   *
+to you under the Apache License, Version 2.0 (the            *
+"License"); you may not use this file except in compliance   *
+with the License.  You may obtain a copy of the License at   *
+                                                             *
+  http://www.apache.org/licenses/LICENSE-2.0                 *
+                                                             *
+Unless required by applicable law or agreed to in writing,   *
+software distributed under the License is distributed on an  *
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+KIND, either express or implied.  See the License for the    *
+specific language governing permissions and limitations      *
+under the License.                                           *</p></div><div 
class="section"><h3><a name="SizeGreaterThan">SizeGreaterThan</a></h3><p>Checks 
whether the message (entire message, not just 
+content) is greater
+than a certain number of bytes.  You can use 'k' and 'm' as optional postfixes.
 In other words, "1m" is the same as writing "1024k", which is the same as
-"1048576".</div><div class="section"><h3><a 
name="SubjectIs">SubjectIs</a></h3>Matches mail where the subject is contained 
in a configurable list.</div><div class="section"><h3><a 
name="SubjectStartsWith">SubjectStartsWith</a></h3>Matches mail where the 
subject starts with a given phrase.</div><div class="section"><h3><a 
name="UserIs">UserIs</a></h3>Matches mail where the user is contained in a 
configurable list.</div></div><div class="section"><h2>Mailets</h2><div 
class="section"><h3><a name="AddFooter">AddFooter</a></h3>Mailet Info: 
<b>AddFooter Mailet</b><br />This mailet will attach text to the end of the 
message (like a footer). Right
-now it only supports simple messages without multiple parts.</div><div 
class="section"><h3><a 
name="AddHabeasWarrantMark">AddHabeasWarrantMark</a></h3>Mailet Info: <b>Add 
Habeas Warrant Mark.  Must be used in accordance with a license from Habeas 
(see http://www.habeas.com for details).</b><br /><p>This matcher adds the 
Hebeas Warrant Mark to a message.
+"1048576".</p></div><div class="section"><h3><a 
name="SubjectIs">SubjectIs</a></h3><p>Matches mail where the subject is 
contained in a configurable list.</p></div><div class="section"><h3><a 
+name="SubjectStartsWith">SubjectStartsWith</a></h3><p>Matches mail where the 
subject starts with a given phrase.</p></div><div class="section"><h3><a 
name="TooManyLines">TooManyLines</a></h3><p>Licensed 
+to the Apache Software Foundation (ASF) under one   *
+or more contributor license agreements.  See the NOTICE file *
+distributed with this work for additional information        *
+regarding copyright ownership.  The ASF licenses this file   *
+to you under the Apache License, Version 2.0 (the            *
+"License"); you may not use this file except in compliance   *
+with the License.  You may obtain a copy of the License at   *
+                                                             *
+  http://www.apache.org/licenses/LICENSE-2.0                 *
+                                                             *
+Unless required by applicable law or agreed to in writing,   *
+software distributed under the License is distributed on an  *
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+KIND, either express or implied.  See the License for the    *
+specific language governing permissions and limitations      *
+under the License.                                           *</p></div><div 
class="section"><h3><a 
name="TooManyRecipients">TooManyRecipients</a></h3><p>Licensed to the Apache 
Software Foundation (ASF) 
+under one   *
+or more contributor license agreements.  See the NOTICE file *
+distributed with this work for additional information        *
+regarding copyright ownership.  The ASF licenses this file   *
+to you under the Apache License, Version 2.0 (the            *
+"License"); you may not use this file except in compliance   *
+with the License.  You may obtain a copy of the License at   *
+                                                             *
+  http://www.apache.org/licenses/LICENSE-2.0                 *
+                                                             *
+Unless required by applicable law or agreed to in writing,   *
+software distributed under the License is distributed on an  *
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+KIND, either express or implied.  See the License for the    *
+specific language governing permissions and limitations      *
+under the License.                                           *</p></div><div 
class="section"><h3><a name="UserIs">UserIs</a></h3><p>Matches mail where the 
user is contained in a configurable 
+list.</p></div></div><div class="section"><h2>Mailets<a 
name="Mailets"></a></h2><div class="section"><h3><a 
name="AddDeliveredToHeader">AddDeliveredToHeader</a></h3><p>Licensed to the 
Apache Software 
+Foundation (ASF) under one   *
+or more contributor license agreements.  See the NOTICE file *
+distributed with this work for additional information        *
+regarding copyright ownership.  The ASF licenses this file   *
+to you under the Apache License, Version 2.0 (the            *
+"License"); you may not use this file except in compliance   *
+with the License.  You may obtain a copy of the License at   *
+                                                             *
+  http://www.apache.org/licenses/LICENSE-2.0                 *
+                                                             *
+Unless required by applicable law or agreed to in writing,   *
+software distributed under the License is distributed on an  *
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+KIND, either express or implied.  See the License for the    *
+specific language governing permissions and limitations      *
+under the License.                                           *</p></div><div 
class="section"><h3><a name="AddFooter">AddFooter</a></h3><p>Mailet Info: 
<b>AddFooter Mailet</b><br /></p><p>Licensed to the 
+Apache Software Foundation (ASF) under one   *
+or more contributor license agreements.  See the NOTICE file *
+distributed with this work for additional information        *
+regarding copyright ownership.  The ASF licenses this file   *
+to you under the Apache License, Version 2.0 (the            *
+"License"); you may not use this file except in compliance   *
+with the License.  You may obtain a copy of the License at   *
+                                                             *
+  http://www.apache.org/licenses/LICENSE-2.0                 *
+                                                             *
+Unless required by applicable law or agreed to in writing,   *
+software distributed under the License is distributed on an  *
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+KIND, either express or implied.  See the License for the    *
+specific language governing permissions and limitations      *
+under the License.                                           *</p></div><div 
class="section"><h3><a name="AddHabeasWarrantMark">AddHabeasWarrantMark 
(Experimental)</a><a 
+name="AddHabeasWarrantMark_Experimental"></a></h3><p>Mailet Info: <b>Add 
Habeas Warrant Mark.  Must be used in accordance with a license from Habeas 
(see http://www.habeas.com for details).</b><br 
+/></p><p><p>This matcher adds the Hebeas Warrant Mark to a message.
 For details see: http://www.hebeas.com</p>
 
 <p>
@@ -402,9 +555,9 @@ Usage:
 
 <p>
 NOTE: Although this mailet is covered by the Apache Software License,
-the Habeas Warrant Mark is copyright. A separate license from Habeas
+the Habeas Warrant Mark is copyright.  A separate license from Habeas
 is required in order to legally attach the Habeas Warrant Mark to
-e-mail messages. Each James Administrator is responsible for
+e-mail messages.  Each James Administrator is responsible for
 ensuring that James is configured to attach the Habeas Warrant Mark
 only to e-mail covered by a suitable license received from Habeas.
 
@@ -421,18 +574,18 @@ Subject: RE: Habeas and Apache James
 Dear Noel,
 
 > FURTHERMORE, if James is to be capable of sending Habeas SWE, I need
-> to write a Mailet that attaches the headers. As with any MTA, it
+> to write a Mailet that attaches the headers.  As with any MTA, it
 > would be up to the administrator to properly configure James and make
-> sure that licenses are acquired. Since the Habeas Warrant Mark is
+> sure that licenses are acquired.  Since the Habeas Warrant Mark is
 > copyright, I believe that I require authorization from you for that
-> Mailet, especially since it attaches the Habeas Warrant Mark. For my
+> Mailet, especially since it attaches the Habeas Warrant Mark.  For my
 > own protection, please show me why such authorization is unnecessary,
 > send me a digitally signed e-mail, or FAX a signed authorization
 
-You do not yourself need the authorization to build the functionality
-into the [mailet]; what one needs authorization, in the form of a
+You do not yourself need the authorization to build the functionality 
+into the [mailet];  what one needs authorization, in the form of a 
 license, for, is to use the mark *in headers*, in outgoing email.
-However, please let me know if you would like something more
+However, please let me know if you would like something more 
 formal, and I can try to have something faxed to you.
 
 > The Mailet docs would reference the Habeas website, and inform
@@ -442,15 +595,31 @@ formal, and I can try to have something faxed to you.
 
 That's absolutely perfect!
 -----------------------------------
-</pre></div><div class="section"><h3><a 
name="AddSubjectPrefix">AddSubjectPrefix</a></h3>Mailet Info: 
<b>AddSubjectPrefix Mailet</b><br />Add an prefix (tag) to the subject of a 
message <br>
+</pre></p></div><div class="section"><h3><a 
name="AddSubjectPrefix">AddSubjectPrefix</a></h3><p>Mailet Info: 
<b>AddSubjectPrefix Mailet</b><br /></p><p>Add an prefix (tag) to the subject 
of a message 
 <br>
-
+<br>
+<p/>
 Sample Configuration: <br>
 <pre><code>
 &lt;mailet match="RecipientIs=ro...@james.apache.org" class="TagMessage"&gt;
 &lt;subjectPrefix&gt;[robot]&lt;/subjectPrefix&gt; &lt;/mailet&gt; <br>
-</code></pre></div><div class="section"><h3><a 
name="ClamAVScan">ClamAVScan</a></h3>Mailet Info: <b>Antivirus Check using 
ClamAV (CLAMD)</b><br /><P>Does an antivirus scan check using a ClamAV daemon 
(CLAMD)</P>
+</code></pre></p></div><div class="section"><h3><a 
name="AmqpForwardAttribute">AmqpForwardAttribute</a></h3><p>Mailet Info: 
<b>AmqpForwardAttribute</b><br /></p><p>This mailet forwards the attributes 
+values to a AMPQ.
+<br />
+It takes 4 parameters:
+<ul>
+<li>attribute (mandatory): content to be forwarded, expected to be a 
Map&lt;String, byte[]&gt;
+where the byte[] content is issued from a MimeBodyPart.
+It is typically generated from the StripAttachment mailet.</li>
+<li>uri (mandatory): AMQP URI defining the server where to send the 
attachment.</li>
+<li>exchange (mandatory): name of the AMQP exchange.</li>
+<li>routing_key (optional, default to empty string): name of the routing key 
on this exchange.</li>
+</ul>
 
+This mailet will extract the attachment content from the MimeBodyPart byte[] 
before
+sending it.</p></div><div class="section"><h3><a name="ClamAVScan">ClamAVScan 
(Experimental)</a><a name="ClamAVScan_Experimental"></a></h3><p>Mailet Info: 
<b>Antivirus Check using ClamAV (CLAMD)</b><br 
+/></p><p><P>Does an antivirus scan check using a ClamAV daemon (CLAMD)</P>
+<p/>
 <P> Interacts directly with the daemon using the "stream" method,
 which should have the lowest possible overhead.</P>
 <P>The CLAMD daemon will typically reside on <I>localhost</I>, but could 
reside on a
@@ -459,7 +628,7 @@ It may also consist on a set of multiple daemons, each 
residing on a different
 server and on different IP number.
 In such case a DNS host name with multiple IP addresses (round-robin load 
sharing)
 is supported by the mailet (but on the same port number).</P>
-
+<p/>
 <P>Handles the following init parameters:</P>
 <UL>
 <LI><CODE>&lt;debug&gt;</CODE>.</LI>
@@ -481,7 +650,7 @@ The default is <I>30000</I> (30 seconds).</LI>
 <LI><CODE>&lt;streamBufferSize&gt;</CODE>: the BufferedOutputStream buffer 
size to use
 writing to the <I>stream connection</I>. The default is <I>8192</I>.</LI>
 </UL>
-
+<p/>
 <P>The actions performed are as follows:</P>
 <UL>
 <LI>During initialization:</LI>
@@ -517,7 +686,7 @@ through the <I>stream connection</I>;</LI>
 "<CODE>true</CODE>" or "<CODE>false</CODE>";</LI>
 </OL>
 </UL>
-
+<p/>
 <P>Some notes regarding <a href="http://www.clamav.net/";>clamav.conf</a>:</p>
 <UL>
 <LI><CODE>LocalSocket</CODE> must be commented out</LI>
@@ -528,56 +697,77 @@ through the <I>stream connection</I>;</LI>
 &lt;<CODE>threads</CODE>&gt; in &lt;<CODE>spoolmanager</CODE>&gt;</LI>
 <LI><CODE>ScanMail</CODE> must be uncommented</LI>
 </UL>
-
+<p/>
 <P>Here follows an example of config.xml definitions deploying CLAMD on 
localhost,
 and handling the infected messages:</P>
 <PRE><CODE>
-
+<p/>
 ...
-
+<p/>
 &lt;!-- Do an antivirus scan --&gt;
 &lt;mailet match="All" class="ClamAVScan" onMailetException="ignore"/&gt;
-
+<p/>
 &lt;!-- If infected go to virus processor --&gt;
 &lt;mailet match="HasMailAttributeWithValue=org.apache.james.infected, true" 
class="ToProcessor"&gt;
 &lt;processor&gt; virus &lt;/processor&gt;
 &lt;/mailet&gt;
-
+<p/>
 &lt;!-- Check attachment extensions for possible viruses --&gt;
 &lt;mailet match="AttachmentFileNameIs=-d -z *.exe *.com *.bat *.cmd *.pif 
*.scr *.vbs *.avi *.mp3 *.mpeg *.shs" class="ToProcessor"&gt;
 &lt;processor&gt; bad-extensions &lt;/processor&gt;
 &lt;/mailet&gt;
-
+<p/>
 ...
-
+<p/>
 &lt;!-- Messages containing viruses --&gt;
 &lt;processor name="virus"&gt;
-
+<p/>
 &lt;!-- To avoid a loop while bouncing --&gt;
 &lt;mailet match="All" class="SetMailAttribute"&gt;
 &lt;org.apache.james.infected&gt;true, 
bouncing&lt;/org.apache.james.infected&gt;
 &lt;/mailet&gt;
-
+<p/>
 &lt;mailet match="SMTPAuthSuccessful" class="Bounce"&gt;
 &lt;sender&gt;bounce-ad...@xxx.com&lt;/sender&gt;
 &lt;inline&gt;heads&lt;/inline&gt;
 &lt;attachment&gt;none&lt;/attachment&gt;
 &lt;notice&gt; Warning: We were unable to deliver the message below because it 
was found infected by virus(es). &lt;/notice&gt;
 &lt;/mailet&gt;
-
+<p/>
 &lt;!--
 &lt;mailet match="All" class="ToRepository"&gt;
 &lt;repositoryPath&gt;file://var/mail/infected/&lt;/repositoryPath&gt;
 &lt;/mailet&gt;
 --&gt;
-
+<p/>
 &lt;mailet match="All" class="Null" /&gt;
 &lt;/processor&gt;
-</CODE></PRE></div><div class="section"><h3><a 
name="Counter">Counter</a></h3>Mailet Info: <b>Counter Mailet</b><br />A simple 
in memory counter. Designed to count messages sent to this recipient
-for debugging purposes.</div><div class="section"><h3><a 
name="DumpSystemErr">DumpSystemErr</a></h3>Mailet Info: <b>Dumps message to 
System.err</b><br />Debugging purpose Mailet. Sends the message to 
System.err</div><div class="section"><h3><a 
name="ExceptionThrowingMailet">ExceptionThrowingMailet</a></h3>Mailet Info: 
<b>ExceptionThrowingMailet Mailet</b><br />Debugging purpose Mailet. Just 
throws an exception.</div><div class="section"><h3><a 
name="Identity">Identity</a></h3>Mailet Info: <b>Identity Mailet</b><br 
/>Opposite of Null Mailet. It let any incoming mail untouched. Used only for
-debugging.</div><div class="section"><h3><a 
name="LogMessage">LogMessage</a></h3>Mailet Info: <b>LogHeaders Mailet</b><br 
/>Logs Message Headers and/or Body.
+</CODE></PRE></p></div><div class="section"><h3><a 
name="ClassifyBounce">ClassifyBounce (Experimental)</a><a 
name="ClassifyBounce_Experimental"></a></h3><p>Mailet Info: <b>SetMimeHeader 
Mailet</b><br 
+/></p><p>Assesses the message to determine if it was a hard or soft bounce, 
and if it was a soft bounce, something of its nature..
+<p/>
+Sample configuration:
+<p/>
+<mailet match="All" class="ClassifyBounce">
+<headerName>X-MailetHeader</headerName>
+</mailet></p></div><div class="section"><h3><a 
name="Counter">Counter</a></h3><p>Mailet Info: <b>Counter Mailet</b><br 
/></p><p>A simple in memory counter.  Designed to count messages sent to this 
+recipient
+for debugging purposes.</p></div><div class="section"><h3><a 
name="DumpSystemErr">DumpSystemErr</a></h3><p>Mailet Info: <b>Dumps message to 
System.err</b><br /></p><p>Debugging purpose Mailet.  Sends the 
+message to System.err</p></div><div class="section"><h3><a 
name="ExceptionThrowingMailet">ExceptionThrowingMailet</a></h3><p>Mailet Info: 
<b>ExceptionThrowingMailet Mailet</b><br /></p><p>Debugging 
+purpose Mailet. Just throws an exception.</p></div><div class="section"><h3><a 
name="HeadersToHTTP">HeadersToHTTP (Experimental)</a><a 
name="HeadersToHTTP_Experimental"></a></h3><p>Mailet Info: <b>HTTP 
+POST serialised message</b><br /></p><p>Serialise the email and pass it to an 
HTTP call
+
+Sample configuration:
+
+<mailet match="All" class="HeadersToHTTP">
+<url>http://192.168.0.252:3000/alarm</url>
+<parameterKey>Test</parameterKey>
+<parameterValue>ParameterValue</parameterValue>
+<passThrough>true</passThrough>
+</mailet></p></div><div class="section"><h3><a 
name="Identity">Identity</a></h3><p>Mailet Info: <b>Identity Mailet</b><br 
/></p><p>Opposite of Null Mailet. It let any incoming mail untouched. Used only 
+for
+debugging.</p></div><div class="section"><h3><a 
name="LogMessage">LogMessage</a></h3><p>Mailet Info: <b>LogHeaders 
Mailet</b><br /></p><p>Logs Message Headers and/or Body.
 If the "passThrough" in confs is true the mail will be left untouched in
-the pipe. If false will be destroyed. Default is true.</div><div 
class="section"><h3><a 
name="MailAttributesToMimeHeaders">MailAttributesToMimeHeaders</a></h3><p>Convert
 attributes to headers</p>
+the pipe. If false will be destroyed.  Default is true.</p></div><div 
class="section"><h3><a 
name="MailAttributesToMimeHeaders">MailAttributesToMimeHeaders</a></h3><p><p>Convert
 attributes to headers</p>
 
 <p>Sample configuration:</p>
 <pre><code>
@@ -586,43 +776,60 @@ the pipe. If false will be destroyed. Default is 
true.</div><div class="section"
 headerName1&lt;/simplemapping&gt;
 &lt;simplemapping&gt;org.apache.james.attribute2;
 headerName2&lt;/simplemapping&gt; &lt;/mailet&gt;
-</code></pre></div><div class="section"><h3><a name="Null">Null</a></h3>Mailet 
Info: <b>Null Mailet</b><br />Simplest Mailet which destroys any incoming 
messages.</div><div class="section"><h3><a 
name="OnlyText">OnlyText</a></h3>Mailet Info: <b>OnlyText</b><br />Keep only 
the text part of a message.
+</code></pre></p></div><div class="section"><h3><a 
name="MimeDecodingMailet">MimeDecodingMailet</a></h3><p>Mailet Info: 
<b>MimeDecodingMailet</b><br /></p><p>This mailet replace the mail attribute 
map of 
+key to MimePart
+by a map of key to the MimePart content (as bytes).
+<br />
+It takes only one parameter:
+<ul>
+<li>attribute (mandatory): mime content to be decoded, expected to be a 
Map&lt;String, byte[]&gt;
+</ul>
+
+Then all this map attribute values will be replaced by their 
content.</p></div><div class="section"><h3><a 
name="Null">Null</a></h3><p>Mailet Info: <b>Null Mailet</b><br 
/></p><p>Simplest Mailet which 
+destroys any incoming messages
+by setting their state to GHOST</p></div><div class="section"><h3><a 
name="OnlyText">OnlyText (Experimental)</a><a 
name="OnlyText_Experimental"></a></h3><p>Mailet Info: <b>OnlyText</b><br 
/></p><p>Keep 
+only the text part of a message.
 <p>If the message is text only then it doesn't touch it, if it is a multipart 
it
 transform it a in plain text message with the first text part found.<br>
 - text/plain<br>
 - text/html => with a conversion to text only<br>
-- text/* as is.</p></div><div class="section"><h3><a 
name="PostmasterAlias">PostmasterAlias</a></h3><p>Mailet Info: <b>Postmaster 
aliasing mailet</b><br /></p><p>Rewrites recipient addresses to make sure email 
for the postmaster is
-always handled. This mailet is silently inserted at the top of the root
-spool processor. All recipients mapped to postmaster@<servernames> are
-changed to the postmaster account as specified in the server 
conf.</p></div><div class="section"><h3><a 
name="RecoverAttachment">RecoverAttachment</a></h3><p>Mailet Info: 
<b>RecoverAttachment Mailet</b><br /></p><p><p>
+- text/* as is.</p></p></div><div class="section"><h3><a 
name="PostmasterAlias">PostmasterAlias</a></h3><p>Mailet Info: <b>Postmaster 
aliasing mailet</b><br /></p><p>Rewrites recipient addresses to make 
+sure email for the postmaster is
+always handled.  This mailet is silently inserted at the top of the root
+spool processor.  All recipients mapped to postmaster@<servernames> are
+changed to the postmaster account as specified in the server 
conf.</p></div><div class="section"><h3><a 
name="RecipientToLowerCase">RecipientToLowerCase</a></h3><p>{@link 
GenericMailet} which convert all 
+Recipients to lowercase</p></div><div class="section"><h3><a 
name="RecoverAttachment">RecoverAttachment (Experimental)</a><a 
name="RecoverAttachment_Experimental"></a></h3><p>Mailet Info: 
+<b>RecoverAttachment Mailet</b><br /></p><p><p>
 This mailet takes an attachment stored in an attribute and attach it back to
 the message
 </p>
 <p>
 This may be used to place back attachment stripped by StripAttachment and
 stored in the attribute
-<code>org.apache.james.transport.mailets.StripAttachment.saved</code>
+<code>org.apache.james.mailet.standard.mailets.StripAttachment.saved</code>
 </p>
 <p>
 
 <pre>
-&lt;mailet match=&quot;All&quot; class=&quot;RecoverAttachment&quot; &gt;
-&lt;attribute&gt;my.attribute.name&lt;/attribute&gt;
-&lt;/mailet &gt;
+  &lt;mailet match=&quot;All&quot; class=&quot;RecoverAttachment&quot; &gt;
+    &lt;attribute&gt;my.attribute.name&lt;/attribute&gt;
+  &lt;/mailet &gt;
 </pre>
 
-</p></p></div><div class="section"><h3><a 
name="RemoveAllMailAttributes">RemoveAllMailAttributes</a></h3><p>Mailet Info: 
<b>Remove All Mail Attributes Mailet</b><br /></p><p>This mailet sets removes 
all attributes set on the Mail instance
+</p></p></div><div class="section"><h3><a 
name="RemoveAllMailAttributes">RemoveAllMailAttributes</a></h3><p>Mailet Info: 
<b>Remove All Mail Attributes Mailet</b><br /></p><p>This mailet sets removes 
all 
+attributes set on the Mail instance
 
 Sample configuration:
 <pre><code>
 &lt;mailet match="All" class="RemoveAllMailAttributes"/&gt;
-</code></pre></p></div><div class="section"><h3><a 
name="RemoveMailAttribute">RemoveMailAttribute</a></h3><p>Mailet Info: 
<b>Remove Mail Attribute Mailet</b><br /></p><p>This mailet sets attributes on 
the Mail.
+</code></pre></p></div><div class="section"><h3><a 
name="RemoveMailAttribute">RemoveMailAttribute</a></h3><p>Mailet Info: 
<b>Remove Mail Attribute Mailet</b><br /></p><p>This mailet sets attributes on 
+the Mail.
 
 Sample configuration:
 <pre><code>
 &lt;mailet match="All" class="RemoveMailAttribute"&gt;
-&lt;name&gt;attribute_name1&lt;/name&gt;
-&lt;name&gt;attribute_name2&lt;/name&gt;
+  &lt;name&gt;attribute_name1&lt;/name&gt;
+  &lt;name&gt;attribute_name2&lt;/name&gt;
 &lt;/mailet&gt;
 </code></pre></p></div><div class="section"><h3><a 
name="RemoveMimeHeader">RemoveMimeHeader</a></h3><p>Mailet Info: 
<b>RemoveMimeHeader Mailet</b><br /></p><p>Remove mime headers
 
@@ -645,10 +852,10 @@ Each expression is defined as:
 <code>REGEX_PATTERN</code> is a regex used for the match<br>
 <code>SUBSTITUTION_PATTERN</code> is a substitution pattern<br>
 <code>FLAGS</code> flags supported for the pattern:<br>
-i: case insensitive<br>
-m: multi line<br>
-x: extended (N/A)<br>
-r: repeat - keep matching until a substitution is possible<br>
+  i: case insensitive<br>
+  m: multi line<br>
+  x: extended (N/A)<br>
+  r: repeat - keep matching until a substitution is possible<br>
 </p>
 
 <p>To identify subject and body pattern we use the tags &lt;subjectPattern&gt; 
and &lt;bodyPattern&gt;</p>
@@ -656,7 +863,7 @@ r: repeat - keep matching until a substitution is 
possible<br>
 <p>
 Rules can be specified in external files.
 Lines must be CRLF terminated and lines starting with # are considered 
commments.
-Tags used to include external files are &lt;subjectPatternFile&gt; and
+Tags used to include external files are &lt;subjectPatternFile&gt; and 
 &lt;bodyPatternFile&gt;
 If file path starts with # then the file is loaded as a reasource.
 </p>
@@ -666,7 +873,7 @@ Use of both files and direct patterns at the same time is 
allowed.
 </p>
 
 <p>
-This mailet allow also to enforce the resulting charset for messages processed.
+This mailet allow also to enforce the resulting charset for messages 
processed, when a replacement has been done.
 To do that the tag &lt;charset&gt; must be specified.
 </p>
 
@@ -674,31 +881,45 @@ To do that the tag &lt;charset&gt; must be specified.
 NOTE:
 Regexp rules must be escaped by regexp excaping rules and applying this 2 
additional rules:<br>
 - "/" char inside an expression must be prefixed with "\":
-e.g: "/\//-//" replaces "/" with "-"<br>
+  e.g: "/\//-//" replaces "/" with "-"<br>
 - when the rules are specified using &lt;subjectPattern&gt; or 
&lt;bodyPattern&gt; and
-"/,/" has to be used in a pattern string it must be prefixed with a "\".
-E.g: "/\/\/,//" replaces "/" with "," (the rule would be "/\//,//" but the 
"/,/" must
-be escaped.<br>
-</p></p></div><div class="section"><h3><a 
name="ServerTime">ServerTime</a></h3><p>Mailet Info: <b>ServerTime 
Mailet</b><br /></p><p>Returns the current time for the mail server. Sample 
configuration:
+  "/,/" has to be used in a pattern string it must be prefixed with a "\".
+  E.g: "/\/\/,//" replaces "/" with "," (the rule would be "/\//,//" but the 
"/,/" must
+  be escaped.<br>
+</p></p></div><div class="section"><h3><a 
name="SerialiseToHTTP">SerialiseToHTTP (Experimental)</a><a 
name="SerialiseToHTTP_Experimental"></a></h3><p>Mailet Info: <b>HTTP POST 
serialised message</b><br 
+/></p><p>Serialise the email and pass it to an HTTP call
+
+Sample configuration:
+
+<mailet match="All" class="SerialiseToHTTP">
+               <name>URL</name> <value>url where serialised message will be 
posted</value>
+               <name>ParameterKey</name> <value>An arbitrary parameter be 
added to the post</value>
+               <name>ParameterValue</name> <value>A value for the arbitrary 
parameter</value>
+               <name>MessageKeyName</name> <value>Field name for the 
serialised message</value>
+               <name>passThrough</name> <value>true or false</value>
+</mailet></p></div><div class="section"><h3><a name="ServerTime">ServerTime 
(Experimental)</a><a name="ServerTime_Experimental"></a></h3><p>Mailet Info: 
<b>ServerTime Mailet</b><br /></p><p>Returns the 
+current time for the mail server.  Sample configuration:
 <pre><code>
 &lt;mailet match="RecipientIs=t...@cadenza.lokitech.com" class="ServerTime"&gt;
 &lt;/mailet&gt;
-</code></pre></p></div><div class="section"><h3><a 
name="SetMailAttribute">SetMailAttribute</a></h3><p>Mailet Info: <b>Set Mail 
Attribute Mailet</b><br /></p><p><p>This mailet sets attributes on the Mail.</p>
+</code></pre></p></div><div class="section"><h3><a 
name="SetMailAttribute">SetMailAttribute</a></h3><p>Mailet Info: <b>Set Mail 
Attribute Mailet</b><br /></p><p><p>This mailet sets attributes on the 
+Mail.</p>
 
 <p>Sample configuration:</p>
 <pre><code>
 &lt;mailet match="All" class="SetMailAttribute"&gt;
-&lt;name1&gt;value1&lt;/name1&gt;
-&lt;name2&gt;value2&lt;/name2&gt;
+  &lt;name1&gt;value1&lt;/name1&gt;
+  &lt;name2&gt;value2&lt;/name2&gt;
 &lt;/mailet&gt;
-</code></pre></p></div><div class="section"><h3><a 
name="SetMimeHeader">SetMimeHeader</a></h3><p>Mailet Info: <b>SetMimeHeader 
Mailet</b><br /></p><p><p>Adds a specified header and value to the message.</p>
+</code></pre></p></div><div class="section"><h3><a 
name="SetMimeHeader">SetMimeHeader</a></h3><p>Mailet Info: <b>SetMimeHeader 
Mailet</b><br /></p><p><p>Adds a specified header and value to the 
+message.</p>
 
 <p>Sample configuration:</p>
 
 <pre><code>
 &lt;mailet match="All" class="AddHeader"&gt;
-&lt;name&gt;X-MailetHeader&lt;/name&gt;
-&lt;value&gt;TheHeaderValue&lt;/value&gt;
+  &lt;name&gt;X-MailetHeader&lt;/name&gt;
+  &lt;value&gt;TheHeaderValue&lt;/value&gt;
 &lt;/mailet&gt;
 </code></pre></p></div><div class="section"><h3><a 
name="StripAttachment">StripAttachment</a></h3><p>Mailet Info: 
<b>StripAttachment</b><br /></p><p><p>
 Remove attachments from a Message. Supports simple removal, storing to file,
@@ -710,27 +931,32 @@ Configuration:
 <p>
 
 <pre>
-&lt;mailet match=&quot;All&quot; class=&quot;StripAttachment&quot; &gt;
-&lt;pattern &gt;.*\.xls &lt;/pattern&gt; &lt;!-- The regular expression that 
must be matched -- &gt;
-&lt;!-- notpattern &gt;.*\.xls &lt;/notpattern--&gt; &lt;!-- The regular 
expression that must be matched -- &gt;
-&lt;directory &gt;c:\temp\james_attach &lt;/directory&gt; &lt;!-- The 
directory to save to -- &gt;
-&lt;remove &gt;all &lt;/remove&gt; &lt;!-- either &quot;no&quot;, 
&quot;matched&quot;, &quot;all&quot; -- &gt;
-&lt;!-- attribute&gt;my.attribute.name&lt;/attribute --&gt;
-&lt;/mailet &gt;
+  &lt;mailet match=&quot;All&quot; class=&quot;StripAttachment&quot; &gt;
+    &lt;pattern &gt;.*\.xls &lt;/pattern&gt;  &lt;!-- The regular expression 
that must be matched -- &gt;
+    &lt;!-- notpattern &gt;.*\.xls &lt;/notpattern--&gt;  &lt;!-- The regular 
expression that must be matched -- &gt;
+    &lt;mimeType&gt;text/calendar&lt;/mimeType&gt;  &lt;!-- The matching 
mimeType -- &gt;
+    &lt;directory &gt;c:\temp\james_attach &lt;/directory&gt;   &lt;!-- The 
directory to save to -- &gt;
+    &lt;remove &gt;all &lt;/remove&gt;   &lt;!-- either &quot;no&quot;, 
&quot;matched&quot;, &quot;all&quot; -- &gt;
+    &lt;!-- attribute&gt;my.attribute.name&lt;/attribute --&gt;
+  &lt;/mailet &gt;
+  
+  At least one of pattern, notpattern and mimeType is required.
 </pre>
 
 </p></p></div><div class="section"><h3><a 
name="ToProcessor">ToProcessor</a></h3><p>Mailet Info: <b>ToProcessor 
Mailet</b><br /></p><p><p>This mailet redirects the mail to the named 
processor</p>
 
 <p>Sample configuration:</p>
-<pre><code>
+<pre><code
+>
 &lt;mailet match="All" class="ToProcessor"&gt;
-&lt;processor&gt;spam&lt;/processor&gt;
-&lt;notice&gt;Notice attached to the message (optional)&lt;/notice&gt;
+  &lt;processor&gt;spam&lt;/processor&gt;
+  &lt;notice&gt;Notice attached to the message (optional)&lt;/notice&gt;
 &lt;/mailet&gt;
-</code></pre></p></div><div class="section"><h3><a 
name="UnwrapText">UnwrapText</a></h3><p>Mailet Info: <b>UnwrapText</b><br 
/></p><p><p>Remove (best effort to) the hardcoded wrapping from a message.<br>
-If the text is "format=flowed" then deflows the text. Otherwise it forces a 
dewrap of the text.
+</code></pre></p></div><div class="section"><h3><a 
name="UnwrapText">UnwrapText (Experimental)</a><a 
name="UnwrapText_Experimental"></a></h3><p>Mailet Info: <b>UnwrapText</b><br 
/></p><p><p>Remove (best 
+effort to) the hardcoded wrapping from a message.<br>
+If the text is  "format=flowed" then deflows the text. Otherwise it forces a 
dewrap of the text.
 </p>
-<p>Parameters:<br>
+<p>Parameters:<br> 
 quotewidth - when we try to dewrap e quoted text it helps knowing the original
 with, so we can reconstruct "wrapped wraps" created by multiple wrappings by 
clients with
 different original width or simply to the add of the heading ">" that increase 
the line
@@ -738,59 +964,48 @@ length.<br>
 The value should be "WIDTH+X" if the original length is known, "-X" otherwise.
 In the latter case the length of the longer line will be used.
 X is the tollerance needed for the quoting chars: if the original width is 
known the suggested
-value for X is 2 (because of "> " prefix), otherwise it is suggested to 
increase it to a value
+value for X is 2 (because of "> " prefix), otherwise it is suggested to 
increase it to a value 
 like 10 (-10)</p>
 
 <p>
 In summary, if the original wrap is known (for example 76, for flowed 
messages)<br>
-<code>quotewidth = 78</code><br>
+ <code>quotewidth = 78</code><br>
 Otherwise<br>
-<code>quotewidth = -10</code>
-</p></p></div><div class="section"><h3><a 
name="UseHeaderRecipients">UseHeaderRecipients</a></h3><p>Mailet Info: 
<b>UseHeaderRecipients Mailet</b><br /></p><p><p>Mailet designed to process the 
recipients from the mail headers rather
-than the recipients specified in the SMTP message header. This can be
+ <code>quotewidth = -10</code>
+</p></p></div><div class="section"><h3><a 
name="UseHeaderRecipients">UseHeaderRecipients (Experimental)</a><a 
name="UseHeaderRecipients_Experimental"></a></h3><p>Mailet Info: 
<b>UseHeaderRecipients 
+Mailet</b><br /></p><p><p>Mailet designed to process the recipients from the 
mail headers rather
+than the recipients specified in the SMTP message header.  This can be
 useful if your mail is redirected on-route by a mail server that
 substitutes a fixed recipient address for the original.</p>
-
+<p/>
 <p>To use this, match against the redirection address using the
 <code>RecipientIs</code> matcher and set the mailet 'class' to
-<code>UseHeaderRecipients</code>. This will cause the email to be
+<code>UseHeaderRecipients</code>.  This will cause the email to be
 re-injected into the root process with the recipient substituted
 by all the recipients in the Mail-For, To and Cc headers
 of the message.</p>
-
+<p/>
 <p>e.g.</p>
 <pre><code>
-&lt;mailet match="RecipientIs=forwarded@myhost"
-class="UseHeaderRecipients"&gt;
-&lt;/mailet&gt;
-</code></pre></p></div><div class="section"><h3><a 
name="WrapText">WrapText</a></h3><p>Mailet Info: <b>WrapText</b><br 
/></p><p>Convert a message to format=flowed</p></div></div>
+   &lt;mailet match="RecipientIs=forwarded@myhost"
+           class="UseHeaderRecipients"&gt;
+   &lt;/mailet&gt;
+</code></pre></p></div><div class="section"><h3><a name="WrapText">WrapText 
(Experimental)</a><a name="WrapText_Experimental"></a></h3><p>Mailet Info: 
<b>WrapText</b><br /></p><p>Convert a message to 
+format=flowed</p></div></div>
       </div>
     </div>
     <div class="clear">
       <hr/>
     </div>
     <div id="footer">
-      <div class="xright">&#169;  
-          2008-2009
-    
-          The Apache Software Foundation
-          
-  
-
-  
-    
-  
-  
-  </div>
+      <div class="xright">
+              Copyright &#169;  All Rights Reserved.      
+        
+                  </div>
       <div class="clear">
         <hr/>
       </div>
     </div>
-    <script src="http://www.google-analytics.com/urchin.js"; 
type="text/javascript">
-    </script>
-    <script type="text/javascript">
-      _uacct = "UA-1384591-1";
-      urchinTracker();
-    </script>
-  </body>
+  
+</body>
 </html>

http://git-wip-us.apache.org/repos/asf/james-site/blob/4c2da3c0/content/mailet/stylesheets/project.html
----------------------------------------------------------------------
diff --git a/content/mailet/stylesheets/project.html 
b/content/mailet/stylesheets/project.html
index c4d0571..56892e6 100644
--- a/content/mailet/stylesheets/project.html
+++ b/content/mailet/stylesheets/project.html
@@ -18,7 +18,7 @@
   under the License.    
 -->
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
-<!-- Generated by Apache Maven Doxia at 2017-06-14 -->
+<!-- Generated by Apache Maven Doxia at 2017-06-15 -->
 <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@@ -33,13 +33,13 @@
       @import url("../../js/fancybox/jquery.fancybox-1.3.4.css");
     </style>
     <script type="text/javascript" 
src="../../js/jquery/js/jquery-1.4.2.min.js"></script>
-    <script type="text/javascript" 
src="../../js/jquery-ui-1.9.2.custom.min.js"></script>
+    <script type="text/javascript" 
src="../../js/jquery/js/jquery-ui-1.8.5.custom.min.js"></script>
     <script type="text/javascript" 
src="../../js/fancybox/jquery.fancybox-1.3.4.js"></script>
     <link rel="stylesheet" href="../../css/print.css" type="text/css" 
media="print" />
-    <meta name="Date-Revision-yyyymmdd" content="20170614" />
+    <meta name="Date-Revision-yyyymmdd" content="20170615" />
     <meta http-equiv="Content-Language" content="en" />
                                                     
-<link title="DOAP" rel="meta" type="application/rdf+xml" 
href="http://james.apache.org//doap_james-project.rdf"/>
+<link rel="meta" href="http://james.apache.org//doap_james-project.rdf"; 
title="DOAP" type="application/rdf+xml"/>
                       
           <!-- Google Analytics -->
     <script type="text/javascript">
@@ -76,7 +76,7 @@
             
                 
                 <div class="xleft">
-        <span id="publishDate">Last Published: 2017-06-14</span>
+        <span id="publishDate">Last Published: 2017-06-15</span>
                       </div>
             <div class="xright">                    <a href="../../index.html" 
title="Home">Home</a>
             |
@@ -107,7 +107,7 @@
                                                                                
                                                                                
                                                                       <li 
class="collapsed">
                           <a href="../../documentation.html" title="About 
James">About James</a>
                   </li>
-                                                                               
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                      
                                                                                
                                                                                
                                                                                
                    <li class="collapsed">
+                                                                               
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                      
                                                                                
                                                                                
                                                                                
  <li class="collapsed">
                           <a href="../../server/index.html" 
title="Server">Server</a>
                   </li>
                                                                                
                                                                                
                                                                                
                           <li class="collapsed">


---------------------------------------------------------------------
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