james-server-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabor Kincses <npure2...@yahoo.com>
Subject Re: Message looping
Date Fri, 11 Feb 2005 23:10:44 GMT
This article helped resolve my message looping
problem.

http://www.ociweb.com/jnb/jnbDec2004.html

Gabor

--- Gabor Kincses <npure2001@yahoo.com> wrote:

> Can somebody please point out why any incoming
> message
> is processed 5 times?
> 
> Here's the relevant bit of my config.xml.  Does the
> ToProcessor clone the message and put it back in the
> root processor?  Or is it the RemoteDelivery that
> causes the loop?
> 
> I have been hacking my config.xml for a number of
> hours to noavail.  Any chance of enabling debugging
> info in James?  I have played around with
> environment.xml to noavail.
> 
> <processor name="root">
>    <!-- Important check to avoid looping -->
>    <mailet match="RelayLimit=5" class="Null"/>
>    <!-- First take a snapshot of anything we process
> -->
>    <mailet match="All" class="Snapshot"/>
>    <!-- Reject some like this -->
>    <mailet match="BounceSelector" class="Bounce"/>
>    <mailet match="UnsubSelector"
> class="Unsubscriber"/>
>    <mailet match="RecipientIsLocal" class="Null"/>
>    <mailet
> match="RecipientIs=sender@otherhost.domain"
> class="ToProcessor">
>      <processor>transport</processor>
>    </mailet>
> </processor>
> 
> <processor name="transport">
>    <!-- All local mail should be ignored -->
>    <!-- The Snapshot saves all messages as needed
> -->
>    <!-- We don't manage local mailboxes -->
>    <mailet match="RecipientIsLocal" class="Null"/>
>    <mailet match="HostIsLocal" class="Null"/>
>    <mailet match="All" class="RemoteDelivery">
>       <outgoing>file://var/mail/outgoing</outgoing>
>       <delayTime>2 seconds</delayTime>
>       <maxRetries>1</maxRetries>
>       <deliveryThreads>1</deliveryThreads>
>       <sendpartial>false</sendpartial>
>    </mailet>
> </processor>
> 
> Thanks,
> Gabor
> 
> =====
> Gabor Kincses
> Running Mandrake Linux 10.0
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Take Yahoo! Mail with you! Get it on your mobile
> phone. 
> http://mobile.yahoo.com/maildemo 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> server-user-unsubscribe@james.apache.org
> For additional commands, e-mail:
> server-user-help@james.apache.org
> 
> 


=====
Gabor Kincses
Running Mandrake Linux 10.0


		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 


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


Mime
View raw message