Date: 2004-04-21T11:02:01
   Editor: ChristianGeisert <[EMAIL PROTECTED]>
   Wiki: Apache James Wiki
   Page: SettingUpFetchpop
   URL: http://wiki.apache.org/james/SettingUpFetchpop

   Fixed xml source display

Change Log:

------------------------------------------------------------------------------
@@ -6,36 +6,36 @@
 
 This is how I did it, and it seems to work:
 
-{{{        <fetchpop enabled="true">    }}}
-{{{           <fetch name="myfetchtask"> }}}
-{{{           ....more config.... }}}
-{{{           </fetch> }}}
-{{{        </fetchpop> }}}
-{{{      ...more... }}}
-{{{      <processor name="root"> }}}
-{{{      ...spam handling... }}}
-{{{         <!-- handle pop fetched adresses --> }}}
-{{{         <mailet match="FetchedFrom=myfetchtask" class="ToProcessor"> }}}
-{{{            <processor> myfetchtask </processor> }}}
-{{{         </mailet> }}}
-{{{         <!-- Send remaining mails to the transport processor for either  
local or remote delivery --> }}}
-{{{         <mailet match="All" class="ToProcessor"> }}}
-{{{            <processor> transport </processor> }}}
-{{{         </mailet> }}}
-{{{      </processor> }}}
+{{{        <fetchpop enabled="true">
+              <fetch name="myfetchtask">
+              ....more config....
+              </fetch>
+           </fetchpop>
+         ...more...
+         <processor name="root">
+         ...spam handling...
+            <!-- handle pop fetched adresses -->
+            <mailet match="FetchedFrom=myfetchtask" class="ToProcessor">
+               <processor> myfetchtask </processor>
+            </mailet>
+            <!-- Send remaining mails to the transport processor for either  
local or remote delivery -->
+            <mailet match="All" class="ToProcessor">
+               <processor> transport </processor>
+            </mailet>
+         </processor>
 
-{{{      <processor name="myfetchtask"> }}}
-{{{         <!-- any local recipients, kill it - fetched domain is not local 
--> }}}
-{{{         <mailet match="RecipientIsLocal" class="Null"/> }}}
-{{{         <!-- Now forward my fetched account to my local account --> }}}
-{{{         <mailet match="[EMAIL PROTECTED]" class="Forward"> }}}
-{{{           <forwardto>[EMAIL PROTECTED]</forwardto> }}}
-{{{         </mailet> }}}
-{{{         <!-- If the recipient is for a local account, deliver it locally 
--> }}}
-{{{         <mailet match="RecipientIsLocal" class="LocalDelivery"/> }}}
-{{{         <!-- now kill all remaining recipients - fetched mail should not 
be resent --> }}}
-{{{         <mailet match="All" class="Null"/> }}}
-{{{      </processor> }}}
+         <processor name="myfetchtask">
+            <!-- any local recipients, kill it - fetched domain is not local 
-->
+            <mailet match="RecipientIsLocal" class="Null"/>
+            <!-- Now forward my fetched account to my local account -->
+            <mailet match="[EMAIL PROTECTED]" class="Forward">
+              <forwardto>[EMAIL PROTECTED]</forwardto>
+            </mailet>
+            <!-- If the recipient is for a local account, deliver it locally 
-->
+            <mailet match="RecipientIsLocal" class="LocalDelivery"/>
+            <!-- now kill all remaining recipients - fetched mail should not 
be resent -->
+            <mailet match="All" class="Null"/>
+         </processor> }}}
 
 Note that my james server is *not* configured to handle mail for 
my.fetched.domain
 

Reply via email to