Re: [Exim] Replacing envelope sender

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: David Saez
Υ/ο: exim-users
Αντικείμενο: 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.