I've got another question for the forum. I'd probably be better off posting this to the developer's forum, but since I don't have post access there yet I'll try here.
I'm working on some automation scripts. I am exporting domain names and email addresses within those domain names from our existing hosting platform, and I want to have a script read those exported files and automatically create a new user per for each domain, define the domain, and create the e-mail address within that domain on the ISPCOnfig machine.
I've made some progress, simply stuffing records of the appropriate type (at least, what I believe to be of the appropriate type
) into the isp_dep, isp_isp_domain, etc tables. However, I'm not really sure that I'm stuffing the right stuff into the right tables.
I am now invetigating the PHP library files to see if I can find any functions to call to automate this but I'm not making any progress. Could anyone point me to existing PHP functions I can call to make my life easier?
I would normally use the SOAP interface I've heard about, but we're running the version of ISPConfig released just before the SOAP interface became available, and I don't have the luxury of upgrading my ISPConfig install.