[vchkpw] Vpopmail installation

2006-10-05 Thread Mattia Martinello

Hi.
I'm trying to compile Vpopmail 5.4.17, but I'm getting a make error:

make[2]: Entering directory `/home/src/vpopmail-5.4.17'
gcc  -g -O2 -Wall   -o vchkpw  vchkpw.o md5.o hmac_md5.o libvpopmail.a 
-L/usr/include/mysql  -lmysqlclient -lz -lm -lcrypt
/usr/lib/libc_nonshared.a(elf-init.oS)(.text.__i686.get_pc_thunk.bx+0x0): 
In function `__i686.get_pc_thunk.bx':

: multiple definition of `__i686.get_pc_thunk.bx'
libvpopmail.a(libvpopmail_a-vpopmail.o)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):/usr/local/src/vpopmail-5.4.17/vpopmail.c:92: 
first defined here

collect2: ld returned 1 exit status
make[2]: *** [vchkpw] Error 1
make[2]: Leaving directory `/home/src/vpopmail-5.4.17'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/src/vpopmail-5.4.17'
make: *** [all] Error 2

I didn't found any solution to this problem.
The system runs with Debian Sarge updated.

Thank you very much and goodbye.
Mattia.



Re: [vchkpw] vpopmail installation on Mandrake 10

2004-07-02 Thread Ertürk
--- Charles M. Gerungan [EMAIL PROTECTED] wrote:
 Hello Kaan,

Hi,

 
 Don't try to remember, verify: -rwsr-sr-x.
 

Now I can verify that it is -rwsr-sr-x

There is something I don't understand:

This is for qmailadmin,
-rwsr-sr-x  1 vpopmail vchkpw 123528 Jun 30 15:07 qmailadmin*

And this is for vqadmin.cgi,
-rwsr-xr-x  1 root root   77332 Jun 30 16:32 vqadmin.cgi*

Why is qmailadmin 'vpopmail vchkpw' and vqadmin 'root root'?

Kaan Ertürk



__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail


Re: [vchkpw] vpopmail installation on Mandrake 10

2004-07-02 Thread Jeremy Kitchen
On Friday 02 July 2004 02:14 am, Kaan Ertürk wrote:
 There is something I don't understand:

 This is for qmailadmin,
 -rwsr-sr-x  1 vpopmail vchkpw 123528 Jun 30 15:07 qmailadmin*

 And this is for vqadmin.cgi,
 -rwsr-xr-x  1 root root   77332 Jun 30 16:32 vqadmin.cgi*

 Why is qmailadmin 'vpopmail vchkpw' and vqadmin 'root root'?

qmailadmin only needs to write to the vpopmail user's directories, that is, 
unless you're separating your domains into multiple users and such, which is 
unlikely.

vqadmin needs to be able to modify files 
in /var/qmail/control, /var/qmail/users, and send signals to qmail-send, 
therefore, it needs to be run as root.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



Re: [vchkpw] vpopmail installation on Mandrake 10

