Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jun 2005 15:16:58 +0100
From:      Brian Candler <B.Candler@pobox.com>
To:        Muhammad Kashif Yaqoob <mkyaqoob2005@yahoo.com>
Cc:        freebsd-questions@freebsd.org, courier-imap@lists.sourceforge.net
Subject:   Re: courier-imap authenticate mysqk user
Message-ID:  <200506241516.59227.B.Candler@pobox.com>
In-Reply-To: <20050624134244.42476.qmail@web32013.mail.mud.yahoo.com>
References:  <20050624134244.42476.qmail@web32013.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 24 June 2005 14:42, Muhammad Kashif Yaqoob wrote:
>  I am working on postfix Mailserver at freebsd.and install the courier Imap
> and courier-authlib-mysql .and also Configuration the setting of
> courier-imap with mysql.When i authenticate the mysql pop user  with
> courier-imap.Following error message occour.
>
> Part of my maillog:
>
> Jun 24 22:44:44 post-4 authdaemond.mysql: modules="authmysql", daemons=5
> Jun 24 22:48:20 post-4 authdaemond.mysql: modules="authmysql", daemons=5
> Jun 24 22:48:43 post-4 pop3d: LOGIN FAILED, ip=[::1]
> Jun 24 22:58:21 post-4 pop3d: LOGIN FAILED, ip=[::1]

You don't say what version of courier-imap you are using, but from those log 
messages I think it is 3.x or older. You should install 4.x with 
courier-authlib; it gives much better debugging.

Full details of how to debug authentication problems with courier-authilb are 
in http://www.courier-mta.org/authlib/README.authdebug.html

Turning on debugging will show you exactly what SQL queries are being sent to 
the database, for example.

Brian.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506241516.59227.B.Candler>