[Exim] local_domains + exim4.10

Pàgina inicial
Delete this message
Reply to this message
Autor: Chris Knipe
Data:  
A: exim-users
Assumpte: [Exim] local_domains + exim4.10
Lo all,

can anyone perhaps explain to me why the following router is not skipped in
my configuration.... I fail to see where my error is... :( I am new to
exim4 though, so don't bite my head off pls :P

# Domain Lists
domainlist local_domains = *.mydomain
domainlist mailinglist_domains = lists.mydomain


<snipped to routers>
begin routers
dnslookup:
driver = dnslookup
domains = !local_domains
transport = remote_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
no_more
<nothing else needed I think>

Debug output:
active address blah@???
local_part=blah domain=lists.mydomain
unique = blah@???
dbfn_read: key=R:lists.mydomain
dbfn_read: key=R:blah@???
no address retry record
blah@???: queued for routing
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing blah@???
--------> dnslookup router <--------
local_part=blah domain=lists.mydomain
checking domains
lists.mydomain in "! local_domains"? yes (end of list)
calling dnslookup router
dnslookup router called for blah@???
domain = lists.mydomain
DNS lookup of lists.mydomain (MX) succeeded
192.168.2.1 in "0.0.0.0 : 127.0.0.0/8"? no (end of list)
192.168.1.1 in "0.0.0.0 : 127.0.0.0/8"? no (end of list)
local host has lowest MX
fully qualified name = lists.mydomain
host_find_bydns yield = HOST_FOUND_LOCAL (3); returned hosts:
mx1.mydomain 192.168.1.1 10
mx2.mydomain 192.168.2.1 20
LOG: MAIN
lowest numbered MX record points to local host: lists.mydomain
dnslookup router: defer for blah@???
message: lowest numbered MX record points to local host
added retry item for R:lists.mydomain: errno=-1 0 flags=0
post-process blah@??? (1)
LOG: MAIN
== blah@??? R=dnslookup defer (-1): lowest numbered MX record
points to local host
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


Wham bam, thank you ma'am - we have a frozen delivery.

Now, lists.mydomain is included in my domain_list local_domains, and my
dnslookup router calls for domains not in local_domains (!local_domains).
Why does exim not skip the router??

--
me