David DeFranco: > I need data that's in the user part of the address to determine the > nexthop.
With regexp substitution, this would give giving random users control over destination host names, host addresses, and TCP ports. Instead of using (regexp) to grab the nexthop from the recipient localpart or domain part, specify the string explicitly. /......(regexp)....../ ......$1...... /......whatever....../ ......whatever...... Repeat this for each such domain. Wietse