2004-07-01 Thread Ertürk
--- Tom Collins [EMAIL PROTECTED] wrote:
 On Jun 29, 2004, at 10:53 PM, Kaan Ertürk wrote:
  I also typed 'libtoolize --force' and the result is:
 
  [EMAIL PROTECTED] vpopmail-5.4.5]# libtoolize --force
  Remember to add `AC_PROG_LIBTOOL' to `configure.in'.
  Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL'
  You should update your `aclocal.m4' by running aclocal.
 
  So, what does all this mean?
 
 At this point, run aclocal to update the aclocal.m4 file.  You should 
 then be able to ./configure  make  make install.
 
 If you don't have automake and autoconf installed, then you could have 
 problems during the build process.  If you're going to compile software 
 on that box, you really need to have those tools installed.
 

I fixed this problem by installing newer versions of automake and autoconf. Now I
can add/remove domains/pop accounts with vpopmail. But, another problem occurs as
qmailadmin doesn't log in! I think this is a serious problem that lots of people
got as they wrote on the mail list.

Anyway, thank you very much.

I'll try to write this new problem to the qmailadmin list.

Kaan Ertürk




__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 


Re: [vchkpw] vpopmail installation on Mandrake 10

2004-07-01 Thread Tom Collins
On Jul 1, 2004, at 5:27 AM, Kaan Ertürk wrote:
I fixed this problem by installing newer versions of automake and 
autoconf. Now I
can add/remove domains/pop accounts with vpopmail. But, another 
problem occurs as
qmailadmin doesn't log in! I think this is a serious problem that lots 
of people
got as they wrote on the mail list.
Did you compile and install qmailadmin after installing vpopmail?  
You'll need to in order for it to work.

Is the partition that qmailadmin is installed on mounted with the 
nosuid option (look at /etc/fstab for the word nosuid)?  It has to be 
on a partition that allows suid binaries.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] vpopmail installation on Mandrake 10

2004-07-01 Thread Ertürk
--- Tom Collins [EMAIL PROTECTED] wrote:
 
 Did you compile and install qmailadmin after installing vpopmail?  
 You'll need to in order for it to work.
 
 Is the partition that qmailadmin is installed on mounted with the 
 nosuid option (look at /etc/fstab for the word nosuid)?  It has to be 
 on a partition that allows suid binaries.
 
 --
 Tom Collins  -  [EMAIL PROTECTED]
 QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
 Info on the Sniffter hand-held Network Tester: http://sniffter.com/
 

Yes, I compiled and installed qmailadmin. It works fine. I mean only with the first
screen.

I checked and there is no 'nosuid' at /etc/fstab.

I changed the permissions of qmailadmin to root (I am logged in as root) but no
way.

Kaan Ertürk




__
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail


Re: [vchkpw] vpopmail installation on Mandrake 10

2004-07-01 Thread Tom Collins
On Jul 1, 2004, at 7:56 AM, Kaan Ertürk wrote:
I changed the permissions of qmailadmin to root (I am logged in as 
root) but no
way.
Qmailadmin should be owned by vpopmail:vchkpw and have the suid bit set.
--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] vpopmail installation on Mandrake 10

2004-07-01 Thread Ertürk
--- Tom Collins [EMAIL PROTECTED] wrote:
 On Jul 1, 2004, at 7:56 AM, Kaan Ertürk wrote:
  I changed the permissions of qmailadmin to root (I am logged in as 
  root) but no
  way.
 
 Qmailadmin should be owned by vpopmail:vchkpw and have the suid bit set.
 

I know. What I wrote was just what I have done for a solution. Now, qmailadmin is
owned by vpopmail:vchkpw with the uid of 89.

What does qmailadmin should have the suid bit set mean? Is it something about the
uid 89?

Kaan Ertürk




__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail


Re: [vchkpw] vpopmail installation on Mandrake 10

2004-07-01 Thread Charles M. Gerungan
Hello Kaan,

On Thu, 1 Jul 2004 10:14:59 -0700 (PDT) UTC, Kaan Ertürk wrote:

KE What does qmailadmin should have the suid bit set mean? Is it
KE something about the uid 89?

There's a lot of info on the setuid bit. Do a search on Google. If you
just want to follow instructions: chmod 4755 qmailadmin.

-- 
Regards, Charles.



Re: [vchkpw] vpopmail installation on Mandrake 10

2004-07-01 Thread Ertürk
--- Charles M. Gerungan [EMAIL PROTECTED] wrote:
 Hello Kaan,

Hi,
 
 
 There's a lot of info on the setuid bit. Do a search on Google. If you
 just want to follow instructions: chmod 4755 qmailadmin.
 

Thank you very much. I did a Google search, and found some information. I am now
reading them.

I remember that I have typed that, chmod 4755 qmailadmin, after typing chown
vpopmail.vchkpw qmailadmin

Kaan Ertürk




__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 


Re: [vchkpw] vpopmail installation on Mandrake 10

2004-07-01 Thread Ertürk
--- Charles M. Gerungan [EMAIL PROTECTED] wrote:
 Hello Kaan,

Hi,

 
 Don't try to remember, verify: -rwsr-sr-x.
 

I can't! Because I am home now, I will go to work tomorrow. I haven't set up the
modem at the office properly to direct me to my computer, that's why I can not
connect now.

I will try tomorrow and post the results.

Thank you for help.

Kaan Ertürk




__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail


Re: [vchkpw] vpopmail installation on Mandrake 10

2004-06-30 Thread Tom Collins
On Jun 29, 2004, at 10:53 PM, Kaan Ertürk wrote:
I also typed 'libtoolize --force' and the result is:
[EMAIL PROTECTED] vpopmail-5.4.5]# libtoolize --force
Remember to add `AC_PROG_LIBTOOL' to `configure.in'.
Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL'
You should update your `aclocal.m4' by running aclocal.
So, what does all this mean?
At this point, run aclocal to update the aclocal.m4 file.  You should 
then be able to ./configure  make  make install.

If you don't have automake and autoconf installed, then you could have 
problems during the build process.  If you're going to compile software 
on that box, you really need to have those tools installed.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


[vchkpw] vpopmail installation on Mandrake 10

2004-06-29 Thread Ertürk
Hi there.

I am trying to set an email server. I installed qmail with urpmi, and want to
install qmailadmin. I know the requirements and could install autorespond and
ezmlm. But I am having difficulties installing the vpopmail. Here is what I wrote
to konsole:

[EMAIL PROTECTED] vpopmail-5.4.5]# groupadd -g 89 vchkpw
[EMAIL PROTECTED] vpopmail-5.4.5]# useradd -g vchkpw -u 89 -d /home/vpopmail vpopmail
[EMAIL PROTECTED] vpopmail-5.4.5]# ./configure --enable-clear-passwd --enable-valias
--enable-mysql-replication

 *** NO ERRORS HERE ***

   vpopmail 5.4.5
Current settings
---

vpopmail directory = /home/vpopmail
   uid = 89
   gid = 89
 roaming users = OFF --disable-roaming-users (default)
 password learning = OFF --disable-learn-passwords (default)
 md5 passwords = ON  --enable-md5-passwords (default)
  file locking = ON  --enable-file-locking (default)
vdelivermail fsync = OFF --disable-file-sync (default)
 make seekable = ON  --enable-make-seekable (default)
  clear passwd = ON  --enable-clear-passwd (default)
 user dir hashing  = ON  --enable-users-big-dir (default)
address extensions = OFF --disable-qmail-ext (default)
  ip alias = OFF --disable-ip-alias-domains (default)
 domain quotas = OFF --disable-domainquotas (default)
   auth module = cdb  --enable-auth-module=cdb (default)
  auth inc = -Icdb
  auth lib =
  system passwords = OFF --disable-passwd (default)
pop syslog = show only failed attempts
 --enable-logging=e (default)
  auth logging = ON  --enable-auth-logging (default)


[EMAIL PROTECTED] vpopmail-5.4.5]# make
cd .  \
  /bin/sh /home/vpopmail-5.4.5/missing --run automake --foreign  Makefile
configure.in: 89: required file `./_AM_File,.in' not found
configure.in: 89: required file `./[$2],.in' not found
configure.in: 89: required file `./[$3])].in' not found
make: *** [Makefile.in] Error 1

I have no idea, and I am new to Mandrake. Any ideas? Thanks a lot...

Kaan Ertürk




__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail


Re: [vchkpw] vpopmail installation on Mandrake 10

2004-06-29 Thread Tom Collins
On Jun 29, 2004, at 4:20 AM, Kaan Ertürk wrote:
[EMAIL PROTECTED] vpopmail-5.4.5]# make
cd .  \
  /bin/sh /home/vpopmail-5.4.5/missing --run automake --foreign  
Makefile
configure.in: 89: required file `./_AM_File,.in' not found
configure.in: 89: required file `./[$2],.in' not found
configure.in: 89: required file `./[$3])].in' not found
make: *** [Makefile.in] Error 1

I have no idea, and I am new to Mandrake. Any ideas? Thanks a lot...
Type 'libtoolize' in a fresh vpopmail source directory and try again.  
It sounds like your version of the libtools isn't working properly with 
the files built by the developer's version.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


RE: [vchkpw] vpopmail installation on a Client MySQL Server

2004-06-06 Thread Kirti S. Bajwa
Hello:

Yesterday, I posted this message  many people responded. I was following
document http://www.pipeline.com.au/staff/isp/webmail-server.htm;. 


When I tried to add a domain I will get an error:

/home/vpopmail/bin/vadddomain: error while loading shared libraries:
libmysqlclient.so.12: cannot open shared object file: no such file or
directory

Several people on this list responded. That made me thinking. Finally, I
figured it out:

During the build of vpopmail, include full path to the directory, as
follows:

./configure \
(several options)
--enable-incdir=/usr/local/mysql/include/mysql 
--enable-libdir=/usr/local/mysql/lib/mysql 


This did the trick. This post is for future information.

Kirti


RE: [vchkpw] vpopmail installation on a Client MySQL Server

2004-06-05 Thread Kirti S. Bajwa
Rick:

I like your idea of installing complete MySQL package and then use the data
from the master server. I will try it.

Thanks. 

Kirt

-Original Message-
From: Rick Widmer [mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 8:01 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] vpopmail installation on a Client MySQL Server




Kirti S. Bajwa wrote:
 /home/vpopmail/bin/vadddomain: error while loading sharred libraries:
 libmysqlclient.so.12: cannot open shared object file: no such file or
 directory
 
 What is this error  how to fix it?

The mysql-client and/or mysql-devel packages (what ever RedHat calls 
them) are not installed, or for some reason vpopmail can not find them. 
   If you already have a file libmysqlclient.so.12 on the slave server, 
let us know and we'll look at something different, but I bet you don't...


Make sure the client library and include files are installed on the 
slave machine.  I don't do Red Hat, so I can't help with specifics.

or

Just install all of the mysql packages on the slave and don't sweat the 
extra couple of MB disk space they require.  You don't have to actually 
start MySQL on the slave server.

or

If you have one box it works on, and another it does not and both are on 
the same version of RH, just find the files vpopmail complains about on 
the machine that has them, and copy them to the same directory on the 
other machine.  There may be several files and vpopmail only reports one 
at a time, so you may have to run - copy - run - copy several times.


Rick


RE: [vchkpw] vpopmail installation on a Client MySQL Server

2004-06-05 Thread Kirti S. Bajwa
Eduardo:

/usr/local/mysql/lib/mysql does have libmysqlclient.so.12. I followed your
advice. Added path to the library in etc/ld.so.conf and created the PATH to
/usr/local/mysql/lib/mysql. Still the same error.

I am going to take advice of Rick  install MySQL full package.

Kirti

-Original Message-
From: Eduardo M. Bragatto [mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 8:11 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] vpopmail installation on a Client MySQL Server


Kirti S. Bajwa wrote:

 /home/vpopmail/bin/vadddomain: error while loading sharred libraries:
 libmysqlclient.so.12: cannot open shared object file: no such file or
 directory

I've never used vpopmail with Mysql, but I've been following the
thread 
and I think that I know what's going on.
Your vpopmail is trying to use shared libraries that can't be found
on 
the system. Search for the path of the files libmysqlclient.* (find / | 
grep libmysqlclient) and check if it's listed at /etc/ld.so.conf. It 
must be listed at your $PATH environment variable as well.
You must find the file libmysqlclient.so.12. If you don't find it,

you may try to create a symbolic link to other libmysqlclient.so.XX.

Best regards,
Eduardo M. Bragatto.


RE: [vchkpw] vpopmail installation on a Client MySQL Server

2004-06-05 Thread Kirti S. Bajwa
Rick:

I do have the file libmysqlclient.so.12 in /usr/local/mysql/lib/mysql 
/usr/local/mysql-4.0.20/libmysql/.lib. I have installed the mysql-client
package. I am going to install full mysql package  see if the problem goes
away.

Kirti

-Original Message-
From: Rick Widmer [mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 8:01 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] vpopmail installation on a Client MySQL Server


Kirti S. Bajwa wrote:
 /home/vpopmail/bin/vadddomain: error while loading sharred libraries:
 libmysqlclient.so.12: cannot open shared object file: no such file or
 directory
 
 What is this error  how to fix it?

The mysql-client and/or mysql-devel packages (what ever RedHat calls 
them) are not installed, or for some reason vpopmail can not find them. 
   If you already have a file libmysqlclient.so.12 on the slave server, 
let us know and we'll look at something different, but I bet you don't...


Make sure the client library and include files are installed on the 
slave machine.  I don't do Red Hat, so I can't help with specifics.

or

Just install all of the mysql packages on the slave and don't sweat the 
extra couple of MB disk space they require.  You don't have to actually 
start MySQL on the slave server.

or

If you have one box it works on, and another it does not and both are on 
the same version of RH, just find the files vpopmail complains about on 
the machine that has them, and copy them to the same directory on the 
other machine.  There may be several files and vpopmail only reports one 
at a time, so you may have to run - copy - run - copy several times.


Rick


Re: [vchkpw] vpopmail installation on a Client MySQL Server

2004-06-05 Thread JB
Make sure the directory where libmysqlclient.so.12 is located in listed 
in ld.so.conf. Don't forget to run ldconfig if you add a new path to 
ld.so.conf

Kirti S. Bajwa wrote:
Rick:
I do have the file libmysqlclient.so.12 in /usr/local/mysql/lib/mysql 
/usr/local/mysql-4.0.20/libmysql/.lib. I have installed the mysql-client
package. I am going to install full mysql package  see if the problem goes
away.
Kirti
-Original Message-
From: Rick Widmer [mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 8:01 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] vpopmail installation on a Client MySQL Server
Kirti S. Bajwa wrote:
/home/vpopmail/bin/vadddomain: error while loading sharred libraries:
libmysqlclient.so.12: cannot open shared object file: no such file or
directory
What is this error  how to fix it?

The mysql-client and/or mysql-devel packages (what ever RedHat calls 
them) are not installed, or for some reason vpopmail can not find them. 
   If you already have a file libmysqlclient.so.12 on the slave server, 
let us know and we'll look at something different, but I bet you don't...

Make sure the client library and include files are installed on the 
slave machine.  I don't do Red Hat, so I can't help with specifics.

or
Just install all of the mysql packages on the slave and don't sweat the 
extra couple of MB disk space they require.  You don't have to actually 
start MySQL on the slave server.

or
If you have one box it works on, and another it does not and both are on 
the same version of RH, just find the files vpopmail complains about on 
the machine that has them, and copy them to the same directory on the 
other machine.  There may be several files and vpopmail only reports one 
at a time, so you may have to run - copy - run - copy several times.

Rick



RE: [vchkpw] vpopmail installation on a Client MySQL Server

2004-06-05 Thread Kirti S. Bajwa
JB:

I think you performed the magic. After I run ldconfig, the old library
error is gone.

Now the error is MYSQL server has gone away. I can connect to the mysql
server data. So why is this error? Is it possible that I may have done some
mistake in installing mysql?

Thanks.

Kirti

-Original Message-
From: JB [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 05, 2004 11:00 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] vpopmail installation on a Client MySQL Server


Make sure the directory where libmysqlclient.so.12 is located in listed 
in ld.so.conf. Don't forget to run ldconfig if you add a new path to 
ld.so.conf


Kirti S. Bajwa wrote:
 Rick:
 
 I do have the file libmysqlclient.so.12 in /usr/local/mysql/lib/mysql 
 /usr/local/mysql-4.0.20/libmysql/.lib. I have installed the mysql-client
 package. I am going to install full mysql package  see if the problem
goes
 away.
 
 Kirti
 
 -Original Message-
 From: Rick Widmer [mailto:[EMAIL PROTECTED]
 Sent: Friday, June 04, 2004 8:01 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [vchkpw] vpopmail installation on a Client MySQL Server
 
 
 Kirti S. Bajwa wrote:
 
/home/vpopmail/bin/vadddomain: error while loading sharred libraries:
libmysqlclient.so.12: cannot open shared object file: no such file or
directory

What is this error  how to fix it?
 
 
 The mysql-client and/or mysql-devel packages (what ever RedHat calls 
 them) are not installed, or for some reason vpopmail can not find them. 
If you already have a file libmysqlclient.so.12 on the slave server, 
 let us know and we'll look at something different, but I bet you don't...
 
 
 Make sure the client library and include files are installed on the 
 slave machine.  I don't do Red Hat, so I can't help with specifics.
 
 or
 
 Just install all of the mysql packages on the slave and don't sweat the 
 extra couple of MB disk space they require.  You don't have to actually 
 start MySQL on the slave server.
 
 or
 
 If you have one box it works on, and another it does not and both are on 
 the same version of RH, just find the files vpopmail complains about on 
 the machine that has them, and copy them to the same directory on the 
 other machine.  There may be several files and vpopmail only reports one 
 at a time, so you may have to run - copy - run - copy several times.
 
 
 Rick
 


Re: [vchkpw] vpopmail installation on a Client MySQL Server

2004-06-05 Thread JB
I'm clueless about this error but you can probably find clues to the 
answer by searching the list archives.

Best,
Kirti S. Bajwa wrote:
JB:
I think you performed the magic. After I run ldconfig, the old library
error is gone.
Now the error is MYSQL server has gone away. I can connect to the mysql
server data. So why is this error? Is it possible that I may have done some
mistake in installing mysql?
Thanks.
Kirti
-Original Message-
From: JB [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 05, 2004 11:00 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] vpopmail installation on a Client MySQL Server
Make sure the directory where libmysqlclient.so.12 is located in listed 
in ld.so.conf. Don't forget to run ldconfig if you add a new path to 
ld.so.conf

Kirti S. Bajwa wrote:
Rick:
I do have the file libmysqlclient.so.12 in /usr/local/mysql/lib/mysql 
/usr/local/mysql-4.0.20/libmysql/.lib. I have installed the mysql-client
package. I am going to install full mysql package  see if the problem
goes
away.
Kirti
-Original Message-
From: Rick Widmer [mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 8:01 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] vpopmail installation on a Client MySQL Server
Kirti S. Bajwa wrote:

/home/vpopmail/bin/vadddomain: error while loading sharred libraries:
libmysqlclient.so.12: cannot open shared object file: no such file or
directory
What is this error  how to fix it?

The mysql-client and/or mysql-devel packages (what ever RedHat calls 
them) are not installed, or for some reason vpopmail can not find them. 
  If you already have a file libmysqlclient.so.12 on the slave server, 
let us know and we'll look at something different, but I bet you don't...

Make sure the client library and include files are installed on the 
slave machine.  I don't do Red Hat, so I can't help with specifics.

or
Just install all of the mysql packages on the slave and don't sweat the 
extra couple of MB disk space they require.  You don't have to actually 
start MySQL on the slave server.

or
If you have one box it works on, and another it does not and both are on 
the same version of RH, just find the files vpopmail complains about on 
the machine that has them, and copy them to the same directory on the 
other machine.  There may be several files and vpopmail only reports one 
at a time, so you may have to run - copy - run - copy several times.

Rick




Re: [vchkpw] vpopmail installation on a Client MySQL Server

2004-06-04 Thread Rainer Duffner
Am Fr, 2004-06-04 um 19.57 schrieb Kirti S. Bajwa:
 Hello List:
 
 This is my first message on this list. Please consider me a newbie in the
 area of LINUX, vpopmail, etc.
 
 I have setup two servers as follows:

[snip]

I haven't done this either, but I think I've heard that one uses a
master-slave model because the lookups in the mysql-tables need to be as
fast as possible. And a connection to a local mysql-db is much faster
than making a remote tcp/ip-connection - the latency envolved may be
just too much.



Rainer



Re: [vchkpw] vpopmail installation on a Client MySQL Server

2004-06-04 Thread Jeremy Kitchen
On Friday 04 June 2004 12:57 pm, Kirti S. Bajwa wrote:
 
 The problem is that all the instruction to install vpopmail is for a MySQL
 to be installed on the localhost. Therefore, my question is:

 Has anyone installed vpopmail  client mysql where all the data resides on
 a master mysql server?

 Is it even possible? If it is not possible, then what are the alternatives?

yes, you put the ip address of the mysql server into the 
~vpopmail/etc/vpopmail.mysql file in place of localhost.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



RE: [vchkpw] vpopmail installation on a Client MySQL Server

2004-06-04 Thread Kirti S. Bajwa
Jeremy:

I knew someone has done it. I did follow your instructions; 

I updated /home/vpopmail/etc/vpopmail.mysql with the ip address  now the
file vpopmail.mysql has the following entry:

  192.168.237.11|0|vpopmailuser|vpopmailpw|vpopmal

NOTE: Each server has 2 NICs. One NIC uses public IP addresses (12.21.237.x)
to access the Internet. The second NIC uses 192.168.237.X. All networking is
over 192.168.237.0/255.255.255.0. MySQL server can only be accesses over the
internal network.

Then I tried to add a domain:

%/home/vpopmail/bin/vadddomain tibinternet.com vpopmailpw

I get the following (the same) error:

/home/vpopmail/bin/vadddomain: error while loading sharred libraries:
libmysqlclient.so.12: cannot open shared object file: no such file or
directory

What is this error  how to fix it? Thats in advance. You are saving my
life. You are a swell of a person.

Kirti




-Original Message-
From: Jeremy Kitchen [mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 3:20 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] vpopmail installation on a Client MySQL Server


On Friday 04 June 2004 12:57 pm, Kirti S. Bajwa wrote:
 
 The problem is that all the instruction to install vpopmail is for a MySQL
 to be installed on the localhost. Therefore, my question is:

 Has anyone installed vpopmail  client mysql where all the data resides on
 a master mysql server?

 Is it even possible? If it is not possible, then what are the
alternatives?

yes, you put the ip address of the mysql server into the 
~vpopmail/etc/vpopmail.mysql file in place of localhost.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies,
Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail


RE: [vchkpw] vpopmail installation on a Client MySQL Server

2004-06-04 Thread Kirti S. Bajwa
Rainer:

Thank for your response. Our design is such (see my post in response to
Jeremy) that we use an internal network to access the data server. At this
point, I have no idea if latency is going to be a problem.

I may get back to you later on.

Thanks again.

Kirti



-Original Message-
From: Rainer Duffner [mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 3:09 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] vpopmail installation on a Client MySQL Server


Am Fr, 2004-06-04 um 19.57 schrieb Kirti S. Bajwa:
 Hello List:
 
 This is my first message on this list. Please consider me a newbie in the
 area of LINUX, vpopmail, etc.
 
 I have setup two servers as follows:

[snip]

I haven't done this either, but I think I've heard that one uses a
master-slave model because the lookups in the mysql-tables need to be as
fast as possible. And a connection to a local mysql-db is much faster
than making a remote tcp/ip-connection - the latency envolved may be
just too much.



Rainer


RE: [vchkpw] vpopmail installation on a Client MySQL Server

2004-06-04 Thread Kirti S. Bajwa
Jeremy:

One other thought came to my mind  when you respond, you can include this
information also (unless someone else also responds);

In /home/vpopmail/etc/vpopmail.mysql, the follwoing information is
contained:

192.168.237.11|0|vpopmailuser|vpopmailpw|vpopmal

It is my understanding that |0| is the port number for the mysql server.
Is it possible that this port number is different in this/my design?

Kirti

-




Jeremy:

I knew someone has done it. I did follow your instructions; 

I updated /home/vpopmail/etc/vpopmail.mysql with the ip address  now the
file vpopmail.mysql has the following entry:

  192.168.237.11|0|vpopmailuser|vpopmailpw|vpopmal

NOTE: Each server has 2 NICs. One NIC uses public IP addresses (12.21.237.x)
to access the Internet. The second NIC uses 192.168.237.X. All networking is
over 192.168.237.0/255.255.255.0. MySQL server can only be accesses over the
internal network.

Then I tried to add a domain:

%/home/vpopmail/bin/vadddomain tibinternet.com vpopmailpw

I get the following (the same) error:

/home/vpopmail/bin/vadddomain: error while loading sharred libraries:
libmysqlclient.so.12: cannot open shared object file: no such file or
directory

What is this error  how to fix it? Thats in advance. You are saving my
life. You are a swell of a person.

Kirti




-Original Message-
From: Jeremy Kitchen [mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 3:20 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] vpopmail installation on a Client MySQL Server


On Friday 04 June 2004 12:57 pm, Kirti S. Bajwa wrote:
 
 The problem is that all the instruction to install vpopmail is for a MySQL
 to be installed on the localhost. Therefore, my question is:

 Has anyone installed vpopmail  client mysql where all the data resides on
 a master mysql server?

 Is it even possible? If it is not possible, then what are the
alternatives?

yes, you put the ip address of the mysql server into the 
~vpopmail/etc/vpopmail.mysql file in place of localhost.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies,
Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail


RE: [vchkpw] vpopmail installation on a Client MySQL Server

2004-06-04 Thread Kirti S. Bajwa
For those who are following this thread:

I changed the port in /home/vpopmail/etc/vpopmail.mysql to 3306. Same error.

I went ahead and deleted all the vpopmail related folder  re-installed
vpopmail-5.4.4. Same place  same error (the error is listed below).

Back to square ONE.

OK folks, give some suggestions. I am sure that someone out these has
installed vpopmail on a mysql client server!!

Kirti




-Original Message-
From: Kirti S. Bajwa [mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 4:50 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [vchkpw] vpopmail installation on a Client MySQL Server


Jeremy:

One other thought came to my mind  when you respond, you can include this
information also (unless someone else also responds);

In /home/vpopmail/etc/vpopmail.mysql, the follwoing information is
contained:

192.168.237.11|0|vpopmailuser|vpopmailpw|vpopmal

It is my understanding that |0| is the port number for the mysql server.
Is it possible that this port number is different in this/my design?

Kirti

-




Jeremy:

I knew someone has done it. I did follow your instructions; 

I updated /home/vpopmail/etc/vpopmail.mysql with the ip address  now the
file vpopmail.mysql has the following entry:

  192.168.237.11|0|vpopmailuser|vpopmailpw|vpopmal

NOTE: Each server has 2 NICs. One NIC uses public IP addresses (12.21.237.x)
to access the Internet. The second NIC uses 192.168.237.X. All networking is
over 192.168.237.0/255.255.255.0. MySQL server can only be accesses over the
internal network.

Then I tried to add a domain:

%/home/vpopmail/bin/vadddomain tibinternet.com vpopmailpw

I get the following (the same) error:

/home/vpopmail/bin/vadddomain: error while loading sharred libraries:
libmysqlclient.so.12: cannot open shared object file: no such file or
directory

What is this error  how to fix it? Thats in advance. You are saving my
life. You are a swell of a person.

Kirti




-Original Message-
From: Jeremy Kitchen [mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 3:20 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] vpopmail installation on a Client MySQL Server


On Friday 04 June 2004 12:57 pm, Kirti S. Bajwa wrote:
 
 The problem is that all the instruction to install vpopmail is for a MySQL
 to be installed on the localhost. Therefore, my question is:

 Has anyone installed vpopmail  client mysql where all the data resides on
 a master mysql server?

 Is it even possible? If it is not possible, then what are the
alternatives?

yes, you put the ip address of the mysql server into the 
~vpopmail/etc/vpopmail.mysql file in place of localhost.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies,
Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail


RE: [vchkpw] vpopmail installation on a Client MySQL Server

2004-06-04 Thread Remo Mattei
You are missing the lib check and make sure you have it installed on your
machine. I would guess some devel lib from mysql.

My 2 cents, 

Remo

-Original Message-
From: Kirti S. Bajwa [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 04, 2004 5:40 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [vchkpw] vpopmail installation on a Client MySQL Server

For those who are following this thread:

I changed the port in /home/vpopmail/etc/vpopmail.mysql to 3306. Same error.

I went ahead and deleted all the vpopmail related folder  re-installed
vpopmail-5.4.4. Same place  same error (the error is listed below).

Back to square ONE.

OK folks, give some suggestions. I am sure that someone out these has
installed vpopmail on a mysql client server!!

Kirti




-Original Message-
From: Kirti S. Bajwa [mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 4:50 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [vchkpw] vpopmail installation on a Client MySQL Server


Jeremy:

One other thought came to my mind  when you respond, you can include this
information also (unless someone else also responds);

In /home/vpopmail/etc/vpopmail.mysql, the follwoing information is
contained:

192.168.237.11|0|vpopmailuser|vpopmailpw|vpopmal

It is my understanding that |0| is the port number for the mysql server.
Is it possible that this port number is different in this/my design?

Kirti

-




Jeremy:

I knew someone has done it. I did follow your instructions; 

I updated /home/vpopmail/etc/vpopmail.mysql with the ip address  now the
file vpopmail.mysql has the following entry:

  192.168.237.11|0|vpopmailuser|vpopmailpw|vpopmal

NOTE: Each server has 2 NICs. One NIC uses public IP addresses (12.21.237.x)
to access the Internet. The second NIC uses 192.168.237.X. All networking is
over 192.168.237.0/255.255.255.0. MySQL server can only be accesses over the
internal network.

Then I tried to add a domain:

%/home/vpopmail/bin/vadddomain tibinternet.com vpopmailpw

I get the following (the same) error:

/home/vpopmail/bin/vadddomain: error while loading sharred libraries:
libmysqlclient.so.12: cannot open shared object file: no such file or
directory

What is this error  how to fix it? Thats in advance. You are saving my
life. You are a swell of a person.

Kirti




-Original Message-
From: Jeremy Kitchen [mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 3:20 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] vpopmail installation on a Client MySQL Server


On Friday 04 June 2004 12:57 pm, Kirti S. Bajwa wrote:
 
 The problem is that all the instruction to install vpopmail is for a MySQL
 to be installed on the localhost. Therefore, my question is:

 Has anyone installed vpopmail  client mysql where all the data resides on
 a master mysql server?

 Is it even possible? If it is not possible, then what are the
alternatives?

yes, you put the ip address of the mysql server into the 
~vpopmail/etc/vpopmail.mysql file in place of localhost.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies,
Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail


Re: [vchkpw] vpopmail installation on a Client MySQL Server

2004-06-04 Thread Rick Widmer

Kirti S. Bajwa wrote:
/home/vpopmail/bin/vadddomain: error while loading sharred libraries:
libmysqlclient.so.12: cannot open shared object file: no such file or
directory
What is this error  how to fix it?
The mysql-client and/or mysql-devel packages (what ever RedHat calls 
them) are not installed, or for some reason vpopmail can not find them. 
  If you already have a file libmysqlclient.so.12 on the slave server, 
let us know and we'll look at something different, but I bet you don't...

Make sure the client library and include files are installed on the 
slave machine.  I don't do Red Hat, so I can't help with specifics.

or
Just install all of the mysql packages on the slave and don't sweat the 
extra couple of MB disk space they require.  You don't have to actually 
start MySQL on the slave server.

or
If you have one box it works on, and another it does not and both are on 
the same version of RH, just find the files vpopmail complains about on 
the machine that has them, and copy them to the same directory on the 
other machine.  There may be several files and vpopmail only reports one 
at a time, so you may have to run - copy - run - copy several times.

Rick


Re: [vchkpw] vpopmail installation on a Client MySQL Server

2004-06-04 Thread Eduardo M. Bragatto
Kirti S. Bajwa wrote:
/home/vpopmail/bin/vadddomain: error while loading sharred libraries:
libmysqlclient.so.12: cannot open shared object file: no such file or
directory
	I've never used vpopmail with Mysql, but I've been following the thread 
and I think that I know what's going on.
	Your vpopmail is trying to use shared libraries that can't be found on 
the system. Search for the path of the files libmysqlclient.* (find / | 
grep libmysqlclient) and check if it's listed at /etc/ld.so.conf. It 
must be listed at your $PATH environment variable as well.
	You must find the file libmysqlclient.so.12. If you don't find it, 
you may try to create a symbolic link to other libmysqlclient.so.XX.

Best regards,
Eduardo M. Bragatto.


Re: [vchkpw] Vpopmail Installation Problem

2003-07-16 Thread Ajai Khattri
zafar rizvi wrote:

I am in problem of installing vpopmail with centralized mysql database
support, and getting error in make command.
i think its all bcz of disconnection from remote system.
I test the connection with php script and got output like that.
Error :Lost Connection to mysql server during query.
A basic troubleshooting step would be to check that the MySQL connection 
with the same username and password actually works. You can probably do 
this by logging into your mail server and connecting your central 
database by using the mysql client.

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] Vpopmail Installation Problem

2003-07-16 Thread zafar rizvi
hi
Its mean mysql client must be installed on the qmail server first.
ok 
I have but still i am getting error.
ERROR 2003: Can't connect to MySQL server on '192.168.0.64' (111)

AND I have my.conf like that
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock

[mysql.server]
user=mysql
basedir=/var/lib

[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid


Would u tell me what's wrong. or what setting left.

Thanks
ZAfar


- Original Message - 
From: Ajai Khattri [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 16, 2003 9:18 PM
Subject: Re: [vchkpw] Vpopmail Installation Problem


 zafar rizvi wrote:
 
  I am in problem of installing vpopmail with centralized mysql database
  support, and getting error in make command.
  i think its all bcz of disconnection from remote system.
  
  I test the connection with php script and got output like that.
  Error :Lost Connection to mysql server during query.
 
 A basic troubleshooting step would be to check that the MySQL connection 
 with the same username and password actually works. You can probably do 
 this by logging into your mail server and connecting your central 
 database by using the mysql client.
 
 -- 
 Aj.
 Systems Administrator / Developer
 
 
 




Re: [vchkpw] Vpopmail Installation Problem

2003-07-16 Thread Ajai Khattri
zafar rizvi wrote:

Its mean mysql client must be installed on the qmail server first.
Well you have to have mysqlclient libraries installed to talk to another 
MySQL server anyway!

I have but still i am getting error.
ERROR 2003: Can't connect to MySQL server on '192.168.0.64' (111)
So you have a basic connectivity problem:

1. Check MySQL is running on the remote server and is listening on that IP.

2. If it is, trying telnetting to port 3306 from the mail server to the 
MySQL server and see if you get connected.

3. Check you don't have a firewall running locally on both machines.

Etc etc etc.

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] Vpopmail installation

2003-01-14 Thread Andrew Kohlsmith
 My question is how do I start up Qmail to just run the queue and not have
 it try and bind to port 25.  I want Postfix to remain bound to port 25 and
 act as my SMTP server.  I just need Qmail to deliver mail to the
 vpopmail/domains/whatever Maildir's so people can get their mail.

Just don't run qmail-smtpd.  I get around this just by not running tcpserver, 
which listens on port 25 and passes requests off to qmail-smtpd.

Regards,
Andrew




Re: [vchkpw] Vpopmail installation

2003-01-14 Thread Paul Theodoropoulos

tcpserver listens on whatever port it's told to listen on, not just port 25.

At 06:46 AM 01-14-2003, Andrew Kohlsmith wrote:

 My question is how do I start up Qmail to just run the queue and not have
 it try and bind to port 25.  I want Postfix to remain bound to port 25 and
 act as my SMTP server.  I just need Qmail to deliver mail to the
 vpopmail/domains/whatever Maildir's so people can get their mail.

Just don't run qmail-smtpd.  I get around this just by not running tcpserver,
which listens on port 25 and passes requests off to qmail-smtpd.

Regards,
Andrew


Paul Theodoropoulos
http://www.anastrophe.com
http://folding.stanford.edu
The Nicest Misanthrope on the Net 





[vchkpw] Vpopmail installation

2003-01-13 Thread Frank A
Hello All:

I installed Qmail today with Vpopmail.  The thing is I use Postfix for my
SMTP server and still want to.  I have Postfix configured to send mail to
Qmail's sendmail program like was shown on the inter7 website.  I just use
transport maps instead of fallback transport.  Either way, the mail comes
into Postfix and I see it being sent to qmail, but never gets delivered.  I
checked the qmail queue directory and I found the mail sitting in the todo/
directory.

My question is how do I start up Qmail to just run the queue and not have
it try and bind to port 25.  I want Postfix to remain bound to port 25 and
act as my SMTP server.  I just need Qmail to deliver mail to the
vpopmail/domains/whatever Maildir's so people can get their mail.

Please let me know what I need to startup Qmail do accomplish what I need.
Maybe, as soon as I get used to Qmail, I may use it to do all my mail
services.  I have just been using Postfix for so many years that I do not
want to stop using it to accept mail just yet.  I love the Virtual Mail
though, vpopmail is fantastic..

Thanks for you help in advance..

Frank






Re: [vchkpw] Vpopmail installation

2003-01-13 Thread Rick Widmer
At 09:20 PM 1/13/03 -0500, Frank A wrote:

My question is how do I start up Qmail to just run the queue and not have
it try and bind to port 25.


That pretty much is the answer too...  Run qmail, but don't start it 
listening on port 25.  Running qmail is related to a .rc file in the 
/var/qmail directory, or something copied into your startup scripts to run 
qmail-send.  Listening on port 25 is started in inetd, xinetd or tcpserver 
is run from your startup scripts.  It depends on who's instructions you 
used to set up qmail, and what OS you are on.


Please let me know what I need to startup Qmail do accomplish what I need.
Maybe, as soon as I get used to Qmail, I may use it to do all my mail
services.


I bet you would save a lot of time and headaches if you just follow the 
instructions on one of the qmail + vpopmail + qmailadmin toasters and go 
for a standard setup.  The biggest problem I've seen with qmail, is that it 
goes so long between problems that you have forgotten everything you once 
knew about it when you need to work on it.  :)


Rick

Who hasn't had to mess with my mail server in over 302 days.




[vchkpw] Vpopmail Installation on Redhat 8.0

2003-01-07 Thread Chris Robinson




Hi

I have just downloaded vpopmail and tried to 
compile it. Pentium 1GHZ SCSI server 2 x 9 GByte drives. qmail and 
ezmlm are already installed and working. It gives the following 
errors:

make all-recursivemake[1]: Entering 
directory `/home/ftp/qmail/vpopmail-5.2.1'Making all in cdbmake[2]: 
Entering directory `/home/ftp/qmail/vpopmail-5.2.1/cdb'( cat warn-auto.sh; 
\echo CC=\'`head -1 conf-cc`\'; \echo LD=\'`head -1 conf-ld`\'; \cat 
find-systype.sh; \) | sh  systype/bin/sh: systype: No such file or 
directorymake[2]: *** [systype] Error 1make[2]: Leaving directory 
`/home/ftp/qmail/vpopmail-5.2.1/cdb'make[1]: *** [all-recursive] Error 
1make[1]: Leaving directory `/home/ftp/qmail/vpopmail-5.2.1'make: *** 
[all-recursive-am] Error 2
Can anyone help?

Chris and Liz Robinson34 Kingston 
RoadRomfordEssex RM1 3NBTel: 01708 757516 
Fax: 020 7681 2941Email: [EMAIL PROTECTED] [EMAIL PROTECTED]

BEGIN:VCARD
VERSION:2.1
N:Robinson;Chris
FN:Chris Robinson
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20030107T174045Z
END:VCARD