[Dovecot] Time moved backwards

Anton Yuzhaninov citrin at rambler-co.ru
Tue May 13 11:51:12 EEST 2008


Timo Sirainen пишет:
> On Tue, 2008-05-13 at 11:13 +0400, Eugene wrote:
> 
>> I suggest that Dovecot simply terminate the current connections (causing the 
>> client to reconnect) or -- if the time change is really that much of a 
>> problem -- to restart itself automatically. 
> 
> I guess terminating all current connections and restarting all processes
> would be pretty safe, but it's not really a high priority change for
> me..

IMHO more robust is to use clock_gettime(CLOCK_MONOTONIC, ..) for timeouts and just 
work fine even if time was changed via settimeofday().

-- 
WBR,
  Anton Yuzhaninov
  Rambler Mail


More information about the dovecot mailing list