NAME

lat-pseudonyms - The lazy administrator's tool to add pseudonyms


DESCRIPTION

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.


SYNOPSIS

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


OPTIONS

The following options are supported:

-a, --add
Add a pseudonym to a user or group.

-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 pseudonym from the server

-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 pseudonyms.

Arguments:

   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


EXAMPLES

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).


SEE ALSO

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

Version 0.9.0 (2004-09-08). The latest version is hosted at http://www.contribs.org/contribs/mblotwijk/


COPYRIGHT

(c)2003-2004, Altiplano bvba (http://www.altiplano.be). Released under the terms of the GNU license.


BUGS

Please report bugs to <Bugs@Altiplano.Be>