Alternate addresses being rewritten

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

Why alternate addresses in the header are rewritten to the primary address?

It is expected that alternate addresses, in particular those that appear in a user's mailAlternateAddress LDAP attribute, will be replaced by the MTA to whatever address appears in the user's mail LDAP attribute. While this replacement can be disabled by, say, using the noreverse channel option, this is inadvisable since the application of address reversal is used for a variety of important purposes such as determing the proper postmaster address to use to report errors.

The correct way to avoid this sort of rewriting is to store the alternate address in a mailEquivalentAddress LDAP attribute instead of mailAlternateAddress. Unlike mailAlternateAddress, mailEquivalentAddress addresses are not replaced (reversed) by the MTA.

See also: