Hi,

I have experienced the following scenario (james 2.1.3):

FetchPop is fetching, but due to a lot of mails or some large mails, it does 
not finish before the next invocation of FetchPop, then this new invocation 
will actually see the same files (they are only deleted upon termination of 
the first FetchPop invocation), and then this new invocation will not finish 
before the next and then ...

The same might hold for FetchMail, need to check. 

I will submit a patch next week, but...
there are 2 roads to patch this, it can be handled locally in FetchPop or a 
new implementation of 
org.apache.avalon.cornerstone.services.scheduler.TimeScheduler could be made 
which uses java.util.Timer, which supports fixed-delay as well as fixed-rate 
execution. Any opinions?

(On a somewhat related topic, I have experienced NullPointerExceptions from 
FetchPop on certain "special" formatted mails (ie. no sender information), 
this leads to mails piling up after the offending mail (ie. FetcPop will 
throw this exception on each invocation and thus effectively disrupt the mail 
flow). I will submit a patch to fix this as well)

regards
  S�ren

-- 
S�ren Hilmer, M.Sc.
R&D manager             Phone:  +45 70 27 64 00
TietoEnator IT+ A/S     Fax:    +45 70 27 64 40
Ved Lunden 12           Direct: +45 87 46 64 57
DK-8230 �byh�j          Email:  [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to