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

2005-12-27 Thread Lyndon Tiu
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 [EMAIL

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

2005-12-27 Thread Jonathan Chong
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 [EMAIL PROTECTED] wrote: I believe you have to somehow tell Courier where authlibmysql is

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

2005-12-27 Thread Jonathan Chong
*embarassed* and here I was thinking that it would automatically pick up the installation from a registry or something, ala Windows. Here's the output: MySQL-server-standard-5.0.16-0.rhel4 MySQL-shared-standard-5.0.16-0.rhel3 courier-authlib-mysql-0.58-1 mysql-devel-3.23.58-16.RHEL3.1

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

2005-12-27 Thread Lyndon Tiu
rpm -ql courier-authlib-mysql will list to you where libauthmysql is installed. Send me the output of the command above and I can tell you more. On Tue, 27 Dec 2005 16:58:50 [EMAIL PROTECTED] wrote: *embarassed* and here I was thinking that it would automatically pick up the

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

2005-12-27 Thread Jonathan Chong
Hi Lyndon Weird. The output's: [root]# rpm -ql courier-authlib-mysql (contains no files) [root]# On 27/12/05, Lyndon Tiu [EMAIL PROTECTED] wrote: rpm -ql courier-authlib-mysql will list to you where libauthmysql is installed. Send me the output of the command above and I can tell you

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

2005-12-27 Thread Lyndon Tiu
Hmmm. That kinda explains why courier cannot find the authlibmysql! OK. Send me the output of the command: ls -la the courier-authlib-mysql* You have to run this command where you have the courier-auth-lib rpm file. On Tue, 27 Dec 2005 17:11:48 [EMAIL PROTECTED] wrote: Hi Lyndon

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

2005-12-27 Thread Lyndon Tiu
On Tue, 27 Dec 2005 09:23:15 -0800 [EMAIL PROTECTED] wrote: Hmmm. That kinda explains why courier cannot find the authlibmysql! OK. Send me the output of the command: ls -la the courier-authlib-mysql* You have to run this command where you have the courier-auth-lib rpm file. I meant:

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

2005-12-27 Thread Jonathan Chong
Hi Lyndon Here's the output: [root x86_64]# ls -la courier-authlib-mysql* -rw-r--r--1 root root 1583 Dec 14 22:16 courier-authlib-mysql-0.58-1.x86_64.rpm [root x86_64]# Are we going to uninstall the rpm and reinstall it? I already tried that earlier today as well. On 27/12/05,

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

2005-12-27 Thread Lyndon Tiu
Try these two commands: 1) See what's inside: rpm -qpl courier-authlib-mysql-0.58-1.x86_64.rpm 2) Force install: rpm -Uvh --force --nodeps courier-authlib-mysql-0.58-1.x86_64.rpm 3) Just curious: cat /proc/cpuinfo On Tue, 27 Dec 2005 17:30:01 [EMAIL PROTECTED] wrote: Hi Lyndon

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

2005-12-27 Thread Gordon Messmer
Jonathan Chong wrote: *embarassed* and here I was thinking that it would automatically pick up the installation from a registry or something, ala Windows. The configure script usually will find the libraries, as long as they are installed properly. MySQL-server-standard-5.0.16-0.rhel4

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

2005-12-27 Thread Jonathan Chong
Very weird: 1) # rpm -qpl courier-authlib-mysql-0.58-1.x86_64.rpm (contains no files) 2) Probably won't work in the event of 1) but has some output: Preparing...### [100%] 1:courier-authlib-mysql

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

2005-12-27 Thread Jonathan Chong
Hi Gordon Thanks for that. I've done as you advised and now have the following mysql versions installed: MySQL-client-standard-5.0.17-0.rhel4 MySQL-shared-standard-5.0.17-0.rhel4 courier-authlib-mysql-0.58-1 MySQL-devel-standard-5.0.17-0.rhel4 MySQL-standard-debuginfo-5.0.17-0.rhel4

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

2005-12-27 Thread Gordon Messmer
Lyndon Tiu wrote: 2) Force install: rpm -Uvh --force --nodeps courier-authlib-mysql-0.58-1.x86_64.rpm Don't --force the installation of packages. If there's a dependency issue, it needs to be resolved, or the software won't work. ---

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

2005-12-27 Thread Lyndon Tiu
So it was the mysql version that was the problem? Using a different version fixed it? On Tue, 27 Dec 2005 19:07:13 [EMAIL PROTECTED] wrote: Hi Gordon There were no dependency issues - just a warning from mysql about an id key hash - but it installed anyway and I assumed it's safe

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

2005-12-27 Thread Lyndon Tiu
On Tue, 27 Dec 2005 10:45:17 -0800 [EMAIL PROTECTED] wrote: Lyndon Tiu wrote: 2) Force install: rpm -Uvh --force --nodeps courier-authlib-mysql-0.58-1.x86_64.rpm Don't --force the installation of packages. If there's a dependency issue, it needs to be resolved, or the software

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

2005-12-27 Thread Jonathan Chong
Hi Lyndon Yes, it seems it was. I changed it to 5.0.17 (I think there was a conflict with version 3.23 that was installed with yum) and it built the rpm accordingly. I didn't need to rebuild courier-imap, just the authlib. On 27/12/05, Lyndon Tiu [EMAIL PROTECTED] wrote: So it was the mysql

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

