lat-pseudonyms - The lazy administrator's tool to add pseudonyms
Adds or deletes e-mail pseudonyms to existing user or group accounts on Mitel's SME servers (5.x/6.x). This tool is functionally equivalent to the 'Pseudonyms' 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 e-mail aliases in a batch process, or delete the standard pseudonyms on a remote machine via an ssh console.
See /usr/doc/lazy-admin-tools/example.pseudonyms for the format of the input file.
lat-pseudonyms -a -c ``username | pseudonym1 | pseudonym2''
lat-pseudonyms -a -i /path/to/quota.list
lat-pseudonyms -d [-f] -c ``user | pseudonym''
lat-pseudonyms -d [-f] -i /path/to/quota.list
The following options are supported:
user* : Must be a valid user or group on the server. pseudonym* : Must contain only lower-case letters, numbers, hyphens, periods and underscores, and should start with a lower-case letter.
* mandatory field
lat-pseudonyms -a -c ``harry | wizard | seeker''
Creates the pseudonyms 'wizard' and 'seeker' for user 'harry'.
lat-pseudonyms -a -i /root/pseudonyms.list
Creates the pseudonyms defined in /root/pseudonyms.list. Refer to /usr/doc/lazy-admin-tools/example.users for an example of an input file.
lat-pseudonyms -d -f -c ``harry | wizard | seeker''
Deletes pseudonyms 'wizard' and 'seeker' from user 'harry'. The pseudonyms are deleted without prompting (-f).
lat-group(8), lat-users(8), lat-ibays(8), lat-quota(8), lat-domains(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>