Look up the domain's mail records and delete any entry that still names the old host, including backup entries with higher numbers. Then copy what reached the old mailbox and keep it open until stragglers stop.

Some of the mail goes elsewhere

Last week the office moved its email to a new service. Most messages now arrive there, and the old hosting account stays open until the end of the month.

Then a client asks about a message sent on Tuesday. Another turns up on Thursday, dated three days earlier. The old webmail holds a small pile of fresh mail.

The new service is working. The domain is still telling some sending servers that the old server accepts its mail too.

How mail finds its way to a domain

When someone writes to your address, their mail server looks up your domain's mail records, called MX records. Each names a server and gives it a number.

The lowest number is tried first. If that server is slow to answer, or asks the sender to try later, the sender moves down the list.

The fallback exists so a second server can hold mail while the first is down. Many hosts add one by default, and few people look at the list again.

Why the old server still gets a share

After a move, an old server can keep receiving mail for several reasons, often more than one at once:

The first is the most common. The new service's instructions say which records to add; removing the old ones is left to whoever makes the change, and a backup entry is easy to miss.

The delays come from the queue. A server that cannot hand a message on keeps it and tries again at intervals, so mail can arrive days late or not at all.

Reading the domain's mail records

Any DNS lookup tool will list a domain's MX records. On a Windows computer the nslookup command does it, and many websites offer the same lookup.

Write down each entry's number and server name. The new service will have told you which names are its own. Any other name needs an explanation.

Then check where each name points. An entry called mail followed by your own domain looks like yours, but it may still lead to the old host's server.

The lookup shows what the world sees now, not what other servers looked up yesterday, so stray mail can keep arriving for a day or two after a correct change.

A worked example

An arbitrator in Kamloops hears commercial and construction disputes. Lawyers send submissions and scheduling letters by email, often near a deadline, and the office records when each arrives.

Email moved from the web host's mailboxes to a new service on a Monday. By Thursday, two law firms had asked why their submissions had not been acknowledged.

The domain listed the new service's servers plus one entry, numbered last, that still named the old host. The website, still at the old host, was also filing its form messages there.

The stale entry was deleted where the DNS was actually managed, and the host stopped treating the domain's mail as its own, so form messages now go to the new service.

The old mailbox was copied across and each message filed with its case, under the date it was sent. The account stayed open two more weeks, checked every morning.

With only the new service on the list, a slow moment on its side now means a short wait and a retry, not a detour to a mailbox the office had stopped reading.

Changing the records in the right place

MX records live wherever the domain's DNS is hosted: the registrar, the web host or a separate service. A change made anywhere else looks saved and does nothing.

The domain's nameservers tell you which. If they belong to the web host, the records are in the hosting account, even if the domain was registered elsewhere.

Remove every entry that is not the new service's, and correct any name that leads to the old server. Leave the new service's entries exactly as given.

Mail sent by the website itself

A website that stays at the old host usually sends form messages through that host's mail system. If the system still thinks it handles your domain, it files them locally and never checks the MX records.

Hosting control panels usually have a setting for this, or the host can change it. Send a test through the form afterwards and see where it lands.

Recovering what went astray

Before anything is closed, open the old mailbox and go through everything that arrived since the move. Forward it, or connect a mail program to both accounts and drag the messages across.

Keep the original dates. A message that looks three days late may have reached the wrong server on time, which matters to anyone tracking deadlines.

Then reply to the people whose messages were missed, briefly, with an apology for the delay. They want to know it was read, not how mail works.

The counter-case

Some backup entries are deliberate. A business running its own mail server in the office may want a second server, run by its host, to hold mail during an outage.

That is sound when the backup is maintained, passes mail on promptly and belongs to the current setup. Large mail services also list several servers of their own, all of which belong.

A backup left over from a previous provider is different: a second destination no one reads. It should come out on the day of the move.

Closing the door on the old server

  1. Look up the MX records and list every entry.
  2. Match each name to the new service's instructions.
  3. Check where each name leads, even those under your own domain.
  4. Delete the stale entries where the DNS is hosted.
  5. Stop the old host handling the domain's mail itself.
  6. Copy the old mailbox before the account closes.
  7. Check it daily until nothing new arrives.

Step five is the easiest to overlook. The records can be perfect, and enquiries from the website will still drop into the old mailbox until the host's setting is changed.

Replies that do arrive but sit unread through a busy evening are part of the story in a restaurant's Valentine's Day email sent too late.


Frequently asked questions

Why does email still reach my old host after switching?

Usually because the domain's mail records still list the old server, often as a backup with a higher number. Senders use it whenever the new service answers slowly.

What is a backup MX record?

A mail record with a higher number than the main one. Sending servers try it when the main server does not answer, so it must point at a server you still use.

How do I see my domain's MX records?

Use a DNS lookup tool, or the nslookup command on Windows. Note each server name and number, then check that every name belongs to the new service.

Why do some messages arrive days late?

A server that cannot deliver a message right away keeps it and retries for days. An old server may also hold mail and pass it on slowly, if at all.

Why do form messages from the website still go to the old mailbox?

If the website stays at the old host, that host's mail system may file your domain's mail locally without checking the records. The host can switch that off.

When can I close the old email account?

Once the stale records are gone, the old mailbox has been copied, and several days have passed with nothing new arriving. Check it every day until then.

West Coast Media Solutions Inc. provides web design, web development, hosting, digital marketing, and business consulting to organisations across Canada, drawing on more than twenty-five years in the field.

Moved your email and lost some of it?

Tell us which domain your email uses, and we will read its mail records and find where stray messages are going.

Start a Conversation