Discussion:
[VM] Help starting up with IMAP
Robert Goldman
2013-01-31 18:48:14 UTC
Permalink
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!
l***@hare.demon.co.uk
2013-01-31 22:15:14 UTC
Permalink
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.
Post by Robert Goldman
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),
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!
--
Les Smithson
Robert P. Goldman
2013-01-31 23:24:46 UTC
Permalink
Post by l***@hare.demon.co.uk
Is it a stunnel version problem. I had imap/ssl woes until I installed
(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
2013-02-01 08:05:22 UTC
Permalink
Post by Robert P. Goldman
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
2013-02-01 15:06:51 UTC
Permalink
Post by Uday S Reddy
Post by Robert P. Goldman
However, I still don't understand how to get myself to the IMAP folders to
start up, instead of ~/INBOX, vm-primary-inbox.
http://www.emacswiki.org/emacs/ViewMailQuickStart
and the VM manual explains things in more detail.
Cheers,
Uday
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

Loading...