Re: [Exim] Mixed Headers Rewrite..

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Alexey Promokhov
Dátum:  
Címzett: exim-users
CC: ewiz
Új témák: [Exim] Wrong IP number Given out?
Tárgy: Re: [Exim] Mixed Headers Rewrite..
On Sun, 21 Jan 2001, ewiz wrote:

> hi all,
>         Thanks for the help in the mailbomb problem, now that I have
> subscribe to exim user list, I would like to ask if anybody knows
> how to rewrite headers for the follwing case (as I could'nt find anyway
> in the spec.txt)

>
> >if envelope To field = "foobar@???"
>
> >then rewrite the "To:" = "foobar@???"
>
> this is needed for some strange filtering setup on the local setup, I
> don't want to modify the envelope but want to modify only To: depending
> on enevolpe.

Try:

=== Cut ===
*@* "${if eq {$header_Envelope-To:}{foobar@???}{foobar@???}fail}" t
=== Cut ===

I'm not sure, so check it before use.

--
Alexey <goodboss@???>