We need to automate maintenance tasks on cPanel for accounts which do not need the ability to host web sites, do not need FTP, and do not need their own DNS zone either.
Project: create a cPanel plugin that according to the account package being created, either
A) Before the creation of the account: Prevents the creation of the DNS zone, the related Apache virtual host, and the ftp user.
B) After the creation of the account: Deletes the related DNS zone, the related Apache virtual host, and the related ftp user.
The plugin should present a simple interface, listing all the available packages, and allow for each package to tick 3 checkboxes (VHost, DNS, FTP). A ticked checkbox means that the corresponding ability shall be deleted or inactivated. The plugin should of course allow to save the configuration and automatically check the list of available packages to update its configuration files. If possible the plugin should be written in PHP.
NOTE: The plugin should create, modify or delete cPanel configuration files in a way that doesn't mess things up when maintenance is done with:
# /usr/local/cpanel/bin/apache_conf_distiller --update
This means that we don't want to see all the deleted or inactivated vhosts reappear in Apache after we run these commands. Same goes for DNS and FTP.
Intellectual Property and Copyrights from this work will belong to us.