Citando Claudio Jeker <jeker@n-r-g.com>:
> On Tue, Mar 06, 2007 at 11:00:31AM -0300, Andre Gerhard wrote:
> > Hello,
> >
> > More about this issue:
> >
> > I have observed that if the logins are done through the proxy, the quotes
> > are omitted in the first login attempt, even if I had typed them.
> >
> > So, if I do:
> >
> > $ telnet localhost 143
> > ...
> > 01 login myuser "t8(w3!h"
> > 01 NO Error in IMAP command received by server.
> > 01 login myuser "t8(w3!h"
> > 01 OK LOGIN Ok.
> >
> >
> > In the myuser server (capturing the network session) I see
> >
> > ...
> > IMAP Request: 01 login myuser t8(w3!h
> > IMAP Response: 01 NO Error in IMAP command received by server.
> > IMAP Request: 01 login myuser "t8(w3!h"
> > IMAP Response: 01 OK LOGIN Ok.
> >
> >
> > The quotes vanishes in the first attempt, they are not included
> > in the communication.
> >
>
> I'll have a look at this. AFAIK auth_imap gets a unquoted password from
> courier-imap. And passes that on unmodified.
The problem is that the password was quoted, but in the net capture
it appears unquoted in the first try. If I redo the same command, the
password is quoted in the net connection; then it works.
We have observed that some clients (for example, IMP Webmail) do this
retries anyway, so it eventually works. But I think it really should
work in the first time, as when I connect direct to the imap server.
The IMAP RFC is a bit confuse, but as I interpreted it the password
should be quoted.
Andre
|