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/example.domains 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:
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 assumed.
* mandatory field
lat-domains -a -c ``hogwarts.net | School of witchcraft | hogwarts''
Creates the domain name 'hogwarts.net' and links it to i-bay 'hogwarts'.
lat-domains -a -c ``quidditch.net''
Creates the domain name 'quidditch.net' 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/example.domains 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 http://www.contribs.org/contribs/mblotwijk/
(c)2003-2004, Altiplano bvba (http://www.altiplano.be). Released under the terms of the GNU license.
Please report bugs to <Bugs@Altiplano.Be>