On Mon, 2001-10-01 at 15:54, Brandon Ramirez wrote: > Just for future reference, how hard would it be to convert the data in the cdb files >into a MySQL table? > > Right now, I have no reason to stop using cdb, it works great and I don't want to >mess with anything. > > But in the future when my company can afford to get more server boxes online, I'd >like to have web, database, and DNS/email servers all separate to balance the load. I >would like to be able to make a script that integrates into our account manager >software running on the web server that adds or removes users from the database. That >way nobody has to connect to the mail server to update vpasswd files. > > So in the future, would it be complicated to take all of the cdb files and put the >data into a database? Is there a way to convert them all at once, or will I have to >copy the data myself?
Just parse out the fields in the vpasswd file and insert them with SQL statements into the vpopmail table. Ken Jones
