Re: [Exim] rewriting from field

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