You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Ilango Subramaniam <il...@collab.net> on 2010/01/07 10:58:33 UTC

delayTime

We have the following settings for the RemoteDelivery mailet

 

            <delayTime>  5 minutes </delayTime>

            <delayTime> 10 minutes </delayTime>

            <delayTime> 45 minutes </delayTime>

            <delayTime>  2 hours </delayTime>

            <delayTime>  3 hours </delayTime>

            <delayTime>  6 hours </delayTime>

            <maxRetries> 25 </maxRetries>

 

We are using james 2.2. I am NOT able to interpret the rule out of this.
Can you pls help ?


Re: delayTime

Posted by Stefano Bagnara <ap...@bago.org>.
2010/1/7 Ilango Subramaniam <il...@collab.net>:
> Thanks for ur quick reply and it really helped.
> I am looking at source code (release version="2.1") and trying to understand more on how a message is processed on various scenarios. The source code seem to read only on one 'delayTime' entry. Would u be able to tell since what version this multiple specification of 'delayTime' was introduced.

What source are you looking? Keep in mind that in the middle between
the source code and the xml file there is a configuration component.
Maybe that what you think is reading once is reading a list of values
in a single call.

> I understand from the following text in our config.xml that we are using 2.1 and NOT 2.2

I wouldn't conclude that it is 2.1 because a link points to 2.1 docs.
Maybe it pointed to 2.1 docs because it didn't change in 2.2. BTW 2.1
and 2.2 are old and unsupported. 2.3 should be backward compatible and
works much better.

Upgrade.

>>> <!--                               README!                            -->
>
> <!-- This configuration file is designed to run without alteration for simple tests. -->
> <!-- It assumes you have a DNS server on localhost and assigns a root password of root. -->
>
> <!-- In case the defaults do not suit you, the items you are most likely to need to change -->
> <!-- are preceded by a CHECKME! or CONFIRM? comment in the left margin. -->
>
> <!-- For production use you will probably need to make more extensive changes, see -->
> <!-- http://james.apache.org/documentation_2_1.html -->
>
> <!-- $Revision: 1.40.2.26 $ Committed on $Date: 2004/06/16 02:42:08 $ by: $Author: noel $ -->
> <<
>
>
> Am I missing something?
>
> Thanks again
>
>
> -----Original Message-----
> From: Norman Maurer [mailto:norman.maurer@googlemail.com]
> Sent: Thursday, January 07, 2010 3:44 PM
> To: James Users List
> Subject: Re: delayTime
>
> Its the time it waits before try to deliver the email again on a
> failure. So to make it clear:
>
> * first retry in 5 minutes
> * second retry in 10 minutes
> * third retry in 45 minutes
> ...
> ...
> ...
>
> For more infos:
>
> http://james.apache.org/server/2.2.0/provided_mailets.html
>
> BTW, you should really consider upgrading to JAMES 2.3.2, there are
> many critical bugs fixed which are in 2.2.0.
>
> Bye,
> Norman
>
> 2010/1/7 Ilango Subramaniam <il...@collab.net>:
>> We have the following settings for the RemoteDelivery mailet
>>
>>
>>
>>            <delayTime>  5 minutes </delayTime>
>>
>>            <delayTime> 10 minutes </delayTime>
>>
>>            <delayTime> 45 minutes </delayTime>
>>
>>            <delayTime>  2 hours </delayTime>
>>
>>            <delayTime>  3 hours </delayTime>
>>
>>            <delayTime>  6 hours </delayTime>
>>
>>            <maxRetries> 25 </maxRetries>
>>
>>
>>
>> We are using james 2.2. I am NOT able to interpret the rule out of this.
>> Can you pls help ?
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>

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


RE: delayTime

Posted by Ilango Subramaniam <il...@collab.net>.
Thanks for ur quick reply and it really helped.  
I am looking at source code (release version="2.1") and trying to understand more on how a message is processed on various scenarios. The source code seem to read only on one 'delayTime' entry. Would u be able to tell since what version this multiple specification of 'delayTime' was introduced.

I understand from the following text in our config.xml that we are using 2.1 and NOT 2.2

>> <!--                               README!                            -->

<!-- This configuration file is designed to run without alteration for simple tests. -->
<!-- It assumes you have a DNS server on localhost and assigns a root password of root. -->

<!-- In case the defaults do not suit you, the items you are most likely to need to change -->
<!-- are preceded by a CHECKME! or CONFIRM? comment in the left margin. -->

<!-- For production use you will probably need to make more extensive changes, see -->
<!-- http://james.apache.org/documentation_2_1.html -->

<!-- $Revision: 1.40.2.26 $ Committed on $Date: 2004/06/16 02:42:08 $ by: $Author: noel $ -->
<<


Am I missing something?

Thanks again


-----Original Message-----
From: Norman Maurer [mailto:norman.maurer@googlemail.com] 
Sent: Thursday, January 07, 2010 3:44 PM
To: James Users List
Subject: Re: delayTime

Its the time it waits before try to deliver the email again on a
failure. So to make it clear:

* first retry in 5 minutes
* second retry in 10 minutes
* third retry in 45 minutes
...
...
...

For more infos:

http://james.apache.org/server/2.2.0/provided_mailets.html

BTW, you should really consider upgrading to JAMES 2.3.2, there are
many critical bugs fixed which are in 2.2.0.

Bye,
Norman

2010/1/7 Ilango Subramaniam <il...@collab.net>:
> We have the following settings for the RemoteDelivery mailet
>
>
>
>            <delayTime>  5 minutes </delayTime>
>
>            <delayTime> 10 minutes </delayTime>
>
>            <delayTime> 45 minutes </delayTime>
>
>            <delayTime>  2 hours </delayTime>
>
>            <delayTime>  3 hours </delayTime>
>
>            <delayTime>  6 hours </delayTime>
>
>            <maxRetries> 25 </maxRetries>
>
>
>
> We are using james 2.2. I am NOT able to interpret the rule out of this.
> Can you pls help ?
>
>

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


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


Re: delayTime

Posted by Norman Maurer <no...@googlemail.com>.
Its the time it waits before try to deliver the email again on a
failure. So to make it clear:

* first retry in 5 minutes
* second retry in 10 minutes
* third retry in 45 minutes
...
...
...

For more infos:

http://james.apache.org/server/2.2.0/provided_mailets.html

BTW, you should really consider upgrading to JAMES 2.3.2, there are
many critical bugs fixed which are in 2.2.0.

Bye,
Norman

2010/1/7 Ilango Subramaniam <il...@collab.net>:
> We have the following settings for the RemoteDelivery mailet
>
>
>
>            <delayTime>  5 minutes </delayTime>
>
>            <delayTime> 10 minutes </delayTime>
>
>            <delayTime> 45 minutes </delayTime>
>
>            <delayTime>  2 hours </delayTime>
>
>            <delayTime>  3 hours </delayTime>
>
>            <delayTime>  6 hours </delayTime>
>
>            <maxRetries> 25 </maxRetries>
>
>
>
> We are using james 2.2. I am NOT able to interpret the rule out of this.
> Can you pls help ?
>
>

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