On 11/06/2020 12:07, Marco Gaiarin via Exim-users wrote:
> warn
> add_header = X-HELO-Warning: Remote host $sender_host_address ${if def:sender_host_name {($sender_host_name) }}incorrectly presented itself as $sender_helo_name
> log_message = Remote host presented unverifiable HELO/EHLO greeting
> hosts = !+relay_from_hosts
> !verify = helo
>
> but emits warning like:
>
> X-HELO-Warning: Remote host 89.185.230.205 (smtp5.mailing.easy.cz) incorrectly presented itself as smtp5.mailing.easy.cz
>
> that seems a bit strange to me. Why?
For a start, you're adding the header before checking it's wanted.
--
Cheers,
Jeremy