Re: [exim] using environment ${env {}} for helo_data

Top Page
Delete this message
Reply to this message
Author: Frank Heydlauf
Date:  
To: exim-users
Subject: Re: [exim] using environment ${env {}} for helo_data
Hi Heiko,

On Wed, Jul 29, 2020 at 06:47:32PM +0200, Heiko Schlittermann via Exim-users wrote:
> Frank Heydlauf via Exim-users <exim-users@???> (Mi 29 Jul 2020 11:48:55 CEST):

...
> >      ...
> >      # helo_data = ${env{EXIM_HELONAME}{$value}{heloname-undefined}}
> >      helo_data = ${env {EXIM_HELONAME}}
> >      ...
> >      # for debugging only:
> >      headers_add = "X-HOSTNAME: ${env {EXIM_HOSTNAME}}"
> >      headers_add = "X-EH: ${env {EH}}"
> >      headers_add = "X-EXIM_HELONAME: ${env {EXIM_HELONAME}}"

> >
>
> Did you define macros using substrings of the environment variables
> you're trying to use?


No, I use the variables just as they are (or should be).

After a several tests I guess ${env {}} is just not set/expanded
in the transports section.
However, I could not find anything about that in the dokumentation.


--
Regards
Frank