[Dovecot] dovecot and ntp: Fatal: Time just moved backwards

Harlan Stenn Harlan.Stenn at pfcs.com
Sat Jun 6 23:17:39 EEST 2009


Juergen Daubert wrote:
> On Sat, Jun 06, 2009 at 08:19:14PM +0200, Arno Wald wrote:
> > I am running dovecot on a PC (a workstation) to have a mail client  
> > independent storage for my mails. Now I would like to have the system  
> > clock set correctly by using ntpd or ntpdate (using debian/sid).
> >
> > The problem is, that the PC is not online at boot time, but is set  
> > online on demand manually using "pon" to start the pppd later. So ntpd  
> > cannot sync the time on boot time before dovecot gets started.
> 
> Chrony is what you are looking for, see http://chrony.sunsite.dk/

How will chrony help here if the PC is not online at boot time?

What will stop dovecot from aborting if the time gets set backwards when
the PC goes online?

If you want to run ntpd, I recommend using its ntp-wait script to block
starting dovecot until the clock is sync'd.

H


More information about the dovecot mailing list