Re: [Exim] envelope_to_add

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Jakob Hirsch
Kopio: exim-users
Aihe: Re: [Exim] envelope_to_add
On Mon, 22 Apr 2002, Jakob Hirsch wrote:

> Is it possible to tell a transport to use envelope_to_add only if there
> is not already an envelope-to in the header?


This seems obscure. There shouldn't be a pre-existing Envelope-To:
header line. (Note that Exim removes them on incoming messages unless
you configure it not to.)

If you really want to do this, don't use envelope_to_add. Instead use a
condition headers_add option that uses $original_local_part and
$original_domain. However, that will work only for non-batched single
deliveries.



--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.