On Wed, Jun 07, 2006 at 11:53:19PM +0200, Lobete Feroz wrote:
>    When I try to connect with IMAP:
> 
>    #telnet localhost imap
> 
>    1 LOGIN user user1
> 
>    1 NO Login pass1.

That is clearly made-up.

Please show the exact, full transcript of your telnet session, as captured
by "script" or a copy-paste.

This will include the connect banner from the IMAP server, and also the
actual error message - which is not what you showed. Why would the IMAP
server include the string "pass1" in the response, where you did not include
it in the command??

>    In mail.log:
> 
> 
> 
>    localhost imaplogin: Connection, ip=[::ffff:[1]127.0.0.1]
>    localhost imaplogin: LOGIN: DEBUG: ip=[::ffff:[2]127.0.0.1],
>    command=LOGIN
>    localhost imaplogin: LOGIN: DEBUG: ip=[::ffff: [3]127.0.0.1],
>    username=user1
>    localhost imaplogin: LOGIN: DEBUG: ip=[::ffff:[4]127.0.0.1],
>    password=pass1
>    localhost imaplogin: authdaemon: starting client module
>    localhost imaplogin: authdaemon: REJECT
>    localhost imaplogin: LOGIN FAILED, ip=[::ffff:[5]127.0.0.1]

OK, then you can follow the debugging instructions at
http://www.courier-mta.org/authlib/README.authdebug.html
to find out why this login is being rejected.

>    courierauthtest also works:
> 
> 
> 
>    # courierauthtest [8]user1
> 
>    Trying authdaemon...
>    Authenticated: module authdaemon
>    Home directory: /
>    UID/GID: 1001/8
>    Maildir: /var/spool/mail/user1/Maildir/
>    [EMAIL PROTECTED] 
> 
>    AUTHFULLNAME=user1
>    OPTIONS=<none>

Have you tried

   courierauthtest user1 pass1

?

Brian.


_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to