Identified with Cloud Code a detailed error problem with my email provider United Domains.
Dear eM Client Support Team,
I am writing to report a synchronization problem with eM Client. On each start, the desktop client empties the local INBOX and downloads all messages again from the server. I examined the IMAP log and found the response that starts this process. A log excerpt is attached.
1. Desktop client: full INBOX re-download on every start
When eM Client selects the INBOX, it uses QRESYNC with the cached state:
A8 SELECT "INBOX" (ANNOTATE QRESYNC (1777227598 46076 4:33224))
The server (imap.udag.de, United Domains) replies with * 22746 EXISTS and with:
* VANISHED (EARLIER) 4:29998,30000:33207,33209:33212
In the same response, the server sends * 20046 FETCH (... UID 29999 ...). Thus, 20,045 messages with UIDs below 29999 still exist. The VANISHED range reports these existing messages as expunged. eM Client accepts this response, removes the messages from the local cache, and then downloads them again. In the first seven minutes, it added 1,656 messages. The INBOX shows an empty list at the start and fills up again slowly. The local database also becomes smaller (mail_data.dat went from 3.9 GB to 3.1 GB).
I understand that the incorrect VANISHED response comes from the server, and I reported it to United Domains as well. But the client could protect the local cache against this case:
- Could eM Client do a plausibility check before it removes cached messages? Here, the VANISHED set contradicts the EXISTS count and the FETCH sequence numbers in the same response.
- Is there a setting to turn off QRESYNC for one account, so that the client uses a normal UID-based sync for this server?
- Is this server behavior already known to you for United Domains or for other Cyrus-based servers? (The server shows capabilities such as
RIGHTS=kxtenandMAILBOX-REFERRALS.)
2. iOS app: slow mail loading
The eM Client app on iPhone also loads emails slowly. Under the same conditions (same device, same network, same account), the built-in iOS Mail app is considerably faster. I suspect that the iOS app has the same QRESYNC problem with this server, but I did not examine an iOS log.
3. Minor point: annotations are rejected
The server rejects the eM Client annotations, for example:
A12 UID STORE 33218 ANNOTATION (/vendor/emclient/snooze/snoozed ...) → A12 NO Permission denied
Snooze and reply reminders thus cannot be stored on the server. Please tell me whether this has an effect on the sync.
My setup
- eM Client for Windows: version 11.0.1577.0, Windows 11 (NT 10.0.26200)
- eM Client for iOS: on iPhone [16 pro], iOS [27.2.1]
- Account: IMAP, imap.udag.de port 143 with STARTTLS (TLS 1.3), provider United Domains
- INBOX: 22,746 messages
I can supply the complete IMAP and Operations logs, or a debug log from the iOS app, if you tell me how to create it.
Kind regards,
eM Client 11.0.1577.0 (Windows 11, NT 10.0.26200), account [email protected](IMAP)
Excerpt from “2026-11-24_10-56-56 [email protected]”. Credentials are masked by eM Client and not part of this excerpt.
10:56:56.122|02C| 01: Connecting to imap.udag.de:143…
10:56:56.408|02C| 01: TLS stream established with Protocol: Tls13, NegotiatedCipherSuite: TLS_AES_256_GCM_SHA384, CipherAlgorithm: Aes256, HashAlgorithm: Sha384
10:56:57.302|02C| 01: A7 ENABLE QRESYNC CONDSTORE
10:56:57.330|02C| 01: * ENABLED CONDSTORE QRESYNC
10:56:57.339|02C| 01: A8 SELECT “INBOX” (ANNOTATE QRESYNC (1777227598 46076 4:33224))
10:56:57.390|02C| 01: * 22746 EXISTS
10:56:57.390|02C| 01: * 0 RECENT
10:56:57.391|02C| 01: * OK [UNSEEN 8] Ok
10:56:57.391|02C| 01: * OK [UIDVALIDITY 1777227598] Ok
10:56:57.391|02C| 01: * OK [UIDNEXT 33225] Ok
10:56:57.391|02C| 01: * OK [HIGHESTMODSEQ 46095] Ok
10:56:57.391|02C| 01: * OK [URLMECH INTERNAL] Ok
10:56:57.391|02C| 01: * OK [ANNOTATIONS 65536] Ok
10:56:57.391|02C| 01: * VANISHED (EARLIER) 4:29998,30000:33207,33209:33212
10:56:57.391|02C| 01: * 20046 FETCH (FLAGS (\Seen) UID 29999 MODSEQ (46090))
10:56:57.391|02C| 01: * 22731 FETCH (FLAGS (\Seen) UID 33208 MODSEQ (46085))
10:56:57.391|02C| 01: * 22735 FETCH (FLAGS () UID 33213 MODSEQ (46078))
10:56:57.391|02C| 01: * 22736 FETCH (FLAGS (\Seen) UID 33214 MODSEQ (46081))
10:56:57.391|02C| 01: * 22737 FETCH (FLAGS () UID 33215 MODSEQ (46080))
10:56:57.391|02C| 01: * 22738 FETCH (FLAGS (\Seen $Forwarded) UID 33216 MODSEQ (46084))
10:56:57.391|02C| 01: * 22739 FETCH (FLAGS () UID 33217 MODSEQ (46086))
10:56:57.391|02C| 01: * 22740 FETCH (FLAGS (\Seen) UID 33218 MODSEQ (46095))
10:56:57.391|02C| 01: * 22741 FETCH (FLAGS () UID 33219 MODSEQ (46088))
10:56:57.391|02C| 01: * 22742 FETCH (FLAGS () UID 33220 MODSEQ (46089))
10:56:57.391|02C| 01: * 22743 FETCH (FLAGS () UID 33221 MODSEQ (46091))
10:56:57.391|02C| 01: * 22744 FETCH (FLAGS () UID 33222 MODSEQ (46092))
10:56:57.391|02C| 01: * 22745 FETCH (FLAGS () UID 33223 MODSEQ (46093))
10:56:57.391|02C| 01: * 22746 FETCH (FLAGS () UID 33224 MODSEQ (46094))
10:56:57.391|02C| 01: A8 OK [READ-WRITE] Completed
…
10:56:57.707|02C| 01: A12 UID STORE 33218 ANNOTATION (/vendor/emclient/snooze/snoozed (value.shared “false”) /vendor/emclient/snooze/until (value.shared NIL) /vendor/emclient/reply/notifyWhenNotReplied (value.shared “false”) /vendor/emclient/reply/notifyWhenNotRepliedUntil (value.shared NIL) /vendor/emclient/reply/notifyWhenReplied (value.shared “false”))
10:56:57.737|02C| 01: A12 NO Permission denied