Re: courier-imap authenticate mysqk user

2005-06-24 Thread Brian Candler
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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


courier-imap authenticate mysqk user

2005-06-24 Thread Muhammad Kashif Yaqoob

Dear Sir,

 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]

 

 

Define the configuration setting in detail for courier imap given below

authdaemonrc

=

authmodulelist="authmysql"

daemons=5

version=""




authmysqlr

==

MYSQL_SERVER127.0.0.1
MYSQL_USERNAME  vmailuser
MYSQL_PASSWORD  vmailuser

MYSQL_PORT 3306

MYSQL_OPT  0

MYSQL_DATABASEprovider

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



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"