Re: [Exim] Exim Quick Install problems still...

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Chris Seberino
CC: Patrick Kirk, exim-users
Sujet: Re: [Exim] Exim Quick Install problems still...
On Mon, 1 Oct 2001, Chris Seberino wrote:

> Problem #1:
> Logs on isolated LAN tell me problems with
> "resolving". I didn't configure Linux PC for DNS
> but all is in /etc/hosts.


Then you want to set up an Exim configuration that does not do DNS
lookups. Either use domainlist routers instead of lookuphost, or set the
gethostbyname option in lookuphost. I would recommend the former,
because that will be the only way you can do it in Exim 4.

> I even
> tried to mail to a straight IP address.


Exim does not support this in the default configuration because it is a
bad idea in today's Internet. Remember, Exim is designed as an Internet
mailer. Its defaults are for hosts permanently connected to the
Internet. On an isolated LAN you need to change things.

> Why mailing to someone@123.456.789.123 bad?


(1) That isn't an email to an IP address! Ever since 3com kicked up a
fuss, domain names have been allowed to start with digits. So
123.456.789.123 is just a plain old domain name. (And of course it could
never be an IP address because 456 and 789 are both greater than 255.)

(2) The RFC 2822 syntax for emailing to an IP address is
someone@???. Note the square brackets. If you want to do this in
Exim, you must (a) remove "forbid_domain_literals" from the
configuration, and (b) uncomment the domain_literal router. And in the
receiving Exim you must do that and also put the host's IP address in
brackets in local_domains.

> Problem #2
> I can't email to my DHCP machine at home.
> I don't know if ISP has some firewall
> or the problem is with Exim config.
> When I to to email to root@204.210.48.66


See above! Apart from the syntax, your ISP may not support mailing to IP
addresses.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.