newCMD_API_DOMAIN - domain api functions
The commands are exactly the same as the CMD_DOMAIN functions, so you can use the skins for a reference.
Sets the default domain for a user account (~username -> public_html)
default=anytext action=select select0=domain.com
Create a domain
action=create domain=domain.com bandwidth=1234 or ubandwidth=unlimited quota=1234 or uquota=unlimited ssl=ON or OFF cgi=ON or OFF php=ON or OFF
Modify a domain
action=modify domain=domain.com bandwidth=1234 or ubandwidth=unlimited quota=1234 or uquota=unlimited ssl=ON or OFF cgi=ON or OFF php=ON or OFF
Delete a domain:
delete=anything confirmed=anything select0=domain.com
Use domain_change_pre/post.sh, specified here in 1.23.2:
fixedEmail filter segfaults
when a filter is removed, DA "cleans" the filter file to setup 1 filter per numeric value. (eg, 0=filterinfo). The new value "action" wasn't taken into account, thus DA tries to read it as a number.
fixedrandom passwords seed
added a seed for the random password generator for the "resend email" with the "new random password" checked.