On 2023-05-23, Tim Jackson via Exim-users <exim-users@???> wrote:
> On 23/05/2023 13:21, Sander Smeenk via Exim-users wrote:
>
>> I try to send a message to 'info@???', but Exim
>> unexpectedly changes that to 'info@???', based on
>> some DNS queries it seems?
>
>> | $ exim -f ssmeenk@??? -bt info@???
>> | info@???
>
> 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."
No. That section is about finding the target host, not about changing the
recipient address.
--
## subscription configuration (requires account):
##
https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at
http://www.exim.org/
## Please use the Wiki with this list -
http://wiki.exim.org/