MBOX-Line: From mark-clist at npsl.co.uk  Thu Oct 13 07:49:55 2011
To: imap-protocol@u.washington.edu
From: Mark Weaver <mark-clist@npsl.co.uk>
Date: Fri Jun  8 12:34:46 2018
Subject: [Imap-protocol] Outlook Express issue
Message-ID: <4E96FA93.9000902@npsl.co.uk>

I've had an issue reported against an IMAP server that I've written 
where OE thinks it has a deleted message that's not actually deleted. 
I've got a log file from the client, the relevant bits are:

IMAP: 15:01:29 [tx] domn UID FETCH 1:356478 (UID FLAGS)
...
IMAP: 15:01:35 [rx] * 4504 FETCH (UID 356256 FLAGS ())
...
IMAP: 15:01:42 [tx] h7mh UID STORE 356256 -FLAGS.SILENT (\Deleted)
IMAP: 15:01:43 [rx] h7mh OK STORE completed

i.e. it's trying to remove a \Deleted flag that isn't set on the 
message, which I guess means that locally it thinks that it's deleted 
and it hasn't picked up the flags from the fetch response.

I can't see anything wrong with the server responses, so it looks to me 
like OE is incapable of synchronising flags properly.  Is this known 
about/something that can be worked around, or have I just got something 
in the output format?

Thanks,

Mark

