|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: trivial-rewrite regular expression substitution
From: Wietse Venema (wietse
porcupine.org)
Date: Wed Oct 01 2008 - 07:15:04 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]