Re: [Exim] Replacing envelope sender

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: David Saez
CC: exim-users
Sujet: Re: [Exim] Replacing envelope sender
On Mon, 31 Mar 2003, David Saez wrote:

> If I do (which should just not do any rewrite):
>
> apache@??? "${if def:h_from:{${address:$h_from:}}{fail}}" Fq


What you mean, I think, is

apache@??? "${if def:h_from:{${address:$h_from:}}fail}" Fq

Note the lack of {} round "fail".

Note (2) that your rewrite will fail if $h_from: contains more than one
address. This is very rare, but it is quite valid.

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