[EXIM] qualify_single & search_parents?

Pàgina inicial
Delete this message
Reply to this message
Autor: cf2
Data:  
A: Exim Users List (E-mail)
Assumpte: [EXIM] qualify_single & search_parents?

I think I see a problem with my lookuphost router. Can anyone
help?

Problem is this:
Machine running Exim 2.10 under Solaris 2.6 is a mailhub, routing
mail to a number of remote subdomains of le.ac.uk, eg.
rose.le.ac.uk. Such addresses are handled by the lookuphost router,
the config file definition of which is as follows:


  deliver:
    driver = lookuphost
    widen_domains = le.ac.uk:leicester.ac.uk:ac.uk
    self = fail_hard
    transport = smtp


I see a problem when routing mail for one of our subdomains when
it is unqualified, eg. user@rose
In this case, I would expect the DNS lookup to be for the domain
rose.le.ac.uk, since qualify_single defaults to TRUE and
primary_hostname is artemis.le.ac.uk
However, as the following debug output shows, the lookup is
done on domain rose, not rose.le.ac.uk


> exim -d9 -bt user@rose

Exim version 2.05 debug level 9 uid=1001 gid=10
probably ndbm
Address testing: uid=0 gid=10 euid=1001 egid=10
Testing user@rose
address user@rose
local_part=user domain=rose
domain is not local
>>>>>>>>>>>>>>>>>>>>>>>>

routing user@rose, domain rose
relay router called for user@rose
  route_domain = rose
after handling route_lists items, matched = 0
relay router: dbm key=rose
  file="/export/home/mm/tables/local_relay"
search_open: dbm "/export/home/mm/tables/local_relay"
search_find: file="/export/home/mm/tables/local_relay"
  type=dbm key="rose" partial=-1
internal_search_find: file="/export/home/mm/tables/local_relay"
  type=dbm key="rose"
file lookup required for rose
  in /export/home/mm/tables/local_relay
lookup failed
search_find failed: 
relay router failed
deliver router called for user@rose
  dns lookup: route_domain = rose              <<<<<---- "rose", not
"rose.le.ac.uk"
DNS lookup of rose (MX) gave NO_DATA
DNS lookup of rose (A) succeeded
Actual local interface address is 127.0.0.1
Actual local interface address is 143.210.16.125
fully qualified name = rose.le.ac.uk
rose.le.ac.uk 143.210.22.23 -1 -92 
queued for smtp transport: local_part=user domain=rose
rewriting after deliver router
routed by deliver router:
  deliver to user@???
  transport: smtp
  host rose.le.ac.uk [143.210.22.23] 
user@rose
  deliver to user@???
  router = deliver, transport = smtp
  host rose.le.ac.uk [143.210.22.23] 
search_tidyup called



We also have a subdomain of the form a.b, and I tried setting
search_parents = TRUE, but found that the lookup was done for
a.b rather than a.b.le.ac.uk

Is this a problem with Exim, or with my understanding? I suspect
the latter, since I cannot find any mention of such a bug in the
list archives.


Thanks in advance for any help.


Craig

___________________________________________________________
Dr C Foster                                    cf2@???
Systems Management                            0116 252 2245
University of Leicester Computer Centre   Leicester LE1 7RH


--
*** Exim information can be found at http://www.exim.org/ ***