VM

M-x vm-imap-list-folders fails with IMAP error: "server said NO" on Google Mail

Asked by Florian Schmaus

M-x vm-imap-list-folders fails with IMAP error: "server said NO" when issued on a Google Mail IMAP account. It seems that VM doesn't handle the situation when an IMAP folder that contains subfolder does "not exist". From the related IMAP trace:

VM STATUS "[Gmail]/Drafts" (MESSAGES RECENT)
* STATUS "[Gmail]/Drafts" (MESSAGES 2 RECENT 0)
VM OK Success
VM STATUS "[Gmail]/All Mail" (MESSAGES RECENT)
* STATUS "[Gmail]/All Mail" (MESSAGES 11893 RECENT 0)
VM OK Success
VM STATUS "[Gmail]" (MESSAGES RECENT)
VM NO [NONEXISTENT] Invalid folder: [Gmail] (Failure)
VM LOGOUT
* BYE LOGOUT Requested

Notice that the '[Gmail]' folder is not accessible via IMAP e.g. Thunderbird shows the folder in gray. I am using VM 8.2.0b

Any ideas how to fix this?

Question information

Language:
English Edit question
Status:
Answered
For:
VM Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Uday Reddy (reddyuday) said :
#2

This should become a bug report.

Revision history for this message
Uday Reddy (reddyuday) said :
#3

It looks like this bug is fixed in the current trunk. If you are able to download and build from the trunk (see Code section), please try it.

Revision history for this message
Florian Schmaus (flowdalic) said :
#4

That's great, I am definitely willing to try it!

Is there any documentation on best practice regarding on how to run VM from the trunk? Should I uninstalled the VM package first? Or is there an easy configurable way to switch between the elpa and the trunk version?

Revision history for this message
Florian Schmaus (flowdalic) said :
#5

Ahh sorry, I just found out that I am running a VM site installation (i.e. VM is installed in /usr/share/emacs/site-lisp/vm/). Any suggestions on how to switch to the user local trunk version?

Revision history for this message
Uday Reddy (reddyuday) said :
#6

You can build the trunk in a separate directory. The README file has build
instructions. Just download a tarball and you can take it from there. Some
people say they can't run autoconf. If you can, everything is
straightforward.

Can you help with this problem?

Provide an answer of your own, or ask Florian Schmaus for more information if necessary.

To post a message you must log in.