VM

Spurious IMAP error for non-existent messages

Bug #916766 reported by Uday Reddy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
Triaged
Low
Uday Reddy
8.2.x
Triaged
Undecided
Unassigned

Bug Description

Visiting an old IMAP folder, which apparently has messages that have been deleted on the server, resulted in an error

Retrieval from udrimap:test signaled: (vm-imap-protocol-error expected UID, RFC822.SIZE in FETCH response)

Looking through the IMAP session, we find

VM SELECT "test"
* 0 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1261233160] UIDs valid
* OK [UIDNEXT 52] Predicted next UID
VM OK [READ-WRITE] Select completed.
VM UID FETCH 25:25 (RFC822.SIZE)
VM OK Fetch completed.
VM NOOP
VM OK NOOP completed.
VM UID FETCH 25:25 (RFC822.SIZE)
VM OK Fetch completed.

Since the message with UID 25 doesn't exist on the server, there should not have been an error message for it.

Tags: 8.2 imap external

Related branches

Revision history for this message
Uday Reddy (reddyuday) wrote :

Backtrace:

Debugger entered--Lisp error: (vm-imap-protocol-error "expected UID, RFC822.SIZE in FETCH response")
  signal(vm-imap-protocol-error ("expected UID, RFC822.SIZE in FETCH response"))
  vm-imap-protocol-error("expected UID, RFC822.SIZE in FETCH response")
  vm-imap-get-uid-message-size(#<process IMAP> "25")
  vm-fetch-imap-message(...)
  vm-retrieve-real-message-body(... :fetch t :register t)
  vm-present-current-message()
  vm("imap:localhost:143:test:login:udrimap:*" :read-only nil :access-method imap)
  imap("imap:localhost:143:test:login:udrimap:*" nil)
  call-interactively(imap t nil)
  execute-extended-command(nil)
  call-interactively(execute-extended-command nil nil)

Uday Reddy (reddyuday)
Changed in vm:
milestone: 8.2.1 → 8.2.90a
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.