fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]Fixed UIDL + IMAP patch

2004-05-21 07:09:32
On May 21, 2004, at 5:11 AM, Matthias Andree wrote:

Clint Sharp <clint(_at_)typhoon(_dot_)org> writes:

However, UW IMAP implementation doesn't even keep the same UIDVALIDITY
between sessions, even without an expunge or any sort of internal
reordering of the email, as seen by the example at the end of the
email.

That would be a SHOULD violation.

Perhaps it depends on the mailbox driver in use? Clint, what format are your mailboxes in? I'm use mbx format, and the UIDVALIDITY seems to persist between sessions(*)

This is only speculation though - I have no familiarity with the source.

Jim

(*)Example:

[great-white-north:~] correia% /usr/local/libexec/imapd
* PREAUTH [CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS BINARY SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] Pre-authenticated user correia great-white-north.local IMAP4rev1 2003.337 at Fri, 21 May 2004 10:04:47 -0400 (EDT)
00 SELECT INBOX
* 2926 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1041780001] UID validity status
* OK [UIDNEXT 139383] Predicted next UID
* FLAGS (NotJunk Junk JunkRecorded Forwarded NoJunk NonJunk Redirected \Answered \Flagged \Deleted \Draft \Seen) * OK [PERMANENTFLAGS (NotJunk Junk JunkRecorded Forwarded NoJunk NonJunk Redirected \* \Answered \Flagged \Deleted \Draft \Seen)] Permanent flags * OK [UNSEEN 2926] first unseen message in /Users/correia/Mail/IMAP/INBOX
00 OK [READ-WRITE] SELECT completed
01 LOGOUT
* BYE great-white-north.local IMAP4rev1 server terminating connection
01 OK LOGOUT completed
[great-white-north:~] correia% /usr/local/libexec/imapd
* PREAUTH [CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS BINARY SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] Pre-authenticated user correia great-white-north.local IMAP4rev1 2003.337 at Fri, 21 May 2004 10:05:00 -0400 (EDT)
00 SELECT INBOX
* 2926 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1041780001] UID validity status
* OK [UIDNEXT 139383] Predicted next UID
* FLAGS (NotJunk Junk JunkRecorded Forwarded NoJunk NonJunk Redirected \Answered \Flagged \Deleted \Draft \Seen) * OK [PERMANENTFLAGS (NotJunk Junk JunkRecorded Forwarded NoJunk NonJunk Redirected \* \Answered \Flagged \Deleted \Draft \Seen)] Permanent flags * OK [UNSEEN 2926] first unseen message in /Users/correia/Mail/IMAP/INBOX
00 OK [READ-WRITE] SELECT completed
01 LOGOUT
* BYE great-white-north.local IMAP4rev1 server terminating connection
01 OK LOGOUT completed