Re: IP literal - what to configure to make the local host wo…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: John Henders
CC: exim-users
Tárgy: Re: IP literal - what to configure to make the local host work?
On Tue, 22 Jul 1997, John Henders wrote:

> I've been getting people sending mail to postmaster@[my local host's ip]
> on one of my servers and am getting this error with exim's default
> config ipliteral driver.
>
> I've tried adding this to local_domains, either with or without the []'s
> but still can't get exim to recognise that the ipliteral should be
> delivered. It complains that the remote host address is the local
> address if there is no ip entry in local_domains, and tries to look up
> the literal through the virtual domain driver if there is.


Setting

local_domains_include_host_literals

works for me in the simple case. This has the effect of adding
"[your-hosts-ip]" to the local_domains setting. You can check this out
by running

exim -bP local_domains

which will show you what it has done. Also, make sure you have _not_ set

forbid_domain_literals

... but you mention a virtual domain driver. Hmm. Exim doesn't really
treat IP literals differently from any other domain, so I suppose it
would do that if you are looking up all local domains in some file. You
might need to pick off that domain specially.

Philip

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