[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    [Bug 128233] New: IMAP protocol client error: fetching UID 0 causes
From:       Andreas Aardal Hanssen <ahanssen () trolltech ! com>
Date:       2006-05-29 9:34:54
Message-ID: 20060529113452.128233.ahanssen () trolltech ! com
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=128233         
           Summary: IMAP protocol client error: fetching UID 0 causes lockup
                    in client
           Product: kmail
           Version: 1.8.2
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kmail-devel kde org
        ReportedBy: ahanssen trolltech com


Version:           1.8.2 (using KDE KDE 3.5.1)
Installed from:    SuSE RPMs
Compiler:          gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)
 Installed KMail via RPMs in SuSE 9.3
OS:                Linux

KMail updates its flags by issuing a UID FETCH 1:* FLAGS. After this response, it \
fetches messages with UID 2006:*, and because message UID 2005 is the largest \
message, the IMAP server returns only this (in IMAP, * = max message number, and \
2006:2005 == 2005 if there is no 2006). It looks like KMail is confused by this \
response, because it promptly does a refresh of the entire mailbox by fetching \
0:2005.

Bug 1: UID 0 - that's a protocol error. There is no such thing in IMAP.
Bug 2: It shouldn't have done the full refresh in the first place. :-)

Protocol dump:

* 1714 FETCH (UID 2004 FLAGS (\Seen \Recent))<CR><LF>
* 1714 FETCH (FLAGS (\Seen \Recent))<CR><LF>
* 1715 FETCH (UID 2005 FLAGS (\Recent))<CR><LF>
88139 OK FETCH completed<CR><LF>
88140 UID FETCH 2006:* (UID RFC822.SIZE FLAGS ENVELOPE BODY.PEEK[HEADER.FIELDS \
                (REFERENCES)])<CR><LF>
* 1715 FETCH (UID 2005 RFC822.SIZE 2708 FLAGS (\Recent) ENVELOPE ("Mon, 29 May 2006 \
14:34:17 +0900" "Fw: (Hopefully)temporally block-out of my KO account" ((NIL NIL \
"Takayasu_Fukui" "jetro.go.jp")) ((NIL NIL "Takayasu_Fukui" "jetro.go.jp")) ((NIL NIL \
"Takayasu_Fukui" "jetro.go.jp")) ((NIL NIL "fktac" "hotmail.com")) NIL NIL NIL \
"<OF0A119772.9197A33F-ON4925717D.001E7FB4-4925717D.001EB0FA jetro go jp>") \
BODY[HEADER.FIELDS ("REFERENCES")] {2}<CR><LF> <CR><LF>
)<CR><LF>
88140 OK FETCH completed<CR><LF>
88141 UID FETCH 0,2005 (UID RFC822.SIZE FLAGS ENVELOPE BODY.PEEK[HEADER.FIELDS \
                (REFERENCES)])<CR><LF>
* NO Expected sequence set after FETCH SPACE<CR><LF>
_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic