james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Søren Hilmer ...@itplus.dk>
Subject [PATCH] RemoteDelivery support for multiple delayTimes
Date Thu, 23 Oct 2003 21:06:06 GMT
This patch implements multiple delayTimes in RemoteDelivery, for that to work 
SpoolRepository, and implementing classes has also been modified, as have the 
sqlResources.xml.

The format for each delayTime entry is <attempts*delaytime unit> attempts and 
unit are optional. Attempt is the number of times the delay is used. Unit is 
one of msec(s),sec(s),minute(s),hour(s),day(s).

maxRetries are made consistent with the total number of delaytime attempts by:
   Increasing the attempts of the last delay if maxRetries are larger.
   Increasing maxRetries if the totalnumber of attempts are larger
If either of these is done a log of the action are made.

It uses a new method in SpoolRepository: accept (AcceptFilter) to select the 
mail that should be processed next.

When/if this gets accepted I will of course produce a similar patch for the 
2.1fcs branch.

--Søren

-- 
Søren Hilmer, M.Sc.
R&D manager		Phone:	+45 70 27 64 00
TietoEnator IT+		Fax:	+45 70 27 64 40
Ved Lunden 12		Direct:	+45 87 46 64 57
DK-8230 Åbyhøj		Email:	soren.hilmer@tietoenator.com


Mime
View raw message