On 24/05/16 15:59, Sven Eschenberg wrote: > The documentation states (v4.87) for smtp_active_hostname:
> At the start of an incoming SMTP connection, its value is expanded and
> used instead of the value of $primary_hostname in SMTP responses.
>
> While this seems reasonable it does seem to imply that no expansion
> takes place whenever neither smtp is used nor a connection is coming in.
Arguably it says nothing either way. You cannot infer that.
(but I'm language-lawyering...)
> Unfortunately I had to realize that exim still expands
> smtp_active_hostname for locally incoming mail.
What's your definition of "local" here? Is smtp involved?
--
Cheers,
Jeremy