|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Andreas S. Oesterhelt (oes
oesterhelt.dyndns.org)Date: Fri Mar 02 2001 - 10:45:36 CST
Hello Wietse,
..thanks for the prompt answer. My problem, however, remains:
> > What I want to happen is that in the first step, all addresses
> > of the form user
host.domain1 are converted to user
domain1 and
> > in a second step, user
domain1 is converted to user
domain2.
>
> Canonical maps can do that for you already.
>
>
host.domain1
domain1
>
domain1
domain2
But wouldn't that require clones of the first line for every
host in domain1?
> Use a regexp based canonical map if necessary.
Though I thought I had RTFM I didn't find any documentation
on that feature. Sounds like excactly what I'm looking for.
> For more specific
> hints, you need to give more specific examples.
I have lots of hosts in domain1 and need all the From-haders
rewritten from <anyuser>
<anyhost>.domain1 to <anyuser>
domain2.
In Perl-style my sender_canonical would read
s/(\w+)
(\w+)\.domain1/$1.domain2/
TIA,
--Andreas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]