This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

lowest numbered MX record points to local host

Hi,We have a mail server in our local network and our mx records same with the wan ip of the astaro.we have dnat enabled.But when we want to send backup mails to local mail server.We get this error R=dnslookup defer (-1): lowest numbered MX record points to local host.Any idea how to solve this problem.Thanx


This thread was automatically locked due to age.
Parents Reply Children
  • No actually i dont want to use smtp proxy.
  • When you send the mail, is it coming from the Internet, outside Astaro? Or from the LAN??
  • İ cant explain it exactly ok here it is the mail server is in our lan and mx records point to wan ip of the astro firewall.There is no problem sending mail to outside or recieve mail from outside.The problem is the astro cant send backup mails to local mail server.cos the mx recods point to itself.
  • Sounds like you're saying, ~"Astaro is trying to use the MX, but fails to send to that address because as far as Astaro is concerned, the server only exists at the private number" (not the public number published in the MX).

    In a perfect world, you  run an internal DNS that acts as a forwarder for all non-local domain MX queries, and add an MX record for your domain reflecting the private number of the mail server (this is called "split DNS" methodology). Have Astaro use this internal DNS.

    Hopefully, a future version of Astaro will let you add local DNS records to its proxy, through an option on Network Definitions. In the meantime, another option, if you are versed in Linux system administration and are responsible for your mistakes, is to add a record for the internal mail server to the DNS proxy [see How can I maintain my own dns zone on ASL?].

    Note: I revised this post; I wasn't clearly thinking earlier when I babbled something about "dotted IP mail addresses"; getting over a cold...