VM

Invalid IMAP sessions being used?

Bug #730494 reported by Uday Reddy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
Invalid
Low
Uday Reddy

Bug Description

The following trace shows an IMAP session created for "save" being used for fetching. Is the validity of IMAP session ensured?

VM OK Fetch completed.
VM UID COPY 39939 "vm"
VM OK Copy completed.
VM NOOP
VM OK NOOP completed.
VM UID FETCH 39935:39935 (RFC822.SIZE)
* 4160 FETCH (RFC822.SIZE 134089 UID 39935)
VM OK Fetch completed.
VM UID FETCH 39935:39935 (BODY.PEEK[])
* 4160 FETCH (UID 39935 BODY[] {134089}
)
VM OK Fetch completed.
VM NOOP
VM OK NOOP completed.
VM UID COPY 39935 "vm"
VM OK Copy completed.

There session created for 'save' is also retrieving the entire message map, which is wasteful.

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

This is ok because FETCH and COPY both use UID commands.

Changed in vm:
status: Triaged → Invalid
importance: High → Undecided
status: Invalid → Triaged
importance: Undecided → Low
Revision history for this message
Uday Reddy (reddyuday) wrote :

The message map is being retrieved to get the message flags, which need to be updated before copying messages.

So, this is needed even though it is not the most efficient way of doing it.

Changed in vm:
status: Triaged → Invalid
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.