viewmail-info
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [VM] IMAP-SSL with Exchange Server


From: Lewis Perin
Subject: Re: [VM] IMAP-SSL with Exchange Server
Date: Fri, 15 Jun 2012 14:12:56 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix)

"John Hein" <address@hidden> writes:

>Lewis Perin wrote at 10:50 -0400 on Jun 15, 2012:
> > John Hein writes:
> > >Uday Reddy wrote at 00:01 +0100 on Jun 15, 2012:
> > > > Lewis Perin writes:
> > > >
> > > > > By the way, the trace of my IMAP session does say this before I run
> > > > > into trouble:
> > > > >
> > > > > * OK The Microsoft Exchange IMAP4 service is ready.
> > > >
> > > > If it gets this far, then stunnel is unlikely to be the problem.
> > > >
> > > > So, where does it get into trouble?
> > >
> > >You can also skip vm & stunnel completely and use command
> > >line:
> > >
> > >openssl s_client -connect your.imapserver.com:993
> > >.. login address@hidden <yourpassword>
> > >.. list "" "*"
> > 
> > Well, that was interesting!  The openssl command got me the “* OK The
> > Microsoft Exchange IMAP4 service is ready.” response I expected, but the
> > login request wasn’t even seen as a complete request until I appended
> > the -crlf option to the openssl command as suggested here:
> > 
> >   
> > http://stackoverflow.com/questions/8682976/imap-connection-carriage-return-line-feed-issue-from-linux
> > 
> > And then the response to the login request was “login BAD Command
> > Error. 12”.  Not sure what that means.  As I said earlier in the thread,
> > my credentials get accepted by Exchange Server when submitted from my
> > iPhone.
> > 
> > I wonder, though, if the -crlf openssl option could be a clue to why vm
> > and Exchange aren’t happy with each other.  Is vm sending linefeeds only?
>
>
>Re: "login BAD Command"...
>
>You need _some_ sequence before the word "login".
>Like ". login you yourpw" or "xxxxx login you yourpw".
>
>When I use "login me mypw" on my imap server, I get "login BAD Error
>...." in response.  When I use "xxxx login me" (with no password), I
>get "xxx BAD Error".  So based on your quoted error message, I'm
>guessing you negelected to add the leading "sentinel" string.

Yes, that’s exactly right; thanks!

But addressing that issue just yields a different error, sadly:

.. login address@hidden mypassword
.. NO LOGIN failed.

But - I’ve been googling a lot lately - I tried this instead:

.. login my-windows-domain\me mypassword

and it worked fine.  This is strange - as I said earlier, my iPhone gets
through to the Exchange server, and it has no idea of what Windows
domain claims me.  But using the Windows domain doesn’t help me from vm;
I still get that “unexpected char (10)” error.  And the trace buffer for
a session using the Windows domain shows no advance over what I got
using a normal email address.

/Lew
---
Lew Perin / address@hidden
http://babelcarp.org


reply via email to

[Prev in Thread] Current Thread [Next in Thread]