MBOX-Line: From paul at nfg.nl  Sun Mar  4 07:55:41 2012
To: imap-protocol@u.washington.edu
From: Paul J Stevens <paul@nfg.nl>
Date: Fri Jun  8 12:34:48 2018
Subject: [Imap-protocol] recent response in status command
In-Reply-To: <5F81467D-EBB4-49AE-9F0A-2FB96A26580C@iki.fi>
References: <4F53524C.3000308@nfg.nl>
	<ACDE4DFC-35B3-4CD9-80F9-DD2AB711BBC4@iki.fi>
	<4F536EBE.7080509@nfg.nl>
	<5F81467D-EBB4-49AE-9F0A-2FB96A26580C@iki.fi>
Message-ID: <4F53907D.2080404@nfg.nl>

On 03/04/2012 03:05 PM, Timo Sirainen wrote:

>> I understand a \recent flag must never be returned more than once or in
>> more than one session. But as I (re)read rfc3501 a \recent flag is not
>> assigned to a session until a FETCH FLAGS response was returned.
> 
> I don't understand how you can read it that way:
> 
>            Message is "recently" arrived in this mailbox.  This session
>            is the first session to have been notified about this
>            message; if the session is read-write, subsequent sessions
>            will not see \Recent set for this message. 

My bad. I (mis)understood above quote to apply to explicit flag
responses, i.e. the FETCH response.

After studying dovecot's behaviour, I conclude that *any* response for a
read-write opened mailbox must 'flush' the \recent flag on all messages
involved in the response.

I can live with that. At least it's consistent :-)

thanks again.



-- 
________________________________________________________________
Paul J Stevens        pjstevns @ gmail, twitter, skype, linkedin

  * Premium Hosting Services and Web Application Consultancy *

           www.nfg.nl/info@nfg.nl/+31.85.877.99.97
________________________________________________________________

