Re: [courier-users] Courier-IMAP and MySQL problem

This is a discussion on Re: [courier-users] Courier-IMAP and MySQL problem within the Courier-Imap forums, part of the Mail Servers and Related category; I believe you have to somehow tell Courier where authlibmysql is installed. Usually, you do this from the command line: ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-27-2005
Lyndon Tiu
 
Posts: n/a
Default Re: [courier-users] Courier-IMAP and MySQL problem


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 ashburrn@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.
>
> --
> Jonathan Chong
>
> http://www.arsenal-now.com/
> http://www.arsenal-mania.com/
> http://www.ashburrn.com/
> http://www.jonathan-chong.com/
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
> _______________________________________________
> courier-users mailing list
> courier-users@lists.sourceforge.net
> Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users



--
Lyndon Tiu


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:01 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0