Re: [Exim] headers_add question...

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: mAnu
CC: exim-users
Temat: 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.