Version 1.19.6

Released: 2003-10-30

changed ticket system "From" header new

The From header in ticket system email notifications used to be set to the sender of the message. Changed it to be From: Message System user@hostname.com where "user" is the person receiving the message. Basicially it will be "From" the person it's being sent "To", since the message system is setup by that person anyway.

Filter values wern't html safe new

A user added <html> to be filtered from email, but <html> wasn't being show as an html safe string, so it didn't show up in the table (it did show up in the actually filter). Changed code to use safe characters.

Tool that will run custom scripts for base features new

This feature will allow server administrators to add customized scripts for various tasks such as creating/removing Users and Domains.

If the script doesn't exist, it won't be run. If it exists, it will be. Scripts will be located in /usr/local/directadmin/scripts/custom/* and will be listed in a README file in the directory.

README is as follows:

#############################################

The contents of this file will map what script names will be associated with what commands.

##########################################

domain_create_pre.sh            - Runs BEFORE a domain is created
domain_create_post.sh           - Runs AFTER a domain is created
domain_destroy_pre.sh           - Runs BEFORE a domain is destroyed
domain_destroy_post.sh          - Runs AFTER a domain is destroyed

environmental variables:

bandwidth=# or unlimited
cgi=ON or OFF
defaultdomain=yes or no
domain=domain.com
ssl=ON or OFF
suspended=yes or no
username=ownerofdomain

##########################################

user_create_pre.sh              - Runs BEFORE the user is created, but after it's confirmed.
                                  If this script returns anything but zero, the creation is aborted
user_create_post.sh             - Runs AFTER the user is created.
user_destroy_pre.sh             - Runs BEFORE the use is destroyed.  If this script returns anything
                                  but zero, the destruction is aborted.
user_destroy_post.sh            - Runs AFTER the user is destroyed.

environmental variables:

account=ON or OFF
aftp=ON or OFF
bandwidth=# or unlimited
cgi=ON or OFF
creator=username
dnscontrol=ON or OFF
docsroot=./data/skins/default (relative path to document root)
domain=domain.com
domainptr=# or unlimited
email=email@domain.com
ftp=# or unlimited
ip=1.2.3.4
mysql=# or unlimited
nemailf=# or unlimited
nemailml=# or unlimited
nemailr=# or unlimited
nemails=# or unlimited
ns1=ns1.domain.com
ns2=ns2.domain.com
nsubdomains=# or unlimited
package=packagename
passwd=the password entered
quota=# or unlimited
sentwarning=no (refers to resource usage limits notification emails)
skin=default (name of skin)
ssh=ON or OFF
ssl=ON or OFF
suspend_at_limit=ON or OFF
suspended=no
username=username
usertype=user or reseller or admin
vdomains=# or unlimited
zoom=100 (completely useless value token for the css zoom feature)

Email quotas for virtual pop accounts new

Adding support to limit the size of an individual pop account. Changes are required to be done to the /etc/exim.conf:

add the last line to the virtual_localdelivery transport (this should be done automatically):

virtual_localdelivery:

  driver = appendfile
  create_directory
  delivery_date_add
  directory_mode = 700
  envelope_to_add
  file = /var/spool/virtual/${domain}/${local_part}
  group = mail
  mode = 660
  return_path_add
  user = "${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}"
  quota = ${if exists{/etc/virtual/${domain}/quota}{ ${lookup{$local_part}lsearch*{/etc/virtual/${domain}/quota}{$value}{0}}}{0}}
SKINS:

user/email/pop_create.html - added quota form value

user/email/pop_modify.html - added quota form value and |QUOTA| token for it's value

da-popb4smtp now supports imap new

added support for the imapd with da-popb4smtp

users can see databases of users with similar usernames fixed

the mysql_list_dbs function uses both _ and % for wildcards. DirectAdmin uses username_% for finding the databases, but since _ is a wildcard as well, it needs to be escaped.

Freebsd Admin Services Control fix fixed

Fixed the path for controlling services in /CMD_SHOW_SERVICES

Delete pop account data when virtual pop account is deleted. fixed

The account data for a pop account wasn't deleted along with the account. This will remove the /var/spool/virtual/domain.com/user file when user@domain.com is removed.

Last Updated: