[exim] localhost bypass ignore_target_hosts rule

Top Page
Delete this message
Reply to this message
Author: Klauss Fumuldavijus
Date:  
To: exim-users
Subject: [exim] localhost bypass ignore_target_hosts rule
Hello,

my exim's configre under the "routes" section looks like the following:

dnslookup:
driver = dnslookup
domains = ! +local_domains
transport = remote_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
no_more

but mails, being sent to root@??? seems to bypass "domains =! +local_domains" rule as well as i"gnore_target_hosts = 0.0.0.0 : 127.0.0.0/8" rule

localhost.com as well as server.localhost.com is present in
domainlist local_domains = ${lookup mysql{SELECT domain FROM domains WHERE domain='${domain}' AND (type='LOCAL' OR type='VIRTUAL')}}

--------------------------
Process 94976 is handling incoming connection from [127.0.0.1]:55185
13:24:39 94976 host in host_lookup? yes (matched "*")
13:24:39 94976 looking up host name for 127.0.0.1
-------------------------

wondering, where else (matched "*") gets involved in the configuration?

so, as far as my machine's hostname is not present at upstream's dns - mails get unroutable.

am I missing something?

thanx for advices...