On Jul 10, 2005, at 4:55 PM, Scott Andrews wrote:
Sorry for a lame question - I'm new to this all, so please be gentle!

 Before I can add a mail list through QmailAdmin and store it in MySQL
 I have to either use mktab with ezmlm or create the table
 automatically.

 Is it possible to have the request for the new mailing list create the
 database, and or table?  Have I missed something in the ezmlm or
 QmailAdmin install process which takes care of this?

 If not, has anyone created a scripts and called it from the cgi?

QmailAdmin doesn't create the table.

This should be a feature request though, to have a checkbox for "create table if it doesn't already exist", or something like that.

Or, I guess we could call ezmlm-mktab after ezmlm-make if the user has chosen to store the data in MySQL. We'd probably have to link into libmysql so we could verify that the user/pass/db settings were valid, and check if the table already exists.

If the user has access to that database, and the table doesn't exist, we can read the output of ezmlm-mktab and push it into MySQL using the MySQL API.

This is currently in a Bug Tracker on SourceForge:

http://sourceforge.net/tracker/index.php? func=detail&aid=1188370&group_id=6691&atid=106691

It would be great to have, but someone will have to volunteer to write it...

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: sniffter.com

Reply via email to