lat-domains - The lazy administrator's tool to manage domainnames


Creates or deletes domainnames on Mitel's SME servers. This tool is functionally equivalent to the 'virtual domains' option in the server-manager, but can be run from the command line or called from an other script. It allows you, for example, to create a large number of domain names in a batch process, or delete domain names on a remote machine via an ssh console.

See /usr/doc/lazy-admin-tools/ for the format of the input file.


lat-domains -a -c ``domain | description | i-bay''

lat-domains -a -i /path/to/domains.list

lat-domains -d [-f] -c ``domain''

lat-domains -d [-f] -i /path/to/domains.list


The following options are supported:

-a, --add
Add a domain name to the server

-c ``Arguments'', --command-line=``Arguments''
Take arguments from the command line. See the 'Arguments' section below for the various arguments that are accepted.

-d, --delete
Delete a domain name from the server. Wildcards (* and ?) are accepted.

-f, --force
Don't prompt before deleting.

-h, --help
Extended help for this tool

-i FILE, --input-file=FILE
Use the information from FILE to create or delete the domain name(s). See /usr/doc/lazy-admin-tools for an example of an input file.


   domain*     : Must contain one or more letters, numbers,
                 periods and minus signs. Wildcards (* and ?)
                 can only be used to delete domainnames.
   desription  : Free text description of the domain.
   i-bay       : Location where the content for the website
                 can be found. Must be a valid ibay-name.
                 Otherwise the primary website of the server is
   * mandatory field


lat-domains -a -c `` | School of witchcraft | hogwarts''

Creates the domain name '' and links it to i-bay 'hogwarts'.

lat-domains -a -c ``''

Creates the domain name '' and links it to the primary website.

lat-domains -a -i /root/domains.list

Creates the domain names defined in /root/domains.list. Refer to /usr/doc/lazy-admin-tools/ for an example of an input file.

lat-domains -d -f -c ``*.net''

Deletes all '.net' domain names without prompting (-f).


lat-users(8), lat-group(8), lat-pseudonyms(8), lat-ibays(8), lat-quota(8), lat-hosts(8), lat-procmail(8), lat-pptp(8), lat-dump(8)


Version 0.9.0 (2004-09-08). The latest version is hosted at


(c)2003-2004, Altiplano bvba ( Released under the terms of the GNU license.


Please report bugs to <Bugs@Altiplano.Be>