[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: Last Call: 'IMAP4 extension for reporting expunged messages' to Proposed Standard (draft-melnikov-imap-expunged)




Peter Coates wrote:

Holding expunged data indefinitely is a problem for me.  Would it not be
possible to define a NO response if the CHANGEDSINCE date with a REPORTEXPUNGES
was too far in the past.

Eg:

C: s100 UID FETCH 1:* (FLAGS) (CHANGEDSINCE 12345 REPORTEXPUNGES) S: s100 NO [OLDESTEXPIREMODSEQ 54321] Too long ago

Or if you prefer:

C: s100 UID FETCH 1:* (FLAGS) (CHANGEDSINCE 12345 REPORTEXPUNGES) S: * 1 FETCH (UID 4 MODSEQ (65402) FLAGS (\Seen))
S: * 2 FETCH (UID 6 MODSEQ (75403) FLAGS (\Deleted))
S: * 4 FETCH (UID 8 MODSEQ (29738) FLAGS ($NoJunk $AutoJunk $MDNSent))
S: s100 OK [OLDESTEXPIREMODSEQ  54321] Too long ago

Having thought more about this, I think this addition (the latter example) would be desirable (once I update the draft as I described in my previous message on this topic). An alternative would be to fallback to always returning all UIDs expunged (i.e. without paying attention to modseq), which might not be desirable.