Re: [Exim] Rewriting

Pàgina inicial
Delete this message
Reply to this message
Autor: Ollie Cook
Data:  
A: Philip Hazel
CC: exim-users
Assumpte: Re: [Exim] Rewriting
On Fri, Sep 14, 2001 at 03:57:22PM +0100, Philip Hazel wrote:
> Rewriting is not the way to do this. At least, not using global
> rewriting rules.
>
> You are trying to solve a routing problem using rewriting. What you need
> is a director along these lines:
>
> xxxx:
> driver = smartuser
> domains = *.vispN.com
> new_address = a suitable rewriting expansion
> headers_add = X-local-part-was: a suitable expansion
>
> I *think* this will work, because headers_add is expanded at directing
> time. But I haven't tested it.


Thank you Philip. I've just realised I asked an FAQ (Q0434: How can I arrange
that mail addressed to anything@??? gets delivered to
something@????) :/

Cheers,

Ollie

-- 
Oliver Cook    Systems Administrator, ClaraNET
ollie@???               020 7903 3065