Hello,
I have a server that is hosting a domain but we are also using an MS Exchange server for our email which is through another company.
On our server we have the domain working fine. Echange is also working well.
I have one problem...
When using PHP to mail() from the domain to an email account on that domain, the messages are not being delivered. It looks like Qmail is trying to deliver the mail locally, but the mail boxes obviously do not exist becasue they are with the Exchange Server.
I'm getting this error:
"delivery 21: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)"
How can I tell Qmail to deliver the mail for that domain to our Exchange server?
Here is my DNS setup in Plesk:
DOMAIN.com. NS ns1.DOMAIN.com.
DOMAIN.com. NS ns2.DOMAIN.com.
DOMAIN.com. A 207.44.XX.XX
ftp.DOMAIN.com. CNAME DOMAIN.com.
www.DOMAIN.com. CNAME DOMAIN.com.
207.44.XX.XX / 24 PTR DOMAIN.com.
Thanks,
Bza