Routelocal Channel Option

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


Short circuiting rewriting of routing addresses (routelocal)

The routelocal channel option causes the MTA, when rewriting an address to the channel, to attempt to "short circuit" any explicit routing in the address. Explicitly routed addresses (using !, %, or @ characters, or with an address embedded within quotes as the local-part of the address) will be simplified. (The "l" channel defaults to routelocal behavior.)

For instance, if domain.com is a domain that rewrites to a channel marked with the routelocal channel option, then any of the addresses


somewhere.else.com!user@domain.com
user%somewhere.else.com@domain.com
@domain.com:user@somewhere.else.com
"user@somewhere.else.com"@domain.com

will be rewritten to simply user@somewhere.else.com.

Use of this keyword on "internal" channels, such as internal TCP/IP channels, can potentially allow simpler configuration of SMTP relay blocking.

However, note that this option should not be used on channels that may require explicit @mailhost source routing or other routing, such as typical Oracle Messaging Server MTA internal TCP/IP channels.


See also: