You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-dev@james.apache.org by si...@james.apache.org on 2004/04/21 20:02:02 UTC
[Apache James Wiki] Updated: SettingUpFetchpop
Date: 2004-04-21T11:02:01
Editor: ChristianGeisert <ch...@isu-gmbh.de>
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="RecipientIs=my.fetched.name@my.fetched.domain" class="Forward"> }}}
-{{{ <forwardto>my.local.account@localhost</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="RecipientIs=my.fetched.name@my.fetched.domain" class="Forward">
+ <forwardto>my.local.account@localhost</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