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

Top Pagina
Delete this message
Reply to this message
Auteur: David Brodbeck
Datum:  
Aan: 'exim-users@exim.org'
Onderwerp: RE: [exim] How to get the local MX? (And domain?)
> -----Original Message-----
> From: Tony Finch [mailto:dot@dotat.at]


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


Also, if the goal is to find somewhere to relay mail through, the MX host
may not be the same machine as the smarthost. In fact, for a large ISP, it
probably isn't. The smarthost may not even be *in* the same domain. (It
isn't for my SBC DSL account.)