Alias_entry alias option

From Messaging Server Technical Reference Wiki
Jump to: navigation, search



Alias options: alias_entry (alias or address)

The alias_entry alias option is the fundamental part of an alias: it specifies a translation address (or alias) for an alias. For an alias that translates to multiple addresses or aliases, multiple alias_entry settings may be made. Each value specified as an alias_entry may be a fully qualified address, or a short form alias name itself. Each individual alias_entry value corresponds to what in legacy configuration would be one address or alias on the right hand side of an alias. The entire set of alias_entry values for an alias corresponds to what in legacy configuration would be the list of addresses/aliases on the right hand side of an alias.

Every MTA configuration should include at least a postmaster alias. E.g.,


msconfig> show alias.*
role.alias:root@default-domain.alias_entry = postmast
role.alias:root@mta-host.alias_entry = postmast
role.alias:postmaster@mta-host.alias_entry = postmast

Since the initial configuration creates in LDAP a postmaster group with postmaster@default-domain as the primary address (mail attribute) and with postmast@default-domain as an alias (mailAlternateAddress attribute), these alias entries ensure that alternate "postmaster-ish" sorts of addresses, such as for instance postmaster@mta-host, will be directed to the postmaster group.

The distinction between default-domain and mta-host is the distinction between the default domain for users' e-mail addresses, vs. the (possibly different -- indeed a different name is recommended) DNS name of the host system itself. For instance:


msconfig> show alias.*
role.alias:root@example\.com.alias_entry = postmast
role.alias:root@host\.example\.com.alias_entry = postmast
role.alias:postmaster@host\.example\.com.alias_entry = postmast

See also: