Re: [exim] How to get the local MX? (And domain?)

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Toralf Lund
CC: exim-users
Subject: Re: [exim] How to get the local MX? (And domain?)
On Wed, 16 Mar 2005, Toralf Lund wrote:

> Maybe it's not that *well-defined,* but it in the Linux world it's at least
> *defined*. See 'man dnsdomainname'.


The parent domain of a host is not necessarily the same as its mail
domain. For example, my machines have a parent domain of csi.cam.ac.uk
which is not a valid mail domain.

You cannot find out the information you want without human intervention.
You might be able to automatically guess, but you'll still have to get
confirmation from a person that the guess is correct.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}