Version 1.31.3
Released: 2008-02-11
new
ability 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
SKINS:
user/email/pop_modify.html
change:
|USER|@|DOMAIN|
to:
<input type=text name=newuser value="|USER|" size=16>@|DOMAIN|
in the "Username:" row.
new
Ability 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.
new
CMD_API_IP_CONFIGCMD_API_IP_CONFIG ... the API for CMD_IP_CONFIG
API Calls for Resellers to manage their IPs.
VIEW 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 1.2.3.4, fyi.
I've added ip=1.2.3.4 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=1.2.3.4
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=1.2.3.4
(select1=4.5.6.7)
To delete:
delete=anything
Set to shared:
share=anything
Set to free:
free=anything
new
http authentication for pluginsuser/pass URL can be used for plugins.
http://user:pass@domain.com/plugin.tar.gz
new
Ability 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:
reseller_warning_thresh=75
user_warning_thresh=80
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.
new
Option to not run the tally after a Reseller/Admin Level restoreAftere 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.
tally_after_restore=1
is the default (not present) in the directadmin.conf.
To turn it off, add:
tally_after_restore=0
to the directadmin.conf and restart directadmin.
fixed
CMD_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.
fixed
Restore not adding correct "access_host" for remote mysql databaseIf 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.