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

Góra strony
Delete this message
Reply to this message
Autor: Evgeniy Berdnikov
Data:  
Dla: exim-users
Temat: Re: [exim] Exim always expands sender_rcvhost to unverified IP
Hello.

On Tue, Nov 16, 2021 at 11:47:22AM -0500, Matt Corallo via Exim-users wrote:
> Like the title says, for some reason exim 4.94.2-7 (Debian stable) is
> refusing to ever expand sender_rcvhost to a verified hostname.


Your mail passed my relay with Exim 4.94.2-7 (frozen good old version)
and got this header:

Received: from hummus.exim.org ([37.221.193.62]:49438)
        by tornado.rdtex.ru with esmtps
        (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
        (Exim 4.94.2)
        (envelope-from <exim-users-bounces...
        ...


where I have custom

received_header_text = Received: ${if def:sender_rcvhost {from $sender_rcvhost\n\t}...

So, $sender_rcvhost is expanded as it should be.
Debian package on this host is exim4-daemon-heavy 4.94.2-7 (i386).

> The below
> shows a simple email inbound from github, as well as the relevant DNS
> traffic from exim to the DNS server (with spamd stopped to ensure we're not
> confusing spamd queries with exim queries).


I see no expansion of $sender_rcvhost in your report.
It may be obtained with -d+expand or extracted from "Received" headers.

However, this log line

> Nov 16 16:36:55 mail exim[789201]: 2021-11-16 16:36:55 1mn1S3-003JJ3-Bt <=
> noreply@??? H=out-25.smtp.github.com (smtp.github.com)
> [192.30.252.208] P=esmtps
> X=TLS1.2:ECDHE_X25519__ECDSA_SHA512__AES_256_GCM:256 CV=no S=6196
> DKIM=github.com id=bitcoin/bitcoin/pull/23496/review/807558392@???


have part "H=..." which is very similar to $sender_rcvhost.
Are you expecting anything different?
--
Eugene Berdnikov