6 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Bye Clock skew de...
FromSent OnAttachments
Cristian SeresOct 29, 2007 8:14 am 
Gordon MessmerOct 29, 2007 8:52 am 
Cristian SeresOct 29, 2007 3:17 pm 
Gordon MessmerOct 29, 2007 3:42 pm 
Sam VarshavchikOct 29, 2007 4:56 pm 
Cristian SeresOct 30, 2007 2:49 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Bye Clock skew detectedActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Oct 29, 2007 4:56:23 pm
List:net.sourceforge.lists.courier-users

Cristian Seres writes:

From: Gordon Messmer <yiny@eburg.com>

Cristian Seres wrote:

* BYE Clock skew detected. Check the clock on the file server

The clock on your file server is more than 30 seconds different from your IMAP server. Check the operation of NTP on both.

There is no file server. All filesystems are local. It is a single server running Courier IMAP.

That's strange. I can only think of one explanation. Try applying this patch:

--- imap/imapd.c 7 Oct 2007 02:46:16 -0000 1.148 +++ imap/imapd.c 29 Oct 2007 23:56:10 -0000 @@ -6204,9 +6204,11 @@ { static const char fn[]="tmp/courier-imap.clockskew.chk"; struct stat stat_buf; - int fd=open(fn, O_RDWR|O_TRUNC|O_CREAT, 0666); + int fd; time_t t;

+ unlink(fn); + fd=open(fn, O_RDWR|O_TRUNC|O_CREAT, 0666); time(&t);

if (fd < 0)