On Thu, Aug 8, 2024 at 10:01 PM Ian Z via Exim-users < exim-users@lists.exim.org> wrote:
> > Even if this worked (cf. Jeremy) it would not do what I actually > wanted, namely get the MX record(s), not followed further. > Please remember that in the absence of MX records, A record lookup(s) will be performed for email delivery. So you probably want something like this, if I have understood the docs correctly and have managed to line my syntax ducks well: ${lookup dnsdb{mxh=$sender_address_domain}{$value}{lookup dnsdb{a=$sender_address_domain}}} -- Jan -- ## subscription configuration (requires account): ## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/ ## unsubscribe (doesn't require an account): ## exim-users-unsubscr...@lists.exim.org ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/