2005-12-27 Thread Lyndon Tiu
Great! At least you learned a few Linux tricks : And and Gordon Messmer mentioned, be careful about the commands you run ... On Tue, 27 Dec 2005 19:59:59 [EMAIL PROTECTED] wrote: Hi Lyndon Yes, it seems it was. I changed it to 5.0.17 (I think there was a conflict with version 3.23

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

2005-12-27 Thread Sam Varshavchik
Lyndon Tiu writes: On Tue, 27 Dec 2005 10:45:17 -0800 [EMAIL PROTECTED] wrote: Lyndon Tiu wrote: 2) Force install: rpm -Uvh --force --nodeps courier-authlib-mysql-0.58-1.x86_64.rpm Don't --force the installation of packages. If there's a dependency issue, it needs to be resolved, or

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

2005-12-27 Thread Lyndon Tiu
On Tue, 27 Dec 2005 18:27:43 -0500 [EMAIL PROTECTED] wrote: If you do not understand the actual, underlying reason behind the dependency conflict that prevents a package from installing normally, using --force has little chance of succeeding; at best you'll be fooled into thinking that

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

2002-09-26 Thread Manou RABARY
Casper wrote: Hi list, I'm sure the answer to my question is somewhere on the net, but after reading about google pages, I still can't find the answer, which I think should be simple ;) I have a running system with Postfix - Courier-IMAP - MySQL for a virtual domain system, which

RE: [courier-users] courier imap and mysql

2002-07-08 Thread Andrew D
Jared Rhine at Sun, 07 Jul 2002 13:26:22 -0700 wrote: [Andrew == [EMAIL PROTECTED] on Thu, 04 Jul 2002 17:53:23 +0930 (CST)] Andrew No connections at all from courier... G'Day, Check that the mysql socket location (MYSQL_SOCKET in authmysqlrc) is set to the correct location. Someone

RE: [courier-users] courier imap and mysql

2002-07-08 Thread OMestre
Hello, I did fix this problem... In my case, i re-edit the authmysqlrc file, and have removed the spaces and tabs... After, I have found in the internet, the great solution: The order of the fields in authmysqlrc is wrong. I use the select clause, and i guess that you should use too...

RE: [courier-users] courier imap and mysql

2002-07-08 Thread Andrew D
OMestre at 08 Jul 2002 10:09:53 -0300 wrote: Hello, G'Day, I did fix this problem... In my case, i re-edit the authmysqlrc file, and have removed the spaces and tabs... yep, did that some time ago, after advice from tony2001 ;) a copy of my config files is at

RE: [courier-users] courier imap and mysql

2002-07-08 Thread Andrew D
G'Day, Continuing saga . have comiled yet again, with no error that makes the 'make' fail or 'make check' fail. However this time I took a look through the 'make' results and came across this make[1]: Entering directory `/usr/src/courier-imap-1.5.1/authlib' gcc -DHAVE_CONFIG_H -I. -I. -I.

Re: [courier-users] courier imap and mysql

2002-07-04 Thread Antony Dovgal
On Thu, 04 Jul 2002 2:44:15 +0930 (CST) Andrew D [EMAIL PROTECTED] wrote: Ok I replaced tabs/spaces with a tab, no luck, replaced the tab with a single space and still no luck, I have even made sure there was no space/tabs after each value. Have you tried to run mysql with --log option to

RE: [courier-users] courier imap and mysql

2002-07-04 Thread Andrew D
Antony Dovgal at Thu, 4 Jul 2002 10:57:18 +0300 wrote: On Thu, 04 Jul 2002 2:44:15 +0930 (CST) Andrew D [EMAIL PROTECTED] wrote: G'Day, Ok I replaced tabs/spaces with a tab, no luck, replaced the tab with a single space and still no luck, I have even made sure there was no space/tabs

RE: [courier-users] courier imap and mysql

2002-07-04 Thread Andrew D
Still got this prob with imap and mysql got everything defined and in the right place have just compiled exim 3.36 with mysql and it works perfectly a copy of my config files is at http://www.awdcomp.com/tempfile a copy of the results from strace of authdaemon

Re: [courier-users] courier imap and mysql

2002-07-03 Thread Antony Dovgal
On Thu, 04 Jul 2002 1:19:57 +0930 (CST) Andrew D [EMAIL PROTECTED] wrote: the log files show stuff all Jul 4 00:41:54 obelix authdaemond.mysql: authdaemon: modules=authmysql, daemons=2 There is no connection to mysql according to the mysql logs I have had the same problem some days ago. The

RE: [courier-users] courier imap and mysql

2002-07-03 Thread Andrew D
Antony Dovgal at Wed, 3 Jul 2002 19:30:09 +0300 wrote: On Thu, 04 Jul 2002 1:19:57 +0930 (CST) Andrew D [EMAIL PROTECTED] wrote: -snip- There is no connection to mysql according to the mysql logs I have had the same problem some days ago. The solution was: you need to divide varname

Re: [courier-users] Courier-imap with mysql, not even trying to connect to mysql

2002-06-02 Thread Moshe Gurvich
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

RE: [courier-users] Courier-imap with mysql, not even trying to connect to mysql

2002-06-02 Thread Guy
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

RE: [courier-users] Courier-imap with mysql, not even trying to connect to mysql

2002-06-02 Thread Moshe Gurvich
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

RE: [courier-users] Courier-imap with mysql,not even trying to connect to mysql

2002-06-02 Thread Daniel E. White
] [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

RE: [courier-users] Courier-imap with mysql, not even trying to connect to mysql

2002-06-02 Thread Guy
Yes, That from where I see absolutely no connection 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

RE: [courier-users] Courier-imap with mysql, not even trying to connect to mysql

2002-06-02 Thread Guy
Right :( -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Moshe Gurvich Sent: Sunday, June 02, 2002 9:56 AM To: [EMAIL PROTECTED] Subject: RE: [courier-users] Courier-imap with mysql, not even trying to connect to mysql You restarted the courier, right

RE: [courier-users] Courier-imap with mysql, not even trying to connect to mysql

2002-06-02 Thread Guy
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