[exim] Unexpected 're-routed to' in require verify = recipie…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Sander Smeenk
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] Unexpected 're-routed to' in require verify = recipient?
Hi list,

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@???
|     <-- info@???
|   router = remote_batv, transport = remote_smtp_batv
|   host mx1.slgnt.eu [194.213.114.251] MX=10


Some relevant '-d+route' logging:

| calling remote_batv router
| remote_batv router called for info@???
| domain = email.postcodeloterij.nl
| email.postcodeloterij.nl in "*"? yes (matched "*")
| DNS lookup of email.postcodeloterij.nl (MX) succeeded
| DNS lookup of mx1.slgnt.eu (AAAA) gave NO_DATA
| returning DNS_NODATA
| faking res_search(AAAA) response length as 65535
| writing neg-cache entry for mx1.slgnt.eu-AAAA-800041, ttl 180
| DNS lookup of mx1.slgnt.eu (A) succeeded
| 194.213.114.251 in "<; 0.0.0.0 ; 127.0.0.0/8 ; ::1 ; 64.94.110.11"? no
| (end of list)
| fully qualified name = postcodeloterij.slgnt.eu
| host_find_bydns yield = HOST_FOUND (3); returned hosts:
| mx1.slgnt.eu 194.213.114.251 MX=10
| domain changed to postcodeloterij.slgnt.eu
| rewriting header lines
| re-routed to info@???


I'd rather it did not do this. Since the addres *i gave it* works, and
the address *it made up itself* fails delivery with '550 user unknown'.

Now, email.postcodeloterij.nl is a CNAME to postcodeloterij.slgnt.eu,
but why would that mean Exim decides to change the To:-address?
And why does it stop there instead of following the next CNAME chain to
postcodeloterij.slgnt.eu.cdn.cloudflare.net?

The fine docs at https://www.exim.org/exim-html-current/doc/html/spec_html/ch-address_rewriting.html
state that "One situation in which Exim does _not_ automatically rewrite a
domain is when it is the name of a CNAME record in the DNS."

Yet, here we are. Am i missing something obvious? The address isn't
unqualified nor is it 'abbreviated' (imo, weird term?) and there isn't
any explicit 'begin rewrite ..' in my config either.

I tried to play around with dnslookup router settings like
'rewrite_headers' and 'qualify_single' but that doesnt seem to do
anything.

Any tips? Greatly appreciated!

Thanks!
-Sander.
--
| If nothing sticks to Teflon, how did they stick it onto the pan?
| 4096R/20CC6CD2 - 6D40 1A20 B9AA 87D4 84C7 FBD6 F3A9 9442 20CC 6CD2


--
## 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/