The situation:
We host a website for a client, clientname.com, but another company has the DNS and their e-mail accounts. No problem: The other company just sets their A-record to point to our webserver. Now we have set up a standard contact mailform on the clients website, using php's mail function to let the clients visitors send e-mails to the client.
Problem: No e-mails ever arrive!
Background for problem: The cPanel account is automatically created with MX record being clientname.com, when the MX record should really read mail.othercompany.com since they are the ones hosting the e-mail. So our webserver is in fact trying to send mail to itself, where there are no email accounts set up.
Half-a-solution:
I insert the correct MX record for clientname.com in our cPanel. But this leaves us with...:
New problem: What if the other company that hosts the domain and the email decides to change the MX record? We would never know about it, and emails would get stopped again.
So can anyone give me a suggestion for a more permanent solution to this problem? It would really make my day...
We host a website for a client, clientname.com, but another company has the DNS and their e-mail accounts. No problem: The other company just sets their A-record to point to our webserver. Now we have set up a standard contact mailform on the clients website, using php's mail function to let the clients visitors send e-mails to the client.
Problem: No e-mails ever arrive!
Background for problem: The cPanel account is automatically created with MX record being clientname.com, when the MX record should really read mail.othercompany.com since they are the ones hosting the e-mail. So our webserver is in fact trying to send mail to itself, where there are no email accounts set up.
Half-a-solution:
I insert the correct MX record for clientname.com in our cPanel. But this leaves us with...:
New problem: What if the other company that hosts the domain and the email decides to change the MX record? We would never know about it, and emails would get stopped again.
So can anyone give me a suggestion for a more permanent solution to this problem? It would really make my day...
Last edited: