Yes, it is local.

I did the changes: port only, localhost as server.

Same result, no trace of any connection to the mysql server.

Guy

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Moshe
Gurvich
Sent: Sunday, June 02, 2002 8:47 AM
To: [EMAIL PROTECTED]
Subject: Re: [courier-users] Courier-imap with mysql, not even trying to
connect to mysql


Is your MySQL db on same host with Courier?

In any case try to remove socket and leave only port.
And if it's on same host then change MYSQL_SERVER to localhost.

------ Original Message Starts Here ----- Guy
> I just installed a fresh new RH 7.3 environment and use courier-imap.
>
> I did the rpm stuff from the gz and got installed the courier-imap and

> courier-imap-mysql
>
> I kept two authentication modules : authpam and authmysql
>
>>>> Jun  2 08:23:55 kaa authdaemond.mysql: authdaemon: modules="authpam
> authmysql", daemons=5
>
> Pam athentication is working fine, however the mysql part is not !?
>
> This is what my authmysqlrc looks like:
>
> MYSQL_SERVER            mysql.domain.com
> MYSQL_USERNAME          user
> MYSQL_PASSWORD          pass
> MYSQL_SOCKET            /var/lib/mysql/mysql.sock
> MYSQL_PORT              3306
> MYSQL_OPT               0
> MYSQL_DATABASE          users
> MYSQL_USER_TABLE        accounts
> MYSQL_UID_FIELD         uid
> MYSQL_GID_FIELD         gid
> MYSQL_LOGIN_FIELD       login
> MYSQL_HOME_FIELD        home
> MYSQL_NAME_FIELD        name
>
> (a manual mysql -h mysql.domain.com -u user -ppass is working)
>
> I don't see any connection attempt to mysql, even when redirecting to 
> another mysql server and tcpdump. It just looks like it is not doing 
> anything with mysql.
>
> Guy,
>
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference 
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> _______________________________________________
> courier-users mailing list [EMAIL PROTECTED]
> Unsubscribe:
https://lists.sourceforge.net/lists/listinfo/courier-users




_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference August
25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to