[Dovecot] Time moved backwards

Quentin Garnier cube at cubidou.net
Tue May 13 10:32:23 EEST 2008


On Tue, May 13, 2008 at 11:13:39AM +0400, Eugene wrote:
> Hello,
>
> I would like to suggest a change in handling of 'Time moved backwards' 
> problem.
> Right now dovecot just dies. So, the scenario:
> 1) Colocation server is shut down for some reason. The internal time drifts.
> 2) Server is started again.
> 3) Dovecot starts successfully.
> 4) In about a minute, NTP daemon feels confident about adjusting the system 
> time.
> 5) Dovecot sees the changed time and dies.
> 6) Admin has to notice that, login and restart Dovecot manually.

The admin should run ntpdate before launching ntpd and dovecot.  ntpd
will _never_ move time backwards under normal drifting conditions (it
has other ways of coping with that).

-- 
Quentin Garnier - cube at cubidou.net - cube at NetBSD.org
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 486 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20080513/920b4bdf/attachment.bin 


More information about the dovecot mailing list