Alias_magic MTA option

From MsgServerDocWiki

(Link to this page as [[Alias magic MTA option]])
Jump to: navigation, search


One or more of the options discussed on this page are restricted. Restricted options are not intended for general use and if set may cause severe operational problems. If you believe you need to set a restricted option you should first check with Sun support.


Alias lookup control (alias_magic)

The alias_magic option controls the ordering of alias lookups. It takes a decimal-encoded integer argument, where each decimal digit represents a type of alias lookup, and the ordering of the digits controls the ordering of the lookups. The ones' place controls the first thing looked up; the tens' place controls the second thing looked up; the hundreds' place controls the third thing looked up; etc. A value of 1 means personal aliases; a value of 2 means logical aliases; a value of 3 means the alias database; a value of 4 means the alias file; a value of 6 means the alias_url0 LDAP lookup; a value of 7 means the alias_url1 LDAP lookup; a value of 8 means the alias_url2 LDAP lookup; a value of 9 means the alias_url3 LDAP lookup. The default value is normally 98764321. (Though if dirsync_hack=1, then the default for alias_magic is 654321; setting alias_magic explicitly will override dirsync_hack=1.)

Sun ONE Messaging Server MTA documentation instructs to set

alias_magic=8764

for direct LDAP mode. Note that that does not enable alias_url3 lookups (value 9) or alias database lookups (value 3). An alternate, sensible value for direct LDAP plus alias database lookups would be

alias_magic=987643

Caution: Support for this option is RESTRICTED. As the alias_magic option affects MTA operation at a very fundamental level, in particular its fundamental means of doing alias lookups, which can have wide-ranging, both obvious and subtle effects, setting this option to other than a Sun-engineering-recommended value is not supported.

See also: MTA options, Option value syntax, Getting option changes to take effect, MTA options, listed alphabetically, MTA options, listed by functional groups, Alias and address options, Aliases, Alias database, Alias file, Direct LDAP mode, alias_urln options, alias_url0, alias_url1, alias_url2, alias_url3, dirsync_hack.

Personal tools