[exim] Re: Unexpected 're-routed to' in require verify = rec…

Top Page
Delete this message
Reply to this message
Author: Julian Bradfield
Date:  
To: exim-users
Subject: [exim] Re: Unexpected 're-routed to' in require verify = recipient?
OK, Jeremy, here's a minimal example. Please tell me where I'm asking
exim to rewrite the envelope-to address :)

Command line:
exim4 -C exim4-min.conf -f ssmeenk@??? -bt -d+route+rewrite info@???

---< exim4-min.conf
begin routers

dnslookup:
driver = dnslookup
transport = remote_smtp
user = Debian-exim
same_domain_copy_routing = yes
no_more

begin transports

remote_smtp:
driver = smtp
--->

Command output:
Exim version 4.94.2 uid=0 gid=0 pid=531705 D=f7715cfd
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages DANE DKIM DNSSEC Event I18N OCSP PIPE_CONNECT PRDR SOCKS TCP_Fast_Open
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Configure owner: 0:0
Size of off_t: 8
Compiler: GCC [10.2.1 20210110]
Library version: Glibc: Compile: 2.31
                        Runtime: 2.31
Library version: BDB: Compile: Berkeley DB 5.3.28: (September  9, 2013)
                      Runtime: Berkeley DB 5.3.28: (September  9, 2013)
Library version: GnuTLS: Compile: 3.7.1
                         Runtime: 3.7.1
Library version: IDN2: Compile: 2.3.0
                       Runtime: 2.3.0
Library version: Stringprep: Compile: 1.33
                             Runtime: 1.33
Library version: PCRE: Compile: 8.39
                       Runtime: 8.39 2016-06-14
Total 14 lookups
WHITELIST_D_MACROS: "OUTGOING"
TRUSTED_CONFIG_LIST: "/etc/exim4/trusted_configs"
changed uid/gid: forcing real = effective
  uid=0 gid=0 pid=531705
  auxiliary group list: <none>
configuration file is exim4-min.conf
log selectors = 00000ffc 19005022 00000007
trusted user
admin user
dropping to exim gid; retaining priv uid
seeking password data for user "Debian-exim": using cached result
getpwnam() succeeded uid=108 gid=114
originator: uid=0 gid=0 login=root name=
sender address = ssmeenk@???
Address testing: uid=0 gid=114 euid=0 egid=114

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Testing info@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering info@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing info@???
--------> dnslookup router <--------
local_part=info domain=email.postcodeloterij.nl
calling dnslookup router
dnslookup 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
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@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering info@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing info@???
--------> dnslookup router <--------
local_part=info domain=postcodeloterij.slgnt.eu
calling dnslookup router
dnslookup router called for info@???
domain = postcodeloterij.slgnt.eu
postcodeloterij.slgnt.eu in "*"? yes (matched "*")
DNS lookup of postcodeloterij.slgnt.eu (MX) succeeded
DNS lookup of mx1.slgnt.eu-AAAA: using cached value DNS_NODATA
DNS lookup of mx1.slgnt.eu (A) succeeded
fully qualified name = postcodeloterij.slgnt.eu
host_find_bydns yield = HOST_FOUND (3); returned hosts:
mx1.slgnt.eu 194.213.114.251 MX=10
set transport remote_smtp
queued for remote_smtp transport: local_part = info
domain = postcodeloterij.slgnt.eu
errors_to=NULL
domain_data=NULL local_part_data=NULL
routed by dnslookup router
envelope to: info@???
transport: remote_smtp
host mx1.slgnt.eu [194.213.114.251] MX=10 dnssec=no
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=531705 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>

info@???
    <-- info@???
  router = dnslookup, transport = remote_smtp
  host mx1.slgnt.eu [194.213.114.251] MX=10


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