MBOX-Line: From barryleiba at computer.org  Tue Mar  5 07:21:57 2013
To: imap-protocol@u.washington.edu
From: Barry Leiba <barryleiba@computer.org>
Date: Fri Jun  8 12:34:50 2018
Subject: [Imap-protocol] Error in RFC 4551 (CONDSTORE)??
In-Reply-To: <5135E984.9020807@isode.com>
References: <201303041916.r24JG5Nn016193@mxout11.cac.washington.edu>
	<20130304142714.Horde.s_tq5R6sICEto7h6FHx-9A1@bigworm.curecanti.org>
	<5135E984.9020807@isode.com>
Message-ID: <CAC4RtVDUZ9bf=5Vs407Ji3rDvEp0f1j+fsVspetZYHuv3kdd9Q@mail.gmail.com>

>> Quoting Pete Maclean <imap@maclean.com>:
>>
>>> It seems to me that there is an error in Example 5 of section 3.2.  It
>>> reads:
>>>
>>>       C: c101 STORE 1 (UNCHANGEDSINCE 12121230045) -FLAGS.SILENT
>>> (\Deleted)
>>>       S: * OK [HIGHESTMODSEQ 12111230047]
>>>       S: * 50 FETCH (MODSEQ (12111230048))
>>>       S: c101 OK Store (conditional) completed
>>>
>>> Surely the message index in the first line (1) should match that in the
>>> third line (50).
>>
>> I think you are correct.  The '* 50' response has to relate-back to the
>> original request since the conditional store was successful (no MODIFIED
>> response-code was returned) and successful conditional stores MUST return
>> the FETCH (MODSEQ) data for every message that was changed.
>
> You are right, it should be either "STORE 50 ..." or "* 1 FETCH ...".

I suggest "STORE 50", just to avoid making anyone think that "1" is special.

Pete, will you submit an errata report, please?:
http://www.rfc-editor.org/errata.php

Barry, Applications AD

