newability to change an email username (SKINS)
The virtual pop username can now be changed.
It will go through all files and folders that uses the account name and swap them.
And yes, it will also swap your roundcube mysql database if /var/www/html/roundcubes exists (assumes 'da_roundcube' db name, hardcoded)
It will also go into your vacation messages and change those as well if they have the same name.
It does not touch your aliases file, fyi.
To use this feature, simply go to the same place that you
<input type=text name=newuser value="|USER|" size=16>@|DOMAIN|
in the "Username:" row.
newAbility to get the filemanager to set the ownership and permissions you want.
new options for the directadmin.conf for file uploads in the filemanager:
fm_owners=|USER|:|GROUP| fm_file_permissions=644 fm_dir_permissons=755
Thos are the defaults.
You can change them to things like:
fm_owners=|USER|:apache fm_file_permissions=640 fm_dir_permissons=750
if you have suPhp.
However, although you can change |USER| to something else, I would not advise you do. You'll likely end up with permission problems if the user can't read his own files.. but for those who know what they're doing, the ability is there.
CMD_API_IP_CONFIG ... the API for CMD_IP_CONFIG
API Calls for Resellers to manage their IPs.
If nothing is passed, you get a url encoded string for all the IPs and their values, as owned by the Reseller who calls it.
Note that the IP value when decoded may be in the form: 1_2_3_4 instead of 22.214.171.124, fyi.
I've added ip=126.96.36.199 to the list of parameters for that IP anyway (which is redundant) so you can use the 2nd value instead of the index name if you don't want to swap out the _ characters.
Other returned parameters:
gateway= (will be blank) ip=188.8.131.52 netmask=255.255.255.0 ns=ns1.asdf.com (or blank) reseller=bob status=owned|shared|free value=#|user
The value will be the number of Users on that shared/server IP, or the name of the User that owns the IP. Blank if free.
If you POST to this command:
action=select select0=184.108.40.206 (select1=220.127.116.11)
Set to shared:
Set to free:
newhttp authentication for plugins
user/pass URL can be used for plugins.
newAbility to set threshold for usage email notification/warnings.
Previously the limits were hardcoded, 75% for Reseller limits, 80% for User limits.
This will move the hardcoded values into the directadmin.conf.
Default internal values:
These are the default and will not be present in the directadmin.conf files, but if you wish to change them, simply add the above entires, with the new values you want and restart DirectAdmin.
newOption to not run the tally after a Reseller/Admin Level restore
Aftere a Reseller or Admin restores a lower level account, the tally is run to sync all the stats. This can take more resorces than an Admin may want, so the option can be added to the directadmin.conf to prevent the tally from being run after restores.
is the default (not present) in the directadmin.conf.
To turn it off, add:
to the directadmin.conf and restart directadmin.
fixedCMD_WEBALIZER wasn\'t running as the correct user.
The uid/gid values were retrieved after the chroot, which was failing because it would have been searching in /home/user/etc/passwd.
Moved the uid/gid lookup before the chroot so the uid/gid values are actually retrieved properly. Was running as uid/gid 9999/9999 as a fallback.
fixedRestore not adding correct "access_host" for remote mysql database
If you are using a remote mysql databse server, and are using the "access_host" option in your mysql.conf to specify a host that DA will assign users to, this will fix the value of the access host assigned to the users when they're restored (creation restore). Previously, the localhost value was not set for the system account, as well, the server IP was used, ignoring the acces_host value. This fix add both during the restore.