[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-mailutils] Re: IMAP protocol violation in 1.1
From: |
Simon Josefsson |
Subject: |
[bug-mailutils] Re: IMAP protocol violation in 1.1 |
Date: |
Sat, 16 Aug 2008 13:18:46 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) |
Here is another protocol problem:
436 SELECT "INBOX.Trash"
* 4 EXISTS
* 3 RECENT
* OK [UIDVALIDITY 0] UID valididy status
* OK [UIDNEXT 5] Predicted next uid
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Deleted \Seen)] Permanent flags
436 OK [READ-WRITE] SELECT Completed
437 UID SEARCH UNSEEN UNDELETED
* SEARCH 2 3 4
Note it says 2 3 4 are unseen.
437 OK UID SEARCH Completed
438 UID SEARCH SEEN
* SEARCH 1
438 OK UID SEARCH Completed
439 UID SEARCH ANSWERED
* SEARCH
439 OK UID SEARCH Completed
440 UID SEARCH RECENT
* SEARCH 2 3 4
440 OK UID SEARCH Completed
441 EXAMINE "INBOX.Trash"
* 4 EXISTS
* 3 RECENT
* OK [UIDVALIDITY 0] UID valididy status
* OK [UIDNEXT 5] Predicted next uid
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS ()] No Permanent flags
441 OK [READ-ONLY] EXAMINE Completed
442 CLOSE
442 OK CLOSE Completed
443 EXAMINE "INBOX.Trash"
* 4 EXISTS
* 3 RECENT
* OK [UIDVALIDITY 0] UID valididy status
* OK [UIDNEXT 5] Predicted next uid
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS ()] No Permanent flags
443 OK [READ-ONLY] EXAMINE Completed
444 FETCH 1,* UID
* 1 FETCH (UID 1)
* 4 FETCH (UID 4)
444 OK FETCH Completed
445 SELECT "INBOX.Trash"
* 4 EXISTS
* 3 RECENT
* OK [UIDVALIDITY 0] UID valididy status
* OK [UIDNEXT 5] Predicted next uid
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Deleted \Seen)] Permanent flags
445 OK [READ-WRITE] SELECT Completed
446 STATUS "INBOX.Trash" (UNSEEN)
* STATUS INBOX.Trash (UNSEEN 3 )
The space after 3 and before ) isn't permitted by the ABNF.
446 OK STATUS Completed
447 EXPUNGE
447 OK EXPUNGE Completed
448 UID SEARCH UNSEEN UNDELETED
* SEARCH
Huh! The UNSEEN flags are now gone? How did that happen?
448 OK UID SEARCH Completed
449 UID SEARCH SEEN
* SEARCH 1 2 3 4
Indeed, all messages are marked as SEEN.
449 OK UID SEARCH Completed
450 UID SEARCH ANSWERED
* SEARCH
450 OK UID SEARCH Completed
451 UID SEARCH RECENT
* SEARCH 2 3 4
However, they are still RECENT which seems confusing.
451 OK UID SEARCH Completed
452 EXAMINE "INBOX.Trash"
* 4 EXISTS
* 3 RECENT
* OK [UIDVALIDITY 0] UID valididy status
* OK [UIDNEXT 5] Predicted next uid
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS ()] No Permanent flags
452 OK [READ-ONLY] EXAMINE Completed
453 CLOSE
453 OK CLOSE Completed
Maybe there is some confusion between SEEN and RECENT? RECENT should be
cleared when you re-SELECT a mailbox, but SEEN should only be changed
when the client set flags.
Thanks,
/Simon
- [bug-mailutils] Re: IMAP protocol violation in 1.1, (continued)
- [bug-mailutils] Re: IMAP protocol violation in 1.1, Simon Josefsson, 2008/08/15
- Re: [bug-mailutils] Re: IMAP protocol violation in 1.1, Sergey Poznyakoff, 2008/08/15
- [bug-mailutils] Re: IMAP protocol violation in 1.1, Simon Josefsson, 2008/08/15
- [bug-mailutils] Re: IMAP protocol violation in 1.1, Sergey Poznyakoff, 2008/08/15
- [bug-mailutils] Re: IMAP protocol violation in 1.1, Simon Josefsson, 2008/08/15
- [bug-mailutils] Re: IMAP protocol violation in 1.1, Simon Josefsson, 2008/08/15
- Re: [bug-mailutils] Re: IMAP protocol violation in 1.1, Sergey Poznyakoff, 2008/08/16
- [bug-mailutils] Re: IMAP protocol violation in 1.1, Simon Josefsson, 2008/08/16
- Re: [bug-mailutils] Re: IMAP protocol violation in 1.1, Sergey Poznyakoff, 2008/08/16
- [bug-mailutils] Re: IMAP protocol violation in 1.1, Simon Josefsson, 2008/08/16
- [bug-mailutils] Re: IMAP protocol violation in 1.1,
Simon Josefsson <=
- Re: [bug-mailutils] Re: IMAP protocol violation in 1.1, Sergey Poznyakoff, 2008/08/16
- Re: [bug-mailutils] Re: IMAP protocol violation in 1.1, Sergey Poznyakoff, 2008/08/17
- Re: [bug-mailutils] Re: IMAP protocol violation in 1.1, Sergey Poznyakoff, 2008/08/16
- [bug-mailutils] Re: IMAP protocol violation in 1.1, Simon Josefsson, 2008/08/18
- [bug-mailutils] Re: IMAP protocol violation in 1.1, Sergey Poznyakoff, 2008/08/18