Discussion:
[VM] imap protocol error after upgrading from 8.1.93 to 8.2.0a (stunnel issue?)
Kyle Farrell
2011-11-21 18:35:05 UTC
Permalink
I've decided to take the plunge and stop using vm-spool-files and read
imap mail from the server. This is working somewhat ok in 8.1.93, and
I know some imap updates have made it to the more recent releases, so
I wanted to try it in 8.2.0a.

However, with 8.2.0a I'm getting an imap protocol error ("missing CR
before LF - possible connection problem") from vm-imap-read-object.

I'm using imap-ssl via stunnel version 4.44 connected to Microsoft
Exchange. I'm under the impression from related threads that the
version of stunnel is important for imap-ssl with MS Exchange. What
version(s) of stunnel appear to be working for people using MS
Exchange?

-Kyle
Uday Reddy
2011-11-21 18:46:02 UTC
Permalink
Post by Kyle Farrell
I've decided to take the plunge and stop using vm-spool-files and read
imap mail from the server. This is working somewhat ok in 8.1.93, and
I know some imap updates have made it to the more recent releases, so
I wanted to try it in 8.2.0a.
However, with 8.2.0a I'm getting an imap protocol error ("missing CR
before LF - possible connection problem") from vm-imap-read-object.
That sounds like an stunnel problem, but it could be something else,
especially if it worked under VM 8.1.93a.

The thing to do would be set the variable vm-imap-keep-trace-buffer to t,
and, once the connection fails, look for a buffer with a name "trace of
IMAP...". That shows the dialogue that was carried out with the IMAP server.

If you have changed stunnel recently, then it would be worth going back to
the old version. You would need to change one parameter at a time to track
down the problem.

Cheers,
Uday
Kyle Farrell
2011-11-22 19:37:42 UTC
Permalink
Thanks Uday. Again, this turns out not to be vm: cygwin seems to be
spitting out warnings about DOS-style paths on shell startup. Setting
the env var CYGWIN to "nodosfilewarning" appears to resolve the
stunnel issue.
Post by Uday Reddy
Post by Kyle Farrell
I've decided to take the plunge and stop using vm-spool-files and read
imap mail from the server. This is working somewhat ok in 8.1.93, and
I know some imap updates have made it to the more recent releases, so
I wanted to try it in 8.2.0a.
However, with 8.2.0a I'm getting an imap protocol error ("missing CR
before LF - possible connection problem") from vm-imap-read-object.
That sounds like an stunnel problem, but it could be something else,
especially if it worked under VM 8.1.93a.
The thing to do would be set the variable vm-imap-keep-trace-buffer to t,
and, once the connection fails, look for a buffer with a name "trace of
IMAP...". That shows the dialogue that was carried out with the IMAP server.
If you have changed stunnel recently, then it would be worth going back to
the old version. You would need to change one parameter at a time to track
down the problem.
Cheers,
Uday
Loading...