From: Noel Jones (no email)
Date: Wed May 09 2007 - 17:51:22 EDT
At 04:44 PM 5/9/2007, Wietse Venema wrote:
>Noel Jones:
> > >The recursive rewriting of course!
> > >How does your rewrite rule look like?
> > >
> > > > >/^(.*)@my\.domain\.com$/ user+${1}@domaintobedeliveredlocally
> > >
> > >Notice how my left hand side domain and right hand side domain are not
> > >the same ? :)
> >
> > Alternately, you can protect the expansion with an IF/ENDIF clause:
> >
> > IF !/^user+.*@my\.domain\.com$/
> > /^(.*)@my\.domain\.com$/ user+${1}@my.domain.com
> > ENDIF
>
>Caution: the + is special.
>
>IF !/^user\+.*@my\.domain\.com$/
>/^(.*)@my\.domain\.com$/ user+${1}@my.domain.com
>ENDIF
>
> Wietse
Tx.. I was unintentionally matching "userrrrrrrrrr..." instead.
Have to save that one for talk-like-a-pirate day.
-- Noel Jones
|
|
|