19 Mar
2007
19 Mar
'07
2:30 p.m.
On 19.3.2007, at 11.48, Luigi Rosa wrote:
Christian Skarby said the following on 19/03/2007 10.40:
You could probably patch ioloop.c to accept more than 5 seconds of
adjustment and then recompile. According to the commit[1] it seems
IOLOOP_MAX_TIME_BACKWARDS_SLEEP determines a time limit in
seconds, in which dovecot will hang waiting for time to get back
to at least what is was (assuring that nothing is done "in the
past".)My point is: could Dovecot restart itself insted of killing itself?
That's not enough to fix all the potential problems, because the
future time may already be used in files' timestamps.
As others mentioned, using ntpd avoids this problem entirely.