Qmail-LDAP
[Top] [All Lists]

Re: problem with auth_imap - special character in the password

To: qmail-ldap@qmail-ldap.org
Subject: Re: problem with auth_imap - special character in the password
From: agerhard@usp.br
Date: Wed, 07 Mar 2007 13:58:12 -0300
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
In-reply-to: <20070307160503.GA24259@diehard.n-r-g.com>
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
References: <20070227164226.313aaa1c.agerhard@usp.br> <20070306110031.1527dc3f.agerhard@usp.br> <20070307160503.GA24259@diehard.n-r-g.com>
User-agent: Internet Messaging Program (IMP) 3.2.3-cvs
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


<Prev in Thread] Current Thread [Next in Thread>