Le 08/04/2011 13:52, Reindl Harald a écrit : > > Am 08.04.2011 13:48, schrieb Gábor Lénárt: >> On Fri, Apr 08, 2011 at 05:05:45PM +0530, kshitij mali wrote: >>> HI All >>> >>> >>> Postfix will try to deliver email based on A record suppose the mx record is >>> missing , so how to diable this . >>> >>> I mean to say postfix should send email based on MX record only and if mx >>> record not bound then immediatly bounce the sender . >> >> I don't think it's a good idea, it's part of the standard. We have smaller >> (legitime) mail servers receiving mails having only A record. Why would I >> need MX record, if A is ok for me? I only set up MX records when it's >> needed (the DNS name itself has an A record already but MTA receiving its >> mail is not at the same address as A record would tell), otherwise I leave it >> alone with the A record only. I think there is no problem with this >> practice. > > in fact you should not do this because it needs two dns-queries for > the sending server everytime and you set the MX only once >
I see no difference: - with no MX: 1- lookup MX: none 2- lookup A for domain - with MX: 1- lookup MX: returns say host.example.com 2- lookup A for host.example.com > but yes, it is in the standard and postfix will hopefully not support > such broken setup >