Re: [Exim] rewriting from field

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: Laurent Baillet
CC: exim-users
Temat: Re: [Exim] rewriting from field
On Wed, 20 Sep 2000, Laurent Baillet wrote:

> how i can i say to exim something like :
>
>  if from_field is defined
>    then return_path = from_field
>    else return_path = ""


return_path = ${if def:h_from:{$h_from:}{}}

This is a transport option. However, it will work only if From: contains
only one address. You may be surprised to learn that it is perfectly
legal for From: to contain more than one address.

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