Re: [exim] rewriting delivery addresses via shell script

Etusivu
Poista viesti
Vastaa
Lähettäjä: Phil Pennock
Päiväys:  
Vastaanottaja: chris burgess
Kopio: exim-users
Aihe: Re: [exim] rewriting delivery addresses via shell script
On 2008-03-18 at 16:12 +1300, chris burgess wrote:
> I think what I'm trying to achieve is a lot simpler than I was expecting :)
> However, my rewrite config doesn't quite do it yet, and I can't see why it
> doesn't match, based on the examples in the rewrite docs.
>
> I am testing the following rewrite rule:
>
> *@*FAKELOCAL* $1@$2 Tcb


ITYM: *@*.FAKELOCAL.* $1@$2 Tcb

You're missing the domain separators.

If you don't want domain separators, look into using regular expressions
instead.

Regards,
-Phil