Version 1.26.4

Released: 2006-03-24

crontab user template new

template file for user crontabs. Allows admins to add header/environmental variables for things like email addresses, etc.

Absence of the template will default DA to the current method of adding cronjobs.

Create the template in:


A sample layout would be:


All tokens:


Magic token that dumps all other tokens and their values. new

In all field that can be tokenized, there will be several tokens with certain values that a person can use to be tokenized. Apart from hunting down the documentation, there wasn't a simple way to find out all of the tokens that he can use.

The magic token called DUMPTOKENS will be available in all places that can be tokenized: templates, skins, welcome messages, default index.html files, etc (almost anywhere).

If you add:


Then it will replace that token with all tokens, values in the following format(example):


This token is really designed only for debugging/devlopment puposes.

new tokens in the user_limit.txt email new

LANG=en  (or whatever languages is set to for that user).

CMD_API_DNS_ADMIN & CMD_API_DNS_CONTROL return url encoded zone new




Both return the raw zone file.

This feature will allow you to use:



to give a far easier parseable output.

Output is 1 line per type. Url encoded.

Sample output:

SRV=,, new

custom script for ftp accounts:



Environmental vars for:

username=da username
user= ftp username, eg: "fred"
login=if IP is owned or system account: "fred"  shared: ""
passwd=plaintext pass.  If this may be blank for root update only.
gecos=account type (system, ftp, etc.. can probably ignore this field)
root= the document root path for the account
file=file password is stored in /etc/proftpd.passwd or /usr/local/directadmin/data/users/username/ftp.passwd

Environmental vars for:

username=da username
user= ftp username, eg: "fred"
login=if IP is owned or system account: "fred"  shared: ""
file=file password is stored in /etc/proftpd.passwd or /usr/local/directadmin/data/users/username/ftp.passwd

tool to monitor partition disk usage (SKINS) new

Will monitor a list of partitions, default will be:






if any of those partitoins doesn't actually exist on your system, it won't be checked.

List will be in the templates directory, ability to copy it to "custom" to add/remove your own partitions. File is called:


and contains a list of partitions.

Will also be a message template for the warning.


option to check minutely or daily. (each time the dataskq is run, or when the tally is run)

in the directadmin.conf:


0 is off

1 is minutely

2 is daily

Default with nothing set it 2 (daily).

Thereshold (in percent):

partition_usage_threshold=95 (95 is the default is nothing is set)

If the usage of a given partition exceeds the partition_usage_threshold, an email is sent to all admins. This email is only sent once per day if the usage is not reduced or settings changed. (message time history stored in admin.conf)




<td class=list>
Warn Admin's at <input type=text name=partition_usage_threshold size=2 value="|PART_THRESH|">% partition usage
<td class=list>
Check Every: &nbsp;<input type=radio name=check_partitions value="1" |PARTMINUTECHECKED|>Minute &nbsp;<input type=radio name=check_partitions value="2" |PARTDAYCHECKED|>Day &nbsp;<input type=radio name=check_partitions value="0" |PARTNEVERCHECKED|>Never

ability to change the ftp path/option without needing the old password new

Related to: new

to compliment

a non-zero return value aborts the password change.

backup/restore domain pointer dns zones fixed

/var/named/ files for domain poitners were not being created during a restore.

change domain name with clustering loop fixed

If you have 2 DA servers, each pointing to each other with dns clustering (multiserver), when a domain name is changed at the User level, the remote server will call back to this server and delete the zone before the local one gets to rename it. This becaus the local server deletes and re-adds the zone on the remote machine, but fails to tell it that "this is with regards to clustering so dont call it to your own cluster".

Fix will include a flag to mention to the remote box that it's with regards to clustering, thus the remote box won't call back to delete the zone.


set the user quota to unlimited before dovecot conversion fixed

During the conversion of emails, if the mbox inbox file is larger than the available free space for the user, the conversion will fail.

This will allow a temporary upgrade of the disk quotas to unlimited during the conversion. Once done, it will return the quota to the Users specified setting.

remove reseller cron backups after reseller removed fixed


echo -e "action=backup&id=1&owner=resellername"

crons exist after the reseller has been removed.




remove the entry, and run:

crontab -u diradmin -e

to remove the entry as well.

Don't set installed=yes if a plugin's return non-zero value fixed

Don't set installed=yes if a plugin's return non-zero value.

If non-zero is returned, plugin is not set to "installed".

Include webmail data in quotas, and delete fixed

Count the user's /var/www/html/webmail/tmp/* data towards his total usage.

Also delete the data when the domain is deleted.

Last Updated: