list-aliases.pl

List aliases for a virtual server

This program displays a list of mail aliases that exist in the virtual server specified by the --domain command line option. This may be given multiple times to select more than one domain, or you can have aliases in all virtual servers output using the --all-domains flag. To output aliases in all domains owned by some administrator the --user parameter can be given, followed by a Virtualmin username.

To get more details about each alias, use the --multiline flag, which switches the output to a format more easily parsed by other programs. To just list the alias email addresses, using the --name-only parameter.

In the regular table-format output mode, if an alias has an associated description and multiline mode is enabled, it will be displayed after the alias's from address, separated by a # character.

Some aliases managed by Virtualmin are not created by users directly, but are instead created as part of some other process, such as the addition of a mailing list. Such aliases are not displayed by default, as editing them can cause problems with the associated mailing list. To include these aliases in the list produced by list-aliases.pl, use the --plugins command line flag.

Command Line Help

usage: list-aliases.pl   [--all-domains] | [--domain domain.name] |
                         [--user username]*
                         [--multiline | --name-only]
                         [--plugins]
 
virtualmin_api_list_aliases.txt (319 views) · Last modified: 2008/12/08 13:12
 
Recent changes RSS feed

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.