Re: [Exim] @mx_any and 127.0.0.1

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Adam D. Barratt
Date:  
À: exim-users
Sujet: Re: [Exim] @mx_any and 127.0.0.1
On Thursday, April 15, 2004 4:15 PM, Bruce Richardson <itsbruce@???>
wrote:

> On Thu, Apr 15, 2004 at 10:57:14AM -0400, Dickenson, Steven wrote:
>> Brian wrote:
>>> I am currently testing out exim and it's filtering functionality on
>>> this domain but I usually set the MX entry of that domain to
>>> 127.0.0.1, as well as all other requests.
>>
>> If you're doing this, why even both with an MX for the domain, or
>> any hosts in the zone for that matter?
>
> It's entirely valid to have a domain that will never send or receive
> mail. The problem is that the lack of an MX record will not prevent
> MTAs from trying to deliver mail to that domain: they'll just fall
> back on the A record.

[...]
> Setting an invalid MX record stops this.


Indeed. Setting it to

MX 0 .

is more usual, and useful, however (and won't, or at least shouldn't, break
other stuff).

Adam