Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[VM] Help starting up with IMAP

11 views
Skip to first unread message

Robert Goldman

unread,
Jan 31, 2013, 1:48:14 PM1/31/13
to viewma...@nongnu.org
I'm having a bit of trouble getting myself started up with IMAP folders and VM.

Although I have set vm-imap-server-list to a list of my imap servers, when I
start VM, it opens ~/INBOX instead of my IMAP folders.

When I try to visit an IMAP folder (with vm-visit-imap-folder),
I get an error that looks like this:

Starting IMAP over SSL session Thu Jan 31 12:41:40 2013
-- connecting to mail.yyyyyyy.net:993
* OK Dovecot ready.
-- connected for folders
VM CAPABILITY
INTERNAL ERROR: Bad magic at network.c, line 293

Process IMAP over SSL abort trap: 6

Any idea what could be causing that?

I realize that this may be an stunnel issue, rather than VM, but figured it
might be me misconfiguring stunnel by misconfiguring VM.

Any suggestions?

thanks!



lsmi...@hare.demon.co.uk

unread,
Jan 31, 2013, 5:15:14 PM1/31/13
to Robert Goldman, viewma...@nongnu.org

Is it a stunnel version problem. I had imap/ssl woes until I installed
the correct version of stunnel and pointed vm at it:

(setq vm-stunnel-program "stunnel4")


I can't remember the symptoms. I do remember that it was quite easy
to debug stunnel on the command line. I can't remember how though.
--
Les Smithson

Robert P. Goldman

unread,
Jan 31, 2013, 6:24:46 PM1/31/13
to lsmi...@hare.demon.co.uk, viewma...@nongnu.org
<lsmithso@...> writes:

> Is it a stunnel version problem. I had imap/ssl woes until I installed
> the correct version of stunnel and pointed vm at it:
>
> (setq vm-stunnel-program "stunnel4")
>
> I can't remember the symptoms. I do remember that it was quite easy
> to debug stunnel on the command line. I can't remember how though.



Thanks. It was an stunnel problem. Turns out I have emacs 24 so that solving
the problem was as easy as setting vm-stunnel-program to NIL, so that the
internal emacs facility did the job.

However, I still don't understand how to get myself to the IMAP folders to
start up, instead of ~/INBOX, vm-primary-inbox.

Since I am reading imap messages out of folders on the server, there is no
file that corresponds to vm-primary-inbox. Is there some way to avoid it and
jump directly to the IMAP folder? Presumably so, but I don't know how to pass
an IMAP folder as an argument to the vm function....

Maybe I should avoid (vm) altogether and just use vm-visit-imap-folder
directly?

thanks!

r

Uday S Reddy

unread,
Feb 1, 2013, 3:05:22 AM2/1/13
to rpgo...@sift.net, viewma...@nongnu.org
Robert P. Goldman writes:

> However, I still don't understand how to get myself to the IMAP folders to
> start up, instead of ~/INBOX, vm-primary-inbox.

The View Mail Quick Start page tells you what to do:

http://www.emacswiki.org/emacs/ViewMailQuickStart

and the VM manual explains things in more detail.

Cheers,
Uday

Robert P. Goldman

unread,
Feb 1, 2013, 10:06:51 AM2/1/13
to Uday S Reddy, viewma...@nongnu.org
Thanks. I *did* try to RTFM. I read the node on "IMAP Folders," but it
contains no information about how to handle the vm-primary-inbox
(although presumably this is covered elsewhere). I see now that the VM
Quick Start does cover this.

Question: would you like me to propose a patch to the "IMAP Folders"
node to add the information about vm-primary-inbox?

Best,
r


0 new messages