- Impact
- 16
I just moved my site example.com from one host to another by cPanel account backup and restore. Name servers are changed a few hours ago. [email protected] is hosted at Google apps with MX records pointing to aspmx.l.google.com., etc.
Name servers change seems to have propagated because the website is working fine from the new server. However, there's something weirdly wrong with emails:
1. Emails sent from my Gmail [email protected] (a native Gmail account) to [email protected] are correctly received.
2. I can then log in Google apps to view the inbox of [email protected], see the message and send a reply back to [email protected] which is again correctly received.
3. Emails sent to [email protected] by PHP mail() from the new server are correctly received, with proper 'mailed-by' and 'signed-by' fields in Gmail.
4. Emails sent to [email protected] by PHP mail() from the new server are NOT received at all, NOT EVEN in spam.
This is really weird because both [email protected] and mail() seem to be working fine individually but when you mail() to [email protected] the message just doesn't arrive.
Any idea why? Is it the DNS propagation or is there anything internally wrong with my server or code? Do I need just wait or do I need to do something?
Name servers change seems to have propagated because the website is working fine from the new server. However, there's something weirdly wrong with emails:
1. Emails sent from my Gmail [email protected] (a native Gmail account) to [email protected] are correctly received.
2. I can then log in Google apps to view the inbox of [email protected], see the message and send a reply back to [email protected] which is again correctly received.
3. Emails sent to [email protected] by PHP mail() from the new server are correctly received, with proper 'mailed-by' and 'signed-by' fields in Gmail.
4. Emails sent to [email protected] by PHP mail() from the new server are NOT received at all, NOT EVEN in spam.
This is really weird because both [email protected] and mail() seem to be working fine individually but when you mail() to [email protected] the message just doesn't arrive.
Any idea why? Is it the DNS propagation or is there anything internally wrong with my server or code? Do I need just wait or do I need to do something?