Re: [Exim] primary_hostname in smtp_in.c and helo_data

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Andreas Steinmetz
Date:  
À: exim-users
Sujet: Re: [Exim] primary_hostname in smtp_in.c and helo_data
Philip Hazel wrote:
> I do not understand. helo_data is an option on the smtp transport, used
> for *outgoing* messages. It specifies what gets send in the outgoing EHLO
> command.
>


Works well for incoming messages, too. Example:

helo_data = ${lookup{$interface_address}lsearch*{/etc/exim/ifmap}}

And this neatly sets the greeting to the host name desired, which is
even required for TLS when the hostname in the greeting needs to match
the name given in the certificate to prevent MUA popups about hostname
mismatch.

> However, some default may be needed for times when Exim uses
> primary_host name not in connection with an incoming message.
>
> Noted for the Wish List.


Thanks.

--
Andreas Steinmetz                       SPAMmers use robotrap@???