I found it: The authmysql was not into the courier-imap despite all the fies where there, that why it was not called at all. It seems that courier imap is not complainint when an unknown module namme is put into authdaemonrc ???
I re-did the two rpm, cleaned everything and re-installed the rpm. Working now !!! Thanks for the help Guy -----Original Message----- From: Daniel E. White [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 02, 2002 10:17 AM To: Guy Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [courier-users] Courier-imap with mysql, not even trying to connect to mysql Did you fire up your mysql with logging turned on ? It could help. At 9:57 AM +0200 6/2/02, Guy wrote: >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 -- ------------------------------------------------------------------------ Dan White ------------------------------------------------------------------------ "Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us." Calvin (Bill Watterson) _______________________________________________________________ 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
