Aliases in Unified Configuration
msconfig> set alias:alias-with-quoted-periods.alias_entry address-or-alias
msconfig> set alias:first\.last@subdomain\.domain.\com.alias_entry "email@example.com"
alias-with-quoted-periods (appearing between
.alias_entry) is the alias, and the value on the right hand side is an address or alias to which the alias translates.
Note that each period in the alias name itself must be quoted with the backslash character. After the alias name, an unquoted period marks the end of the alias name, and the start of an alias option. The
alias_entry option is required, being the fundamental definition of the alias; additional alias options are optional.
An alias may translate to multiple addresses or aliases, (forming a so-called mail group). For such an alias, use multiple
set commands, e.g.,
msconfig> set alias:first\.last@subdomain\.domain.\com.alias_entry "firstname.lastname@example.org" msconfig> set alias:first\.last@subdomain\.domain.\com.alias_entry "email@example.com"
Optionally, other alias options in addition to
alias_entry may be set on an alias. Such optional alias options are especially relevant when defining a mailing list (which is merely a specially decorated form of alias, from the MTA's point of view), but may also be set on individual user aliases, e.g.:
msconfig> set alias:first\.last@subdomain\.domain\.com.alias_blocklimit 200
As an alternative to using
msconfig set commands, you may instead issue the command
edit aliases within
msconfig to enter an interactive mode of editting aliases as if they were in the legacy configuration alias file; use
:q to quit interactive editting mode, or
:x to save your edits and exit interactive editting mode.