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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Heiko Schlittermann
Datum:  
To: exim-users
Betreff: Re: [exim] using environment ${env {}} for helo_data
Frank Heydlauf via Exim-users <exim-users@???> (Mi 29 Jul 2020 11:48:55 CEST):
> My exim4.config sample:
> ```
> ...
> keep_environment = EH : EXIM_HOSTNAME : EXIM_HELONAME
> smtp_active_hostname = ${env{EXIM_HOSTNAME}{$value}{hostname-undefined}}
>
>   ...
>   begin transports
>   ...
>   remote_smtp:
>      ...
>      # 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?

--
Heiko