Johannes Berg johannes@sipsolutions.net writes:
On Fri, 2008-06-20 at 10:53 +0200, Anders wrote:
I was puzzled that it was always 4398 seconds, in particular because this server runs an NTP daemon. A little searching for this problem shows that it is an issue with the Linux kernel gettimeofday(), see e.g. http://lkml.org/lkml/2007/8/23/96
The thread puts it down to buggy hardware and puts a workaround into the kernel where it belongs, not in dovecot.
That's not helpful.
By that line, the entire "time moved backwards" thing does not belong in Dovecot.
Anyway, I was not proposing the patch to be included, just asking for advice as to whether it would be safe. I even noted that it was ugly.
As I am already compiling Dovecot myself, I prefer a patch there, rather than diverting from the distribution kernel.
Cheers, Anders.