[Dovecot] time going back

Timo Sirainen tss at iki.fi
Mon Oct 29 22:33:43 EET 2007


On Mon, 2007-10-29 at 03:35 +0100, Marcin Gryszkalis wrote:
> btw, while checking results of nightly DST change I re-sync-ed one of my boxes 
> to ntp server with rdate and got
> 
> Oct 28 10:32:48 sas dovecot: Time just moved backwards by 1099 seconds. This 
> might cause a lot of problems, so I'll just kill myself now.
> 
> 1099 seconds is ~18 minutes
> 
> How much is too much for dovecot?

More than 5 seconds and Dovecot kills itself. <=5 seconds and Dovecot
logs a warning and sleeps until it's back in present.

> Do you think using -a on rdate would not cause such effect?
> 
> fyi rdate(8):
>      -a      Use the adjtime(2) call to gradually skew the local time to the
>              remote time rather than just hopping.

It wouldn't, but it would probably take quite a long time.

Why don't you just run ntpd to keep the time correct all the time?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20071029/787fab20/attachment.bin 


More information about the dovecot mailing list