Exchange 2019 +AD with two domain [SOLVED]

Ermx 21 Reputation points
2022-04-14T06:54:38.897+00:00

I have a server with Exchange 2019
with two accepted domains : ex. domain1.com and domain2.com

when I add a new user in AD, or in Exchange admin,
the new user has automatically assigned the email with domain1.com

how do I make sure that the mailbox is on domain2 instead?
neither in edit user I can't change default mailbox.

sorry but sysadmin leaves and i never managed exchange servers.

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,438 questions
{count} votes

5 additional answers

Sort by: Most helpful
  1. Andy David - MVP 143.8K Reputation points MVP
    2022-04-14T11:36:55.013+00:00

    You can use an Email Address Policy based on some criteria or set manually when you add a new user

    https://learn.microsoft.com/en-us/exchange/email-addresses-and-address-books/email-address-policies/eap-procedures?view=exchserver-2019
    https://www.alitajran.com/create-email-address-policy-exchange-server/

    If you cant change the default email address, uncheck this option, save, then set the new default address

    193086-image.png

    0 comments No comments

  2. Ermx 21 Reputation points
    2022-04-15T13:30:23.313+00:00

    tnx for reply,

    but in "mail flow" i have found only default policy, with domain1.com,
    but there are already old users with "domain2.com"
    and I don't know how the old sysadmin has entered these users,
    also I checked shell history but haven't found how he added these users with mailbox "domain2.com"

    0 comments No comments

  3. Andy David - MVP 143.8K Reputation points MVP
    2022-04-15T15:05:34.677+00:00

    You dont need a policy. You can add manually

    0 comments No comments

  4. Ermx 21 Reputation points
    2022-04-15T15:21:31.84+00:00

    in <recipients> add (+) new mailbox and
    automatically new useris added as user1@contoso1.com (can't change domain)

    I don't known how to create/change user1 mailbox as contoso2.com (second accepted domain) --->users1@contoso2.com
    how can manually create o modify?

    if i add smtp users1@contoso2.com this remain as secondary address and can't remove users1@contoso1.com

    0 comments No comments