VM

IMAP server reliability in storing labels (flags)

Bug #963380 reported by Uday Reddy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
Triaged
Wishlist
Uday Reddy

Bug Description

A message label was added to a message in an IMAP folder. When VM synchronized with the server, the following dialogue was seen:

VM STORE 1882 +FLAGS.SILENT (\seen group16)
* FLAGS (\Answered ... group16)
* OK [PERMANENTFLAGS (\Answered ... group16 \*)] Flags permitted.
VM OK Store completed.

When vm-get-new-mail was done, it was found that the server didn't store it, and VM had to store it again:

* 1882 FETCH (UID 60219 RFC822.SIZE 171827 FLAGS (\Seen NonJunk))
* 1883 FETCH (UID 60220 RFC822.SIZE 10362 FLAGS (\Deleted \Seen filed))
VM OK Fetch completed.
VM STORE 1882 +FLAGS.SILENT (group16)
VM OK Store completed.

When another vm-get-new-mail was done, the label had been stored:

* 1882 FETCH (UID 60219 RFC822.SIZE 171827 FLAGS (\Seen NonJunk group16))

Can VM double check that the labels were stored correctly before proceeding (the same way that it does for expunge)?

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

The situation is more complicated than above. Consider this sequence of actions:

1. Add a label.
2. Copy the message to another IMAP folder. (The label is lost in the copy).
3. Get new mail. (Label is still lost and VM stores it again)
4. Get new mail again.

The label is still lost, and VM thinks that it was deleted on the server by another mail client instance, and deletes it from the local copy as well. So, now the label is lost everywhere!

Uday Reddy (reddyuday)
summary: - IMAP server reliability in storing labels
+ IMAP server reliability in storing labels (flags)
Revision history for this message
mere user (emacs-user) wrote :

hi Uday,

I wonder if this is relevant to the above wish-list item: when I send mail with vm not using gmail as my smtp server, but using IMAP-FCC to gmail, the sent mail is now stored in the gmail/sent mail folder. But it does not have the usual sent-mail label when I look at my gmail using a browser. should I expect such a label to be added? can I do something to add it?

Cheers, E

Revision history for this message
mere user (emacs-user) wrote :

sorry, please ignore the above, my confusion, as usual. cheers, E

Revision history for this message
Uday Reddy (reddyuday) wrote : [Bug 963380] Re: IMAP server reliability in storing labels (flags)

mere user writes:

> sorry, please ignore the above, my confusion, as usual. cheers, E

Does this mean it works? If so, how?

Cheers,
Uday

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.