[Bug 159296] New: Shered IMAP folders "Error while uploading status of messages to server"

Giuseppe Ravasio giuseppe_ravasio at modiano.com
Fri Mar 14 10:36:20 GMT 2008


------- 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=159296         
           Summary: Shered IMAP folders "Error while uploading status of
                    messages to server"
           Product: kmail
           Version: unspecified
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs kde org
        ReportedBy: giuseppe_ravasio modiano com


Version:           1.9.9 and 1.9.6 (Enterprise 20070904.708012) (using KDE 3.5.7)
Installed from:    SuSE RPMs
OS:                Linux

Recently i moved my IMAP server to a newer version of CyrusIMAP (2.3.8), and KMail is now unusable because, every time a select a new email on a shared folder i get an error like:

---- START -----
Error while uploading status of messages to server:
Cannot Write to Resource
This means that although the resource, Changing the flags of message
imaps://user mbox993/shared_folder/aaa/;UID=31900 failed.,
was able to be opened, an error occurred while writing to the resource.
Details of the request:
URL: (unknown)
Date and time: Friday 14 March 2008 10:47
Additional information: Changing the flags of message
imaps://user mbox993/shared_folder/aaa/;UID=31900 failed.
Possible causes:
You may not have permissions to write to the resource.
There may have been a problem with your network connection.
Although unlikely, a hardware error may have occurred.
Possible solutions:
Check your access permissions on this resource.
Check your network connection status.
Contact your appropriate computer support system, whether the system
administrator, or technical support group for further assistance.
---- END ----

My ACL on the shared folder are the standard Cyrus Read permissions:
LRS (Read, List, Seen) 

I traced the session with wireshark and it shows that kmail tries to unset other flags than SEEEN!!!

---- WIRESHARK TRACE START ----
11 NOOP
11 OK Completed

12 UID FETCH 110721 (UID RFC822.HEADER RFC822.SIZE FLAGS)
* 6061 FETCH (FLAGS (\Seen) UID 110721 RFC822.SIZE 16493 RFC822.HEADER {2717}
{CUT}
12 OK Completed (0.000 sec)

13 UID FETCH 110721 (BODYSTRUCTURE)
* 6061 FETCH (UID 110721 BODYSTRUCTURE (("TEXT" "PLAIN" ("CHARSET" "gb2312") NIL NIL "QUOTED-PRINTABLE" 2008 100 NIL NIL NIL)("TEXT" "HTML" ("CHARSET" "gb2312") NIL NIL "QUOTED-PRINTABLE" 11392 361 NIL NIL NIL) "ALTERNATIVE" ("BOUNDARY" "----=_NextPart_000_009C_01C885B3.C4179860") NIL NIL))
13 OK Completed (0.000 sec)

14 UID STORE 110721 -FLAGS.SILENT (\SEEN \ANSWERED \FLAGGED \DRAFT)
14 NO Permission denied

15 UID FETCH 110721 (UID RFC822.SIZE FLAGS BODY.PEEK[TEXT])
* 6061 FETCH (FLAGS (\Seen) UID 110721 RFC822.SIZE 16493 BODY[TEXT] {13776}
{CUT}
15 OK Completed (0.000 sec)
---- WIRESHARK TRACE END ----

If I add the W (Write flags other than \SEEN and \DELETED) flag on the folder, kmail stops complaining!

But that's not the solution because i don't want users be able to set other flags on shared folders!

Thunderbird, Outlook, Evolution and so on do not show this "flags problem"

Regards
G.Ravasio



More information about the Kdepim-bugs mailing list