Hi,
I don't have root access to the server. I have WHM and cPanel access, and I'm wanting to migrate an account from one hosting provider to another.
I'm planning on using the backup feature, and having the new hosting provider restore the backup on the new account.
The problem I have is with delayed DNS where email may be delivered to the old server. My client does not want email to go 'missing'. They are happy for any email that finds it's way to the old server to bounce back as rejected so the sender knows that it didn't go through - but they are not happy for it to end up on the old server after the backup has been done as the recipient may never receive the message.
Since one of my clients I'm looking at having has over 100 email addresses I need something that can be done general.
What I was hoping to do is something like the following:
1) Disable Email on the current cPanel so all emails bounce back.
2) Perform a backup
3) Have backup restored on new hosting provider
4) Redirect DNS entries to point to the new hosting provider
5) On the new hosting provider, enable email in cPanel so it accepts email on new server.
I figure that this way, any slow emails, or emails sent between the backup and the restore will bounce back to their senders so nothing will be assumed as delivered that hasn't been. The problem is - I don't know if this is possible to achieve? The order I've chosen above is specific to make sure there's no chance of even 1 email being received and not migrated to the other server. (which is why email is disabled before the backup).
I tried going into WHM and setting 'Maximum emails relayed per hour' to 1, but I could still send emails to email accounts hosted on that server.
I've tried going into cPanel-Mail-MX and setting email to "Remote Mail Exchanger", but todate no email has bounced back yet. (Although the email wasn't delivered either - so I don't know if it's going around in circles, or whether it's just gone missing).
Keeping in mind that I only have cPanel and WHM access (not root access to the server as it's on shared hosting) - is it possible for me to achieve this, or is there another alternative?
- - - Updated - - -
Oh - OK..... now the emails decide to bounce back after I've posted a question on a forum. Should have know.
Looks like setting email Mx to Remote Mail Exchanger is the way to go.
Error I get is:
5.1.2 - Bad destination host 'Multiple DNS queries were attempted and failed: DNS Hard Error looking up mx.mydomain.com (A): NXDomain'
That's good enough for me. If anyone has any better advise, I'm all ears, otherwise I'll go with this.
Cheers
I don't have root access to the server. I have WHM and cPanel access, and I'm wanting to migrate an account from one hosting provider to another.
I'm planning on using the backup feature, and having the new hosting provider restore the backup on the new account.
The problem I have is with delayed DNS where email may be delivered to the old server. My client does not want email to go 'missing'. They are happy for any email that finds it's way to the old server to bounce back as rejected so the sender knows that it didn't go through - but they are not happy for it to end up on the old server after the backup has been done as the recipient may never receive the message.
Since one of my clients I'm looking at having has over 100 email addresses I need something that can be done general.
What I was hoping to do is something like the following:
1) Disable Email on the current cPanel so all emails bounce back.
2) Perform a backup
3) Have backup restored on new hosting provider
4) Redirect DNS entries to point to the new hosting provider
5) On the new hosting provider, enable email in cPanel so it accepts email on new server.
I figure that this way, any slow emails, or emails sent between the backup and the restore will bounce back to their senders so nothing will be assumed as delivered that hasn't been. The problem is - I don't know if this is possible to achieve? The order I've chosen above is specific to make sure there's no chance of even 1 email being received and not migrated to the other server. (which is why email is disabled before the backup).
I tried going into WHM and setting 'Maximum emails relayed per hour' to 1, but I could still send emails to email accounts hosted on that server.
I've tried going into cPanel-Mail-MX and setting email to "Remote Mail Exchanger", but todate no email has bounced back yet. (Although the email wasn't delivered either - so I don't know if it's going around in circles, or whether it's just gone missing).
Keeping in mind that I only have cPanel and WHM access (not root access to the server as it's on shared hosting) - is it possible for me to achieve this, or is there another alternative?
- - - Updated - - -
Oh - OK..... now the emails decide to bounce back after I've posted a question on a forum. Should have know.
Looks like setting email Mx to Remote Mail Exchanger is the way to go.
Error I get is:
5.1.2 - Bad destination host 'Multiple DNS queries were attempted and failed: DNS Hard Error looking up mx.mydomain.com (A): NXDomain'
That's good enough for me. If anyone has any better advise, I'm all ears, otherwise I'll go with this.
Cheers