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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Tony Finch
Datum:  
To: Toralf Lund
CC: Exim Mailing List
Betreff: Re: [exim] How to get the local MX? (And domain?)
On Wed, 16 Mar 2005, Toralf Lund wrote:
>
> Is there a simple and direct way to obtain the MX for the local domain?


No, because it is not well defined. What's the local domain?
$primary_hostname? Some parent domain of $primary_hostname?
$qualify_domain? +local_domains? These are all different on
my machines, and they still fail to cover all the possibilities.
In fact the concept of "local domain" might not be explicitly
defined in the configuration at all. What is more, each of the
possible domains may have any number of MXs.

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}}