Re: [exim] $primary_hostname and $smtp_active_hostname

Top Page
Delete this message
Reply to this message
Author: Daniel Tiefnig
Date:  
To: exim-users
Subject: Re: [exim] $primary_hostname and $smtp_active_hostname
Eli wrote:
> "The value of $primary_hostname is also used by default in some SMTP
> response messages from an Exim server. This can be changed
> dynamically by setting smtp_active_hostname."
>
> I interpret this to mean that $primary_hostname is set to the value
> of smtp_active_hostname after expansion, so essentially both
> $primary_hostname and $smtp_active_hostname both have the same value.


I don't think so. $smtp_active_hostname will not change
$primary_hostname in any way, it's just a possibility to set the local
hosts hostname to something else than $primary_hostname in SMTP
responses. I'd bet this was introdueced to allow people to respond with
different hostnames on different interfaces.


lg,
daniel