Re: [exim-dev] Domain matching

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jonathan Knight
Date:  
À: exim-dev
Sujet: Re: [exim-dev] Domain matching
On Wed, Jun 15, 2005 at 04:28:47PM +0100, Philip Hazel wrote:
> It doesn't claim that isc.keele.ac.uk doesn't match *.keele.ac.uk; it
> claims that it does match +local_domains. So what is in your
> local_domains?


domainlist local_domains = @:keele.ac.uk:cs.keele.ac.uk:nnina.cs.keele.ac.uk

@=nina.cs.keele.ac.uk

and you can see the check on the line above the debug output (where it says
that it didn't match).

I think it should not match +local_domains (and hence match
!+local_domains) and it should match *.keele.ac.uk which
should mean that the router is used.



--------> keelelookup router <--------
local_part=jonathan domain=isc.keele.ac.uk
checking domains
isc.keele.ac.uk in "@:keele.ac.uk:cs.keele.ac.uk:nnina.cs.keele.ac.uk"? no (end of list)
isc.keele.ac.uk in "!+local_domains : *.keele.ac.uk"? no (matched "!+local_domains")
keelelookup router skipped: domains mismatch

here's the bit from the config file:

keelelookup:
driver = dnslookup
domains = !+local_domains : *.keele.ac.uk
transport = local_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : mailgateway.keele.ac.uk
widen_domains = keele.ac.uk
no_more




Trying the same config file on Linux fedora core 3 with the same version of
exim works fine which kind of points towards a gcc or Solaris issue.

@ in this case is matthews.kis.keele.ac.uk

--------> keelelookup router <--------
local_part=jonathan domain=isc.keele.ac.uk
checking domains
isc.keele.ac.uk in "@:keele.ac.uk:cs.keele.ac.uk:nnina.cs.keele.ac.uk"? no (end of list)
isc.keele.ac.uk in "!+local_domains : *.keele.ac.uk"? yes (matched "*.keele.ac.uk")
calling keelelookup router
keelelookup router called for jonathan@???
domain = isc.keele.ac.uk



-- 
  ______    jonathan@???    Jonathan Knight,
    /                                  Department of Computer Science
   / _   __ Telephone: +44 1782 583437 University of Keele, Keele,
(_/ (_) / / Fax      : +44 1782 713082 Staffordshire.  ST5 5BG.  U.K.