Re: [exim] Exim always expands sender_rcvhost to unverified …

Pàgina inicial
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
A: exim-users
Assumpte: Re: [exim] Exim always expands sender_rcvhost to unverified IP
On 18/11/2021 23:05, Bill Cole via Exim-users wrote:
>> Checks of the peer IP against a hostlist item which is a name
>> will cause one, as will matching the host_lookup option or
>> an explicit verify=reverse_host_lookup ACL condition.
>
> So, if none of that happens, what will the Received header look like?


The default definition is:

      "Received: "
      "${if def:sender_rcvhost {from $sender_rcvhost\n\t}"
        "{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}"
          "${if def:sender_helo_name {(helo=$sender_helo_name)\n\t}}}}"
      "by $primary_hostname "
      "${if def:received_protocol {with $received_protocol }}"
#ifndef DISABLE_TLS
      "${if def:tls_in_ver        { ($tls_in_ver)}}"
      "${if def:tls_in_cipher_std { tls $tls_in_cipher_std\n\t}}"
#endif
      "(Exim $version_number)\n\t"
      "${if def:sender_address {(envelope-from <$sender_address>)\n\t}}"
      "id $message_exim_id"
      "${if def:received_for {\n\tfor $received_for}}"


It's an option in the config, therefore changeable.
I doubt many people do.


The default was changed most recently in 2019, before 4.93 release.

--
Cheers,
Jeremy