Re: [EXIM] Mail to host's literal IP

Top Page
Delete this message
Reply to this message
Author: John Horne
Date:  
To: exim-users
Subject: Re: [EXIM] Mail to host's literal IP
> AFAIK, there are no top-level domains with digits in at all, and it's highly
> unlikely the InterNIC would ever agree to the creation of an all-digit one.
> But all-digit components certainly exist further down the tree (e.g. "400.com")
> and with [dns_]search_parents in effect a user-specified e-mail address of the
> form myname@19.43.67.163 is theoretically possible, even within the public DNS


> world.
>

I raised the question because I am in the process of writing a little script
to check that IP addresses, domain names, etc entered into lookup files are
syntactically correct. Hence, I thought if a domain name consisted of numbers
only then it was wrong. Not a problem though since the script is only to
check the files; not alter them or prevent exim working in any way.

However, and this is getting a bit finicky I guess, how does exim determine
whether 19.43.67.163 is a domain or an IP address when used, for example, in
a host list (sender_reject_hosts for example (manual page 33))? It could be
either couldn't it?

John.

***************************************************************************
John Horne,                                  E-mail: J.Horne@???
Computing Service,                           Phone : +44 (0) 1752 233911
University of Plymouth, UK.                  Fax   : +44 (0) 1752 233919



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