Re: Upgrade from 4.9.10 to 4.10.35

2001-08-28 Thread Ken Jones

On Mon, 2001-08-27 at 14:44, Brad Dameron wrote:
 First off:
 
 Using mysql for authentication.
 
 Well I tried to upgrade vpopmail so I could upgrade my qmailadmin for
 testing. But after I upgraded my users could no longer authenticate.
 
 vchkpw: vpopmail user not found
 
 I used the exact same configuration was I did with 4.9.10. It is listed
 here:
 
 ./configure --enable-mysql=y \
 [EMAIL PROTECTED] \
 --enable-default-domain=tscnet.com \
 --enable-large-site=y \
  ^
enable large site has been removed from 4.10 and replaced with
  --enable-many-domains=n|y   
Default is yes, no optimizes for sites with one domain and many users

You want --enable-many-domains=n

Which means it is looking for only one table vpopmail
that holds all the users. You have one table per domain.
Hence it can't find the user in the vpopmail table.

Ken Jones

 --enable-sqlincdir=/usr/local/include/mysql \
 --enable-sqllibdir=/usr/local/lib/mysql \
 --enable-logging=v \
 --enable-log-name=pop3 \
 --enable-passwd=n
 
 I added in the following to my configure script:
 
 --enable-auth-logging=y
 
 which should not of made my users not be able to authenticate. Yes I did
 modify the vmysql.h file and put my passwords in.
 
 I have tried several things. But no go. I looked over the vmysql.h file for
 table changes or something but didn't anything that would cause the problem.
 It is like it no longer recognizes my default-domain. I am not a noob here.
 So please give me some advanced advice.
 
 ---
 Brad Dameron  
Network Account Executive
 TSCNet Inc.  
 www.tscnet.com
 Silverdale, WA.  
 1-888-8TSCNET
 
 
 
 





RE: Upgrade from 4.9.10 to 4.10.35

2001-08-28 Thread Brad Dameron

Hey ken,

That worked. However vpopmail will no longer authenticate any users that use
the aliased domain name.

So if a user does username@tscnet.com it authenticates. If a user does
username@sinclair.net (our other domain) it says user not found. What do I
need to do to get it to authenticate the second domain. Is there now a MySQL
table or change that needs to be done. I read that the new vpopmail uses
MySQL for aliases and other things.

---
Brad Dameron
Network Account Executive
TSCNet Inc.
 www.tscnet.com
Silverdale, WA. 
1-888-8TSCNET



-Original Message-
From: Ken Jones [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 28, 2001 4:41 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Upgrade from 4.9.10 to 4.10.35


On Mon, 2001-08-27 at 14:44, Brad Dameron wrote:
 First off:

 Using mysql for authentication.

 Well I tried to upgrade vpopmail so I could upgrade my qmailadmin for
 testing. But after I upgraded my users could no longer authenticate.

 vchkpw: vpopmail user not found

 I used the exact same configuration was I did with 4.9.10. It is listed
 here:

 ./configure --enable-mysql=y \
 [EMAIL PROTECTED] \
 --enable-default-domain=tscnet.com \
 --enable-large-site=y \
  ^
enable large site has been removed from 4.10 and replaced with
  --enable-many-domains=n|y
Default is yes, no optimizes for sites with one domain and many users

You want --enable-many-domains=n

Which means it is looking for only one table vpopmail
that holds all the users. You have one table per domain.
Hence it can't find the user in the vpopmail table.

Ken Jones

 --enable-sqlincdir=/usr/local/include/mysql \
 --enable-sqllibdir=/usr/local/lib/mysql \
 --enable-logging=v \
 --enable-log-name=pop3 \
 --enable-passwd=n

 I added in the following to my configure script:

 --enable-auth-logging=y

 which should not of made my users not be able to authenticate. Yes I did
 modify the vmysql.h file and put my passwords in.

 I have tried several things. But no go. I looked over the vmysql.h file
for
 table changes or something but didn't anything that would cause the
problem.
 It is like it no longer recognizes my default-domain. I am not a noob
here.
 So please give me some advanced advice.

 ---
 Brad Dameron  
Network Account Executive
 TSCNet Inc.  
 www.tscnet.com
 Silverdale, WA.  
 1-888-8TSCNET