[
https://issues.apache.org/jira/browse/JAMES-4088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benoit Tellier closed JAMES-4088.
---------------------------------
Resolution: Fixed
> Apple Mail: fix message range exceptions
> ----------------------------------------
>
> Key: JAMES-4088
> URL: https://issues.apache.org/jira/browse/JAMES-4088
> Project: James Server
> Issue Type: New Feature
> Components: IMAPServer
> Reporter: Benoit Tellier
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Spotted for Apple mail while pairing with Quan:
> {code:java}
> a4 SELECT Sent
> * OK [MAILBOXID (ca77e230-fbb8-11ea-8a42-05b621cb7a62)] Ok
> * FLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded)
> * 527 EXISTS
> * 0 RECENT
> * OK [UIDVALIDITY 2286796161] UIDs valid
> * OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded
> \*)] Limited
> * OK [HIGHESTMODSEQ 1078] Highest
> * OK [UIDNEXT 513] Predicted next UID
> a4 OK [READ-WRITE] SELECT completed.
> a3 FETCH 288:527 (UID)
> a3 BAD FETCH failed. Invalid messageset.
> {code}
> It prevented Apple mail from refreshing the email list.
> Because apple mail relies on MSN for IMAP resynchronisations, an
> innapropriate mailbox counter will lead to an invalid range making the full
> operation fail.
> Getting up to date counters is critical for this mail user agent.
> With QUAN we found a workaround:
> - In Select use the UID MSN mapping to answer the exist count
> - And if discrepency is spotted with the mailbox counters asynchronously
> recompute them.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]