---
title: "Separating mail to same user, different domain"
date: "2015-01-09"
category: "email"
slug: "separating-mail-user-different-domain"
---

## Overview

When hosting multiple domains under one account, the same e-mail address name on different domains delivers to the same inbox by default. This article explains how to separate them so that `info@mydomain.com` and `info@myotherdomain.com` deliver to different inboxes.

## Step 1: Create a Namespaced User

In the [[logging-into-the-control-panel]], go to **Users** > **Create User**:

1. Set _Username_ to **myd.info** (a namespaced identifier)
2. The [[accessing-e-mail]] login will be `myd.info@mydomain.com`
3. Set _Full Name_ to a descriptive label (this becomes the default sender name in webmail)
4. Under _General Service Configuration_ > _E-Mail_, click **Advanced** and deselect "_Create e-mail addresses named after user_" (leave other options selected)
    - Without this step, addresses like `myd.info@mydomain.com` and `myd.info@myotherdomain.com` are automatically created
5. Configure other options under _General Service Configuration_ as needed

    ![Creating a user independent of a conflicting e-mail address.](kb-image:email-separation-user-creation.png)
*Creating a user independent of a conflicting e-mail address.*

6. Click **Add User**

## Step 2: Link the Address to the User

Go to **Mail** > **Manage Mailboxes**:

1. Under _Add a New Address_, enter **info** and select **mydomain.com** under _select domain(s)_
2. Set _Type_ to **Single User** and select **myd.info** as the user

    ![Assigning an e-mail address to a conflicting user.](kb-image:email-separation-mailbox-assignment.png)
*Assigning an e-mail address to a conflicting user.*

3. Click **Add Address**

## Result

`info@mydomain.com` now delivers to the user `myd.info`, accessed via login `myd.info@mydomain.com`. Repeat the process for `info@myotherdomain.com` using a different namespace (e.g., `mod.info`).

### About Namespacing

Namespacing means prefixing usernames with a short abbreviation of the domain (e.g., `myd.` for mydomain.com). This groups related accounts together in **User** > **Manage Users** for easier management. While not required, it simplifies administration when managing many users across multiple domains.

There is no limit on the number of e-mail addresses or user accounts.
