23 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Courier-IMAP and ...
FromSent OnAttachments
Jonathan ChongDec 27, 2005 8:38 am 
Lyndon TiuDec 27, 2005 8:48 am 
Jonathan ChongDec 27, 2005 8:53 am 
Lyndon TiuDec 27, 2005 8:55 am 
Jonathan ChongDec 27, 2005 8:58 am 
Lyndon TiuDec 27, 2005 9:08 am 
Jonathan ChongDec 27, 2005 9:11 am 
Lyndon TiuDec 27, 2005 9:23 am 
Lyndon TiuDec 27, 2005 9:27 am 
Jonathan ChongDec 27, 2005 9:30 am 
Lyndon TiuDec 27, 2005 9:42 am 
Jonathan ChongDec 27, 2005 9:46 am 
Lyndon TiuDec 27, 2005 9:50 am 
Gordon MessmerDec 27, 2005 9:54 am 
Jonathan ChongDec 27, 2005 10:17 am 
Gordon MessmerDec 27, 2005 10:47 am 
Jonathan ChongDec 27, 2005 11:07 am 
Lyndon TiuDec 27, 2005 11:24 am 
Lyndon TiuDec 27, 2005 11:53 am 
Jonathan ChongDec 27, 2005 12:00 pm 
Lyndon TiuDec 27, 2005 12:14 pm 
Sam VarshavchikDec 27, 2005 3:27 pm 
Lyndon TiuDec 27, 2005 4:51 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Courier-IMAP and MySQL problemActions...
From:Jonathan Chong (ashb@gmail.com)
Date:Dec 27, 2005 8:53:40 am
List:net.sourceforge.lists.courier-users

Hi

Thanks for your reply.

Sorry if this next question is a bit stupid, but my Linux knowledge is very limited!

How do I find out where the rpm for authlibmysql was installed?

On 27/12/05, Lyndon Tiu <lt@alumni.sfu.ca> wrote:

I believe you have to somehow tell Courier where authlibmysql is installed.

Usually, you do this from the command line:

export LD_LIBRARY_PATH=<location of authlibmysql>:$LD_LIBRARY_PATH

Then restart courier.

Try that hopefully it works for you.

On Tue, 27 Dec 2005 16:32:37 0000 ashb@gmail.com wrote:

Hi

I installed Courier-IMAP using RPMs, and together with authlib and authmysql.

I can login fine using authpam, everything works fine with that. The problem is when I try to use authmysql.

Here's my line in the authdaemonrc file:

authmodulelist="authmysql authpam"

My db schema is the same as in the "/etc/authlib/authmysqlrc" file, and the password was generated using mysql's encrypt function. To double check, I also tried using Perl's crypt function to generate the password but this didn't work either.

Here's the output from the log when I try to login with the authmysql user:

Dec 27 16:25:53 vps authdaemond: stopping authdaemond children Dec 27 16:25:53 vps authdaemond: modules="authmysql authpam", daemons=5 Dec 27 16:25:53 vps authdaemond: Installing libauthmysql Dec 27 16:25:53 vps authdaemond: file not found Dec 27 16:25:53 vps authdaemond: Installing libauthpam Dec 27 16:25:53 vps authdaemond: Installation complete: authpam

As you can see, it's saying that it can't find libauthmysql, but it is installed. If I try to install the rpm again, it tells me that libauthmysql is already installed.

I'm using CentOS 3 on an AMD64 machine.

Thanks.