12

I've had a good search on Google but can't find the answer sorry...

We're an Australian company who use a .com address as our primary contact point. Unfortunately sometimes people email to foo@ourdomain.com.au and so the email bounces.

I know I can manually create entries to forward the .com.au addresses to their .com equivalent, but it's not a particularly viable solution longer term.

Is there a way to automatically do that mapping at a server level? We have root access so I can set up whatever is required in that regard.

To re-iterate, everytime someone sends an email to:

foo@ourdomain.com.au

it needs to forward to

foo@ourdomain.com

and I'd prefer to automate the mapping as email addresses are added / removed quite regularly.

We are also using PLESK if that makes a difference.

Thanks...

niggles
  • 1,010
  • 1
  • 9
  • 21

1 Answers1

12

Sounds to me like you don't need to forward at all. Just set the MX record for ourdomain.com.au to be the same as the MX record for ourdomain.com. Then configure the mail server to accept mail for both domains. The only case in which this isn't viable is if there are actually legitimate .com.au addresses that need to be handled by a separate mail server.

davmac
  • 20,150
  • 1
  • 40
  • 68
  • Thanks - got it mostly working - just need to get PLESK and the DNS settings to play nicely together. This is the best solution for us as we don't have an legitimate addresses on the .com.au domain. – niggles May 05 '11 at 06:46
  • @davmac after setting the MX record to be the same, what configuration needs to be done for the server to accept emails from both domains? – Alexandre Paiva Jun 04 '22 at 04:25
  • @AlexandrePaiva that would depend on what mail server software you are using. Check the documentation for it. – davmac Jun 04 '22 at 04:40