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