Re: [Exim] Replacing envelope sender

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: David Saez
CC: exim-users
Subject: 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.