Forum Moderators: bakedjake
now on the dedicated server, I have to add domains, user accounts etc through SSH, which for the amount of domains I process, can take up quite a long time.
I am currently planning to build a web based control panel for me to use (to add domains etc) and also for customers to use to add POP3 accounts, change passwords etc.
The panel runs of a MySQL database, and I'm wondering whether there is a shell script, or php script, or some other script which will re-write the virtusertable etc, every hour or so (the hourly bit is easy - CRON)
And also one that can change passwords if required to, and delete users.
I do NOT want to use Webmin for these tasks.
My main one, is the Virtusertable, if I could get the output from the database, ie:
webmaster@domain.com ___ me
@domain.com ___ mailuser1
webmaster@domain2.com ____ me
@domain2.com ___ mailuser2
(_ just here for spacing purposes)
how would I write it into the virtusertable?
Any help will be very gratefully appreciated.