Re: [vchkpw] customizing mysql table

2003-11-12 Thread jean
> I would think that recoding a PHP script would be easier to do than 
> editing source files for vpopmail, as with the next upgrade your 
> vpopmail will overwrite the changes you made. So i would personally 
> suggest, change the php script.

I guess it might be the only way.
I didnt want to do it at first because its a complex system with over 20mb of php 
files (not only for webmail).

Anyway, i'd like to make a suggestion for the vpopmail developers: to user some kind 
of mysql.conf table where the user can customize the layout. I've seen this in some 
other patch, something like:
database: vpopmail
table: users
user_column: id
pass_column: password

thanks,

Jw




Re: [vchkpw] customizing mysql table

2003-11-12 Thread Hugo Cisneiros
jean wainer wrote:
Hi,
Hau

I have a existing qmail installation (with custom webmail in php) which was
already bought with some generic japanese mysql-auth patch in a undocumented
setup.
I'm currently rebuilding the server, and looking to use vpopmail instead of
the old setup.
I want to migrate the old database to the "new" server (using vpopmail), and
my question is:
Is it possible to easily customize (change table name,user column name, etc)
the mysql table which vpopmail will use to authenticate?
Do I have to change anything else besides vmysql.h?
I already did this, only changing the vmysql.h is enough.

thanks in advance,
Jw
[]'s
Hugo



Re: [vchkpw] customizing mysql table

2003-11-12 Thread X-Istence
jean wainer wrote:

Hi,

I have a existing qmail installation (with custom webmail in php) which was
already bought with some generic japanese mysql-auth patch in a undocumented
setup.
I'm currently rebuilding the server, and looking to use vpopmail instead of
the old setup.
I want to migrate the old database to the "new" server (using vpopmail), and
my question is:
Is it possible to easily customize (change table name,user column name, etc)
the mysql table which vpopmail will use to authenticate?
Do I have to change anything else besides vmysql.h?
thanks in advance,

Jw





 

You can add custom rows to the MySQL table, and vpopmail will not be 
bothered or bother them at all, so if you wanted you could add a collumn 
named comments, and vpopmail would ignore it, but the rest would be able 
to retrieve the info if wanted.

No need to edit the source.

X




[vchkpw] customizing mysql table

2003-11-12 Thread jean wainer
Hi,

I have a existing qmail installation (with custom webmail in php) which was
already bought with some generic japanese mysql-auth patch in a undocumented
setup.

I'm currently rebuilding the server, and looking to use vpopmail instead of
the old setup.
I want to migrate the old database to the "new" server (using vpopmail), and
my question is:
Is it possible to easily customize (change table name,user column name, etc)
the mysql table which vpopmail will use to authenticate?
Do I have to change anything else besides vmysql.h?

thanks in advance,

Jw