Is there a way to allow the server to have local mail but when I send an email it must use MX record rather than local delivery?
More info:
I have a client who uses Microsoft Exchange for 1 email and returns the rest of the emails to the server. This config is done by using local option in Email Routing but specifying the MX record to the other mail server and the mail server directs the uncatched mails back to the server using the A record.
The problem is that when I send an email from the cpanel account, it resolve the mail server to be 127.0.0.1 rather than using MX record. If I were to choose remote in Routing then only Exchange mail works.
Any ideas on how to force the server to use MX will still allow it to receive mails?
More info:
I have a client who uses Microsoft Exchange for 1 email and returns the rest of the emails to the server. This config is done by using local option in Email Routing but specifying the MX record to the other mail server and the mail server directs the uncatched mails back to the server using the A record.
The problem is that when I send an email from the cpanel account, it resolve the mail server to be 127.0.0.1 rather than using MX record. If I were to choose remote in Routing then only Exchange mail works.
Any ideas on how to force the server to use MX will still allow it to receive mails?