OfflineImapError: IMAP server ... does not have a message with UID '15541'

Tomas Nordin tomasn at posteo.net
Sun Jan 24 20:15:20 GMT 2016


Nicolas Sebrecht writes:

> It seems there's really a mail with UID 15541. Try fetching this one
> alone. OfflineIMAP is doing something like
>
>   tagx FETCH 15541 ('BODY.PEEK[]')

Here is another session. Wanted to include it because it seems like the
culprit message is from the server itself (From:). But when trying to
get the subject field it seems things fail. I mean, if "Retrieval using
the IMAP4 protocol failed for the following message: 15541" is really
the subject, things are going in circles.

a00 OK LOGIN completed.
a01 selec  t INBI OC X
* 1234 EXISTS
* 0 RECENT
* FLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)
* OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)] Permanent flags
* OK [UNSEEN 1045] Is the first unseen message
* OK [UIDVALIDITY 14] UIDVALIDITY value
* OK [UIDNEXT 16130] The next unique identifier value
a01 OK [READ-WRITE] SELECT completed.
a02 fetch 1045 (uid rfc822.size flags body.peek[header.fields (date to cc from subject x-priority content-type)])
a02 OK FETCH completed.
a03 fetch 1045 ( (body)
* 1045 FETCH (BODY ("text" "plain" ("charset" "iso-8859-1") NIL NIL "quoted-printable" 1 1) FLAGS ())
a03 OK FETCH completed.
a04 fetch 1045 (body.peek[header.fields (from subject)])
* 1045 FETCH (BODY[HEADER.FIELDS (from subject)] {127}
From: Microsoft Exchange Server 2010
Subject: Retrieval using the IMAP4 protocol failed for the following message:
 15541

)
a04 OK FETCH completed.




More information about the OfflineIMAP-project mailing list