On 15/04/2023 19:36, Lance Lovette via Exim-users wrote:
> But I need primary_hostname to be dynamic, say read from a file.
>
> primary_hostname = ${readfile{/etc/mailname}{}}
You can't do that; the primary_hostname option does not
expand it's argument.
Could you explain your need further? Why do you want this value
to come from a file? Would it suffice to have that line of configuration
come from a file (if so, look into the .include directive).
--
Cheers,
Jeremy