Re: [Exim] headers_add question...

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: mAnu
CC: exim-users
Subject: Re: [Exim] headers_add question...
On Fri, 22 Jun 2001, mAnu wrote:

>    headers_add = "mboxdirectory:/var/spool/mail/${local_part}"

>
>    and in the TRANSPORT I'm trying read the value of the variable
> "$h_mboxdirectory":

>
>    file = "$header_mboxdirectory"

>
>    But the value is always empty.


Correct. The $header_xxx construction accesses only those header lines
that came in with the message and which are stored in Exim's files on
disc. It can't see added header liness - these are added "on the fly" as
the message is written.

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