Bug 11397 - (int-198693) If IMAP FETCH results not ordered, client work incorrectly (mail.yandex.ru)
(int-198693)
: If IMAP FETCH results not ordered, client work incorrectly (mail.yandex.ru)
Status: UNCONFIRMED
Product: Email
General
: 5.0:(10.2010.19-1)
: N900 Maemo
: Unspecified normal with 1 vote (vote)
: ---
Assigned To: unassigned
: modest-bugs
:
:
:
:
  Show dependency tree
 
Reported: 2010-10-14 21:48 UTC by Anton Barabanov
Modified: 2010-12-05 23:35 UTC (History)
3 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Anton Barabanov (reporter) 2010-10-14 21:48:25 UTC
Yandex IMAP service (mail.yandex.ru) sent unordered FETCH results. E-mail
client Maemo incorrectly handle such results.

SOFTWARE VERSION:
(Settings > General > About product)

EXACT STEPS LEADING TO PROBLEM: 
(Explain in detail what you do (e.g. tap on OK) and what you see (e.g. message
Connection Failed appears))
1. 
2. 
3. 

EXPECTED OUTCOME:

ACTUAL OUTCOME:

REPRODUCIBILITY:
(always, less than 1/10, 5/10, 9/10)

EXTRA SOFTWARE INSTALLED:

OTHER COMMENTS:

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.2.10)
Gecko/20100915 Ubuntu/10.04 (lucid) Firefox/3.6.10
Comment 1 Anton Barabanov (reporter) 2010-10-14 21:52:57 UTC
For example:

D00006 UID FETCH 91:101 (FLAGS RFC822.SIZE INTERNALDATE BODY.PEEK[HEADER.FIELDS
(DATE)])
* 3 FETCH (UID 93 RFC822.SIZE 56583 FLAGS (\Seen) INTERNALDATE "30-Dec-2009
10:44:11 +0000" BODY[HEADER.FIELDS (DATE)] {41}
Date: Wed, 30 Dec 2009 03:43:04 -0800

)
* 1 FETCH (UID 91 RFC822.SIZE 49532 FLAGS (\Seen) INTERNALDATE "04-Dec-2009
07:33:53 +0000" BODY[HEADER.FIELDS (DATE)] {40}
Date: Fri, 4 Dec 2009 00:33:19 -0800

)
* 4 FETCH (UID 94 RFC822.SIZE 101017 FLAGS (\Seen) INTERNALDATE "04-Feb-2010
13:49:31 +0000" BODY[HEADER.FIELDS (DATE)] {40}
Date: Thu, 4 Feb 2010 06:49:00 -0800

)
* 6 FETCH (UID 96 RFC822.SIZE 82744 FLAGS (\Seen) INTERNALDATE "19-Feb-2010
15:57:44 +0000" BODY[HEADER.FIELDS (DATE)] {41}
Date: Fri, 19 Feb 2010 08:55:37 -0800

)
* 2 FETCH (UID 92 RFC822.SIZE 66930 FLAGS (\Seen) INTERNALDATE "10-Dec-2009
15:26:23 +0000" BODY[HEADER.FIELDS (DATE)] {41}
Date: Thu, 10 Dec 2009 08:25:41 -0800

)
* 8 FETCH (UID 98 RFC822.SIZE 24514 FLAGS (\Seen) INTERNALDATE "18-Mar-2010
13:28:05 +0000" BODY[HEADER.FIELDS (DATE)] {41}
Date: Thu, 18 Mar 2010 07:27:57 -0700

)
* 5 FETCH (UID 95 RFC822.SIZE 44062 FLAGS (\Seen) INTERNALDATE "18-Feb-2010
15:31:40 +0000" BODY[HEADER.FIELDS (DATE)] {41}
Date: Thu, 18 Feb 2010 08:31:02 -0800

)
* 9 FETCH (UID 99 RFC822.SIZE 71131 FLAGS (\Seen) INTERNALDATE "19-Mar-2010
10:46:05 +0000" BODY[HEADER.FIELDS (DATE)] {41}
Date: Fri, 19 Mar 2010 04:45:38 -0700

)
* 10 FETCH (UID 100 RFC822.SIZE 13947 FLAGS (\Seen) INTERNALDATE "24-Mar-2010
21:10:04 +0000" BODY[HEADER.FIELDS (DATE)] {36}
Date: 24 Mar 2010 17:01:53 -0500

)
* 11 FETCH (UID 101 RFC822.SIZE 21487 FLAGS (\Seen) INTERNALDATE "26-Mar-2010
04:23:36 +0000" BODY[HEADER.FIELDS (DATE)] {41}
Date: Thu, 25 Mar 2010 23:23:15 -0600

)
* 7 FETCH (UID 97 RFC822.SIZE 66793 FLAGS (\Seen) INTERNALDATE "05-Mar-2010
15:17:19 +0000" BODY[HEADER.FIELDS (DATE)] {40}
Date: Fri, 5 Mar 2010 08:16:53 -0800

)
D00006 OK FETCH completed
Comment 2 Andre Klapper maemo.org 2010-10-15 12:28:19 UTC
Hi,
please fill out the fields in comment 0.
Comment 3 Anton Barabanov (reporter) 2010-10-15 12:43:30 UTC
SOFTWARE VERSION:10.2010.19-1
(Settings > General > About product)

EXACT STEPS LEADING TO PROBLEM: 
(Explain in detail what you do (e.g. tap on OK) and what you see (e.g. message
Connection Failed appears))
1. Create New account, type IMAP server imap.yandex.ru
2. Enter to INBOX, messages duplicate
3. Reopen email client, all messages show as EXPUNGED

EXPECTED OUTCOME: actual messages list

ACTUAL OUTCOME: all messages are expunged or some messages duplicated

REPRODUCIBILITY: always
(always, less than 1/10, 5/10, 9/10)

EXTRA SOFTWARE INSTALLED:

OTHER COMMENTS:
Yandex IMAP service (mail.yandex.ru) sent unordered FETCH results. E-mail
client Maemo incorrectly handle such results.

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.2.10)
Gecko/20100915 Ubuntu/10.04 (lucid) Firefox/3.6.10
Comment 4 Andre Klapper maemo.org 2010-10-15 16:53:05 UTC
(In reply to comment #3)
> 3. Reopen email client, all messages show as EXPUNGED

It is likely that it's related, but why do you think that the outcome is
related to IMAP FETCH results not being ordered? (I'm also wondering if RFC3501
says anything about the order of a FETCH.)

Do you access the IMAP account with another client software at the same time?
Comment 5 Anton Barabanov (reporter) 2010-10-15 17:07:44 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > 3. Reopen email client, all messages show as EXPUNGED
> 
> It is likely that it's related, but why do you think that the outcome is
> related to IMAP FETCH results not being ordered? (I'm also wondering if RFC3501
> says anything about the order of a FETCH.)
> 
> Do you access the IMAP account with another client software at the same time?
> 

Yes, all mainstream email clients work correctly. RFC3501 doesn`t says anything
about FETCH result ordering. We are developers of imap yandex server and have
problems only with the client N900. We have tried N900 with ordered FETCH and
it worked correctly, but perfomance reasons we need the fetch unordered output.
Comment 6 Andre Klapper maemo.org 2010-10-17 20:28:46 UTC
Thanks for explaining!