#2179 new
moiraine

Error: Failed to fetch all new messages

Reported by moiraine | November 18th, 2018 @ 01:05 AM

For some mailbox, e.g. deleted messages, I have the following error showing up every now and then:
"MailMate encountered the following error: “Failed to fetch all new messages in “Deleted Messages”.”. Mailbox: “Deleted Messages”."

Log:
00:58:44 S: C0 OK Success login ok
00:58:44 C: C1 CAPABILITY
00:58:45 S: * CAPABILITY IMAP4 IMAP4rev1 XLIST MOVE IDLE XAPPLEPUSHSERVICE NAMESPACE CHILDREN ID UIDPLUS
00:58:45 S: C1 OK CAPABILITY Completed
00:58:45 C: C2 ID ("name" "MailMate" "version" "r5552" "vendor" "Freron Software" "contact" "mm-imap-id@freron.com")
00:58:45 S: * ID NIL
00:58:45 S: C2 OK ID completed
00:58:45 C: C3 SELECT "Deleted Messages"
00:58:45 S: * 1 EXISTS
00:58:45 S: * 0 RECENT
00:58:45 S: * OK [UIDVALIDITY 1320471323] UID validity status
00:58:45 S: * OK [UIDNEXT 163] Predicted next UID
00:58:45 S: * FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
00:58:45 S: * OK [PERMANENTFLAGS (* \Answered \Flagged \Deleted \Draft \Seen)] Permanent flags
00:58:45 S: C3 OK [READ-WRITE] SELECT complete
00:58:45 C: C4 NOOP
00:58:46 S: C4 OK NOOP Completed
00:58:46 Performing full synchronization.
00:58:46 C: C5 UID FETCH 1:* (INTERNALDATE)
00:58:46 S: C5 OK Mails not exist!
00:58:46 C: C6 FETCH 1:* (UID)
00:58:46 S: C6 OK Mails not exist!
00:58:46 C: C7 FETCH 1:* (INTERNALDATE)
00:58:47 S: C7 OK Mails not exist!
00:58:47 Error: Failed to fetch all new messages in “Deleted Messages”.

If I move a message to deleted messages from the mail provider's web interface and then empty the deleted messages mailbox, the warning goes away, but the log still shows a similar error:
01:31:22 Synchronizing mailbox (attempting to do it quickly): Deleted Messages
01:31:22 Selecting mailbox: Deleted Messages
01:31:22 C: D9 SELECT "Deleted Messages"
01:31:23 S: * 0 EXISTS
01:31:23 S: * 0 RECENT
01:31:23 S: * OK [UIDVALIDITY 1320471323] UID validity status
01:31:23 S: * OK [UIDNEXT 163] Predicted next UID
01:31:23 S: * FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
01:31:23 S: * OK [PERMANENTFLAGS (* \Answered \Flagged \Deleted \Draft \Seen)] Permanent flags
01:31:23 S: D9 OK [READ-WRITE] SELECT complete
01:31:23 C: D10 NOOP
01:31:23 S: D10 OK NOOP Completed
01:31:23 Performing full synchronization.
01:31:23 C: D11 UID FETCH 1:* (INTERNALDATE)
01:31:23 S: D11 OK Mails not exist!
01:31:23 Completed action (1003). Observed read/write timeouts: 8/8

Comments and changes to this ticket

  • benny

    benny November 18th, 2018 @ 11:02 AM

    • State changed from “new” to “closed”

    The MailMate behavior appears to be correct. In the first case, the server tells MailMate that mailbox has 1 message:

    S: * 1 EXISTS
    

    But when MailMate tries to get data about this message then nothing is returned. MailMate reports this to the user. In the second case, the server reports 0 messages:

    S: * 0 EXISTS
    

    Which is fine. In this case MailMate shouldn't really try to fetch data (I can change that), but it's not illegal and the server has a sensible response.

    The responses of the type,

    S: D11 OK Mails not exist!
    

    are not a problem. The server says OK and the rest is ignored (it is for human eyes only).

    You can contact the IMAP provider to let them know about the IMAP bug.

  • benny

    benny November 18th, 2018 @ 11:09 AM

    For the record, I've changed the behavior for empty IMAP mailboxes in the next update. (It does not solve your issue, but it would make the output in the empty mailbox case a bit simpler.)

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket

Pages