Sun Java System Messaging Server 6 2005Q4 MTA Developer's Reference

Description

Use this routine to determine which channel an address rewrites to. The address to be rewritten can be an envelope or header address, and can be forward or reverse pointing. The nature of the address is specified with the address_type argument. The following table lists the possible values for each combination: forward pointing envelope, reversing pointing envelope, forward pointing header, reverse pointing header:

Types of Address  

Value  

Forward pointing envelope address 

0, MTA_BCC, MTA_CC, MTA_ENV_TO, MTA_TO

Reverse pointing envelope address 

MTA_ENV_FROM

Forward pointing header address 

MTA_HDR_BCC, MTA_HDR_CC, MTA_HDR_TO

Reverse pointing header address 

MTA_HDR_FROM

In most cases, a value of MTA_ENV_TO is appropriate. Other values will typically give the same result, unless the MTA configuration has rewrite rules that are sensitive to the distinctions between the four types of addresses.