mysql and cdb authentication

2000-09-05 Thread Greg Kopp

I want to migrate my domains from cdb to mysql authentication.

I compiled vpopmail 4.8.7 with:

./configure \
--enable-roaming-users=y \
--enable-tcpserver-file=/etc/tcp.smtp \
--enable-relay-clear-minutes=30 \
--enable-logging=y \
--enable-hardquota=1500 \
--enable-mysql=y \
--enable-sqlincdir=/usr/include/mysql \
--enable-sqllibdir=/usr/lib/mysql

I changed vmysql.h to use "domains" as the default database, and I left
"vpopmail" as the default table name.

Once installed, I can't check my mail on any cdb domain.

Where did I go wrong?




Re: mysql and cdb authentication

2000-09-05 Thread Ken Jones

Greg Kopp wrote:
 
 I want to migrate my domains from cdb to mysql authentication.
 
 I compiled vpopmail 4.8.7 with:
 
 ./configure \
 --enable-roaming-users=y \
 --enable-tcpserver-file=/etc/tcp.smtp \
 --enable-relay-clear-minutes=30 \
 --enable-logging=y \
 --enable-hardquota=1500 \
 --enable-mysql=y \
 --enable-sqlincdir=/usr/include/mysql \
 --enable-sqllibdir=/usr/lib/mysql
 
 I changed vmysql.h to use "domains" as the default database, and I left
 "vpopmail" as the default table name.
 
 Once installed, I can't check my mail on any cdb domain.
 
 Where did I go wrong?

You'll need to convert your vpasswd files into mysql. Use the 
following command:

./vconvert -c -s

That will convert every virtual domain. I recommend moving
one domain and testing it.

./vconvert -c -s domainname

Ken



RE: mysql and cdb authentication

2000-09-05 Thread Greg Kopp

I did that and it stil fails, now it's failing on both.

If I recompile vpopmail without mysql, it works again

 -Original Message-
 From: kbo [mailto:kbo]On Behalf Of Ken Jones
 Sent: Tuesday, September 05, 2000 3:19 PM
 To: Greg Kopp
 Cc: [EMAIL PROTECTED]
 Subject: Re: mysql and cdb authentication
 
 
 Greg Kopp wrote:
  
  I want to migrate my domains from cdb to mysql authentication.
  
  I compiled vpopmail 4.8.7 with:
  
  ./configure \
  --enable-roaming-users=y \
  --enable-tcpserver-file=/etc/tcp.smtp \
  --enable-relay-clear-minutes=30 \
  --enable-logging=y \
  --enable-hardquota=1500 \
  --enable-mysql=y \
  --enable-sqlincdir=/usr/include/mysql \
  --enable-sqllibdir=/usr/lib/mysql
  
  I changed vmysql.h to use "domains" as the default database, and I left
  "vpopmail" as the default table name.
  
  Once installed, I can't check my mail on any cdb domain.
  
  Where did I go wrong?
 
 You'll need to convert your vpasswd files into mysql. Use the 
 following command:
 
 ./vconvert -c -s
 
 That will convert every virtual domain. I recommend moving
 one domain and testing it.
 
 ./vconvert -c -s domainname
 
 Ken