OK.. So I synced the clock.... and got .... dovecot: Time just moved backwards by 1 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards ( The first time I did this the clock moved backwards 2 hours after a timezone change and dovecot suicided ) I think I understand the concept ... However a mail server should probably be synchronized to the local time ..... Suggestions ...??? Harry.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Feb 18, 2009 at 05:17:18PM +0200, Harry Lachanas wrote:> OK.. > So I synced the clock.... > and got .... > > dovecot: Time just moved backwards by 1 seconds. I'll sleep now until we're > back in present. http://wiki.dovecot.org/TimeMovedBackwards > > ( The first time I did this the clock moved backwards 2 hours after a > timezone change and dovecot suicided ) > I think I understand the concept ... > However a mail server should probably be synchronized to the local timeYou don't really mean what you are saying, I think. Anyway: what do you do with all those little file timestamps coming from the future? Many servers dislike time jumping backwards. I've seen even cron killing itself. Above reaction of dovecot is indeed quite friendly. FWIW -- if I have to turn back the clock of a server I don't want to reboot, I just slow down the clock and wait... Regards - -- tom?s -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFJnCoIBcgs9XrR2kYRAvaTAJwMsK2IcRN6WDJcnaVrvuALzrmQmACfVC9O HJzrzZZl3FLDq90AhgTimUk=4PDz -----END PGP SIGNATURE-----
Words by Harry Lachanas [Wed, Feb 18, 2009 at 05:17:18PM +0200]:> OK.. > So I synced the clock.... > and got .... > > dovecot: Time just moved backwards by 1 seconds. I'll sleep now until > we're back in present. http://wiki.dovecot.org/TimeMovedBackwards > > ( The first time I did this the clock moved backwards 2 hours after a > timezone change and dovecot suicided ) > I think I understand the concept ... > However a mail server should probably be synchronized to the local time > ..... > > Suggestions ...??? >Configure ntpd, it syncs the time by micro adjusts. Or do I fail to see the problem ? -- Jose Celestino | http://japc.uncovering.org/files/japc-pgpkey.asc ---------------------------------------------------------------- "One man?s theology is another man?s belly laugh." -- Robert A. Heinlein
On Feb 18, 2009, at 10:17 AM, Harry Lachanas wrote:> dovecot: Time just moved backwards by 1 seconds. I'll sleep now > until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards > > ( The first time I did this the clock moved backwards 2 hours after > a timezone change and dovecot suicided )Dovecot tracks the UTC time, which doesn't change when you change timezones..
on 2-18-2009 7:17 AM Harry Lachanas spake the following:> OK.. > So I synced the clock.... > and got .... >How are you syncing the clock? The preferred method is to run ntpd to keep the clock synced by nudging the timer faster or slower instead of doing large time corrections.> dovecot: Time just moved backwards by 1 seconds. I'll sleep now until > we're back in present. http://wiki.dovecot.org/TimeMovedBackwardsDaemons that work with timestamped logs and files don't like time to go backwards, especially when they are running. Dovecot is nice about it, while some others will either silently die, or corrupt something.> > ( The first time I did this the clock moved backwards 2 hours after a > timezone change and dovecot suicided ) > I think I understand the concept ... > However a mail server should probably be synchronized to the local time > ..... > > Suggestions ...??? > > Harry. > >-- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20090218/6f6bb806/attachment-0002.bin>