Mark,

Thanks.. I was hoping to figure out the clock skew between the IMAP server and the IMAP client retrieving the data. I guess I will have to come up with something else.

Thanks,
Todd


Mark Crispin wrote:
On Fri, 6 Apr 2007, todd massey wrote:

I have looked through the RFCs and can not find anything related to finding out whether I can get the current date on the IMAP server.
I want to make sure I am synchronized with the date of the machine
running the IMAP server.  I know I can get the date of the message,
but I want the date on the IMAP server.  Is this possible?


Short answer: no.

Some servers may announce the date in their banner message as commentary text, but there is no reason to believe that such a date has any relationship to the dates in any message. It may have a relationship to the INTERNALDATE; but note that there are still systems in the world in which the date is set by an operator's watch at boot time.

In any case, you should not be attempting to synchronize with a server date. You should synchronize with UTC. Both the message dates and the INTERNALDATE convey timezone information, which allows translation into UTC. The quality of that synchronization is based directly upon how well the client and server clocks are synchronized with UTC. Modern systems of both types do so, since many forms of authentication depend upon synchronization.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.

_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to