Re: Exim, relaying and domain expansion.

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Bruce.Rodger
Cc: exim-users
Asunto: Re: Exim, relaying and domain expansion.
On Thu, 12 Jun 1997, Bruce Rodger wrote:

> mail addressed to user@??? works OK - however mail addressed
> simply to user@cad fails. exim -bt gives:


I presume you have the domainlist router in front of the lookuphost
router. What is happening is that the shortened form is not being
recognized by the domainlist router and is falling through to
lookuphost, which then behaves as you say:

> > z@cad
> LOG: 0 MAIN
> lowest MX record for cad.strath.ac.uk points to local host
> z@cad cannot be resolved at this time:
> lowest numbered MX record points to local host


> Is there any way (apart from having explicit entries for the "shortened"
> hostnames) to get round this?


Either you have to have the short names in your domainlist route file,
or you have to have rewriting rules of the form

*@cad $local_part@???

Note that in the route file you could use regular expressions, e.g.

^cad(\.strath\.ac\.uk|)$ osiris.cad.strath.ac.uk bydns_a

though of course that is probably slower than two explicit strings.

Philip


-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714