On Wed, Apr 16, 2014 at 8:40 AM, Joy <pj.netfil...@gmail.com> wrote: > Dear Expert, > I have configured my postfix to lookup against LDAP > server which hosts multiple domain all working fine but in case any domain > moves from my mail server to another server like yahoo or gmail by changing > only MX record my server still tries to deliver mail to this domain > disabling domain works perfectly but i want in case MX not points to my > server mail should be delivered to current set MX record of domain. > > Is it possible in Postfix or any hack can do the same. > That is a rather long sentence; you might consider breaking it down so it is easier to see your points and questions.
So, does your postfix install use ldap to know which domains it is responsible for? If so, disabling there should make it ignore them. Also, I would expect if you change the MX record for a give domain, the mail to that domain will go to the new server. >