Specified route rewriting templates

Specified route rewriting templates, A@B@C or A@B@C@D
The special rewrite rule template format A@B@C works in the same way as the  usual A%B@C rule,  except that the routing system C will also be  inserted into the address as a source route. This inclusion of the routing system in the address may be needed by some channels that have  to establish a connection to the routing system and determine the name  of the routing system from the envelope To address. For instance, the rewrite rule host1.domain.com    $U@host1.domain.com@hub.domain.com would rewrite the address jdoe@host1.domain.com into the source routed address @hub.domain.com:jdoe@host1.domain.com. The routing system will be hub.domain.com.

The template format A@B@C@D uses A as the new username, B is the new host/domain specification, C is inserted as a source route, and D is  the routing system. This is the most general template format available.

See also:
 * Ordinary rewriting templates
 * Rewrite rule template formats