doc/web/source/howto/manage_alias_addresses.rst
changeset 591 2b165e90e225
child 622 e60b8ed5fd35
equal deleted inserted replaced
590:9d343514b832 591:2b165e90e225
       
     1 ========================
       
     2 Managing alias addresses
       
     3 ========================
       
     4 aliasadd
       
     5 --------
       
     6 Syntax:
       
     7  | **vmm aliasadd** *address destination ...*
       
     8  | **vmm aa** *address destination ...*
       
     9 
       
    10 This subcommand is used to create a new alias *address* with one or more
       
    11 *destination* addresses.
       
    12 
       
    13 Within the destination address, the placeholders **%n**, **%d**, and **%=**
       
    14 will be replaced by the local-part, the domain, or the email address with
       
    15 **@** replaced by **=** respectively.
       
    16 In combination with alias domains, this enables domain-specific destinations.
       
    17 
       
    18 Example:
       
    19 
       
    20 .. code-block:: console
       
    21 
       
    22  root@host:~# vmm aliasadd john.doe@example.com d.user@example.com
       
    23  root@host:~# vmm aa support@example.com d.user@example.com e.user@example.com
       
    24  root@host:~# vmm aa postmaster@example.com postmaster+%d@example.org
       
    25 
       
    26 aliasdelete
       
    27 -----------
       
    28 Syntax:
       
    29  | **vmm aliasdelete** *address* [*destination*]
       
    30  | **vmm ad** *address* [*destination*]
       
    31 
       
    32 Use this subcommand to delete the alias with the given *address*.
       
    33 
       
    34 If the optional *destination* address is given, only this destination will
       
    35 be removed from the alias.
       
    36 
       
    37 Example:
       
    38 
       
    39 .. code-block:: console
       
    40 
       
    41  root@host:~# vmm ad support@example.com d.user@example.com
       
    42 
       
    43 aliasinfo
       
    44 ---------
       
    45 Syntax:
       
    46  | **vmm aliasinfo** *address*
       
    47  | **vmm ai** *address*
       
    48 
       
    49 Information about the alias with the given *address* can be displayed with
       
    50 this subcommand.
       
    51 
       
    52 Example:
       
    53 
       
    54 .. code-block:: console
       
    55 
       
    56  root@host:~# vmm aliasinfo support@example.com
       
    57  Alias information
       
    58  -----------------
       
    59          Mail for support@example.com will be redirected to:
       
    60               * e.user@example.com
       
    61