On 23/05/2023 13:21, Sander Smeenk via Exim-users wrote:
I try to send a message to 'i...@email.postcodeloterij.nl', but Exim unexpectedly changes that to 'i...@postcodeloterij.slgnt.eu', based on some DNS queries it seems?
| $ exim -f ssme...@freshdot.net -bt i...@email.postcodeloterij.nl | i...@postcodeloterij.slgnt.eu
I'm definitely not an expert, but is this not expected behaviour based on RFC5321 section 5.1 [1]?
"The lookup first attempts to locate an MX record associated with the name. If a CNAME record is found, the resulting name is processed as if it were the initial name."
And why does it stop there instead of following the next CNAME chain to postcodeloterij.slgnt.eu.cdn.cloudflare.net?
I don't know the answer to this, but perhaps it's also defined behaviour in an RFC somewhere? (or out of spec => undefined?)
Tim [1] https://www.rfc-editor.org/rfc/rfc5321#section-5.1 -- ## 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/