Konstantin Riabitsev said: > On Tue, 2003-10-07 at 11:27, Marc Groot Koerkamp wrote: >> What I do not understand in your reported query is the missing space >> between FLAGS and ($MDNSent). I double checked the source >> (read_body.php) >> and we send the correct query. >> Without the space it is a BAD query. >> >> So the reported faulty query isn't the query we send to the imap server. > > I think that was a mistype. Here's what was reported to me on the QVCS > list: > > ERROR: > ERROR : Could not complete request. > Query: STORE 581 +FLAGS ($MDNSent) > Reason Given: Error in IMAP command received by server. > > I've asked on the Courier-IMAP list (followed closely by Matt), but no > replies at the moment. >
It seems that courier-imap does not support the $MDNSent keyword, as shown by this imap session snippet from my server which runs courier-imap: ... 00000 OK LOGIN Ok. 00010 select inbox * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent) * OK [PERMANENTFLAGS (\Draft \Answered \Flagged \Deleted \Seen)] Limited * 13 EXISTS * 6 RECENT * OK [UIDVALIDITY 1054551552] Ok 00010 OK [READ-WRITE] Ok ... according to rfc3503: "When the client opens a mailbox for the first time, it must verify that the server supports the $MDNSent keyword, or arbitrary message keywords by examining PERMANENTFLAGS response code. The client MUST NOT try to set the $MDNSent keyword if the server is incapable of storing it permanently." It would appear that SM is not examining the PERMANENTFLAGS response code and so attempts incorrectly to store the $MDNSent keyword. Not sure there is an easy solution to this. Ideally SM code should detect the imap server's inability to store $MDNSent and instead prevent the re-sending of a receipt by, say, removing the associated headers (X-Confirm-Reading-To: and Disposition-Notification-To. ?) Otherwise pick an imap server that supports the $MDNSent keyword (or persuade the courier project to add the support). Cheers Graeme ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
