Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jun 2005 06:12:11 -0700 (PDT)
From:      Muhammad Kashif Yaqoob <mkyaqoob2005@yahoo.com>
To:        courier-imap@lists.sourceforge.net
Cc:        freebsd-questions@freebsd.org, B.Candler@pobox.com
Subject:   mysql user did not authenticate by courier-imap
Message-ID:  <20050629131211.34351.qmail@web32013.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help
 Dear Sir,

 I am working on postfix Mailserver at freebsd.and install the courier Imap (courier-imap-4.0.2,1) and courier-authlib-0.55 in the system.and also Configuration the setting of courier-imap with mysql.When i authenticate the mysql pop user  with courier-imap.

And run the following for authenticating mysql user 

#/usr/local/sbin/authdaemond start
#/usr/lib/courier-imap/libexec/pop3d.rc start
#postfix start


#telnet localhost 110

>connected to localhost

>+ok Hello there.

and now check pop mysql user

>USER atif@kashif.net

>PASS atif

Following error message occour

Part of my maillog:

Jun 29 22:52:52 post-4 pop3d: LOGIN FAILED, user=atif@kashif.net, ip=[127.0.0.1]
Jun 29 22:52:52 post-4 pop3d: authentication error: Input/output error

 

Define the configuration setting in detail for courier imap given below

authdaemonrc

=========

authmodulelist="authmysql"

daemons=5

version=""


--------------------------------------------------------

authmysqlr

==========

MYSQL_SERVER        127.0.0.1
MYSQL_USERNAME  vmailuser
MYSQL_PASSWORD  vmailuser

MYSQL_PORT 3306

MYSQL_OPT  0

MYSQL_DATABASE        provider

MYSQL_USER_TABLE users

MYSQL_CRYPT_PWFIELD crypt

MYSQL_CLEAR_PWFIELD password

MYSQL_UID_FIELD  uid

MYSQL_GID_FIELD  gid

MYSQL_LOGIN_FIELD          email

MYSQL_HOME_FIELD homedir

MYSQL_NAME_FIELD name

MYSQL_MAILDIR_FIELD maildir


+..........................................

-------------------------------------------------------------------------------

How can i authenticate the mysql user by using courier-imap.? 
Hope somebody here can help?
 

Best Regards,

Muhammad kashif



 

 

 


		
---------------------------------
Yahoo! Mail Mobile
 Take Yahoo! Mail with you! Check email on your mobile phone.



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