[VM] IMAP protocol errors with large folders

2014-09-19 Thread Matthew Vernon
Hi,

If I visit a folder that has a lot of messages that aren't in my local
IMAP cache (e.g. because I've not looked at it in VM for a while), then
from time to time the update will stop, and the following error appear
in *Messages*:

Retrieving message 1700 (of 2873) from hermes:inbox, 100%... [2 times]
Retrieval from hermes:inbox signaled: (vm-imap-protocol-error expected (BODY[] 
string) in FETCH response)
Retrieving message 1700 (of 2873) from hermes:inbox, 100%...

if I then hit g again, then VM continues downloading.

This is an intermittent problem - sometimes it'll only manage 100 or so
messages before failing thus, other times over 1000.

Is this a known issue? I'm pretty sure my IMAP server is
competent. vm-version is 8.2.0b

Thanks,

Matthew

-- 
 `O'-0 `O'---.   `O'---.   `O'---.
   \___| |   \___|0-/  \___|/\___|
|  | /\   |  |  \   |  |\ |  |
The Dangers of modern veterinary life




Re: [VM] IMAP protocol errors with large folders

2014-09-19 Thread Uday Reddy
Matthew Vernon writes:

 If I visit a folder that has a lot of messages that aren't in my local
 IMAP cache (e.g. because I've not looked at it in VM for a while), then
 from time to time the update will stop, and the following error appear
 in *Messages*:
 
 Retrieving message 1700 (of 2873) from hermes:inbox, 100%... [2 times]
 Retrieval from hermes:inbox signaled: (vm-imap-protocol-error expected 
 (BODY[] string) in FETCH response)
 Retrieving message 1700 (of 2873) from hermes:inbox, 100%...

vm-imap-protocol-error always means that the server didn't deliver what it
was supposed to as per the IMAP protocol.  It is harmless because VM expects
such things and protects itself.

If you want to track down what may be happening, please see the bit under
Troubleshooting mail servers under POP and iMAP Folders in the VM
manual.

Cheers,
Uday



Re: [VM] IMAP protocol errors with large folders

2014-09-19 Thread Robert Marshall
On Fri, Sep 19 2014, Matthew Vernon  wrote:

 Hi,

 If I visit a folder that has a lot of messages that aren't in my local
 IMAP cache (e.g. because I've not looked at it in VM for a while), then
 from time to time the update will stop, and the following error appear
 in *Messages*:

 Retrieving message 1700 (of 2873) from hermes:inbox, 100%... [2 times]
 Retrieval from hermes:inbox signaled: (vm-imap-protocol-error expected 
 (BODY[] string) in FETCH response)
 Retrieving message 1700 (of 2873) from hermes:inbox, 100%...

 if I then hit g again, then VM continues downloading.

 This is an intermittent problem - sometimes it'll only manage 100 or so
 messages before failing thus, other times over 1000.

 Is this a known issue? I'm pretty sure my IMAP server is
 competent. vm-version is 8.2.0b


This looks to be the same bug that I reported back in August - I can't see
it in the bug list but it had the subject:

'vm-imap-protocol-error when retrieving lots of messages'

I tried setting vm-imap-messages-per-session but that apparently only
works for local folders

Robert (Hi Matthew!)
-- 
La grenouille songe..dans son château d'eau
Links and things http://rmstar.blogspot.com/




Re: [VM] Request for howto select email easily

2014-09-19 Thread John Stoffel
 Uday == Uday Reddy usr.vm.ro...@gmail.com writes:

Uday John Stoffel writes:
 
 Thanks for the pointers Uday, this is a good start.  Now how would I
 bind this all to a single key-stroke on my VM instance?  I assume I
 would need to defun a new function to step through and do all the
 steps you list below, since I really don't want to have to do this all
 by hand each time.  And I'd love to be easily able to add/delete email
 addresses from the list of email addresses to watch for.

Uday Better do it manually first.  

Tried to... didn't get so far.  I need to learn how to put a hook in
place to select all new messages, delete them, then go back and find
the ones I want to keep and un-delete them.  

Uday Then you might considering defining a defun or a keyboard-macro.
Uday My memory is that keyboard-macros can't deal with M N
Uday (next-command-uses-marks), but I can't be sure.

Hmmm... this will complicate things.  Can I save Virtual Folder
definitions?  Can I edit them over time?  Can I change multiple
selections into one virtual folder?  

It may be that using procmail to filter for me would be easier,
again because my elisp skills are non-existant.  I know what I want, I
just can't begin to even think how to write it.

John