Domain_uplevel MTA option
From MsgServerDocWiki
(Link to this page as [[Domain uplevel MTA option]])
Subdommain handling in domain lookups (domain_uplevel)
The domain_uplevel MTA option affects how domain names are searched for and used in direct LDAP mode. The option takes a bit-encoded integer argument, where each bit controls a particular aspect of domain name searching/usage; see below. The default value is 0.
| Bit | Value | Usage |
|---|---|---|
| 0 | 1 | When set, domain map searches, such as the $V search in the typical configuration's $* rewrite rule, iterate with successive initial portions of the domain name stripped off until a match is found (or the domain name is exhausted). That is, with this bit set then a domain entry in the DC tree implicitly causes all subdomains of that domain to also "match" for purposes of domain lookups.
|
| 1 | 2 | When set, searches on user addresses also look for the user address with the original domain name replaced by the domain name found during the domain map process (the "canonical" domain name). In particular, this can be useful either when bit 0 (value 1) is set (subdomains implicitly present due to the presence of a domain in the DC tree), or when aliased domains are in use. |
| 2 | 4 | Controls whether the domain name found during the domain map process (the "canonical" domain name) is compared with the configutil parameter service.defaultdomain (which can be overriden by the ldap_default_domain MTA option) when deciding whether an entry is in a hosted domain.
|
| 3 | 8 | New in Serrano. Use the "canonical" domain name as the domain name in an implicit mailEquivalentAddress attribute for address reversal purposes (reverse_url lookups).
|
Bit 0 is the least significant bit.
See also: MTA options, Option value syntax, Getting option changes to take effect, MTA options, listed alphabetically, MTA options, listed by functional groups, Direct LDAP domain lookup options, Direct LDAP lookups, Rewrite rule $V LDAP lookup, Rewrite rule match-first pattern, Address reversal, reverse_url MTA option, ldap_default_domain MTA option, ldap_equivalent_addresses MTA option, New features in Serrano.

