---
title: "Mail sent to a hosted domain does not arrive if third-party MX records are present"
date: "2015-02-09"
category: "email"
slug: "mail-sent-hosted-domain-not-arrive-third-party-mx-records"
---

## Overview

Mail sent to a domain hosted on your account that uses third-party MX records (e.g., Google Workspace) is not reaching the intended recipient. Instead, it is delivered locally on the server.

> **Example:** If `example.com` uses Google Workspace for e-mail, and a script on your server (such as a WordPress contact form) sends mail to `contact@example.com`, the message is delivered to a local user named `contact` on the server instead of reaching Google Mail.

## Cause

The domain is listed in **Mail** > **Mail Routing** within the control panel. Any domain in this list causes the server to bypass MX record lookups and act as the final mail destination.

## Solution

1. Log into the [[logging-into-the-control-panel]]
2. Go to **Mail** > **Mail Routing**
3. Delete the record for the affected domain to allow external MX routing
