courier-imap authenticate mysqk user
    Brian Candler 
    B.Candler at pobox.com
       
    Fri Jun 24 14:16:53 GMT 2005
    
    
  
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.
    
    
More information about the freebsd-questions
mailing list