Duplicate emails in User and Shared mailbox

Ken Takayanagi 26 Reputation points
2022-06-27T21:06:57.687+00:00

In Exchange Online, can mail flow rules be created to delete duplicate msgs when
the same email is sent to both the Primary and Shared Mailbox(for which
primary is included)? I do not want the same email in both mailboxes.

Example:
I have emails where a message To: Primary and CC: Shared maibox for
Office365, where I am also a member of the Shared mailbox. I do not
want duplicate emails to be delivered to both Primary and Shared.

Exchange Exchange Server Management
0 comments No comments
{count} votes

Accepted answer
  1. Aholic Liang-MSFT 13,886 Reputation points Microsoft External Staff
    2022-07-06T07:43:33.7+00:00

    Hi @Ken Takayanagi ,

    Viewing the rules, I came up with this rule.

    Great to know that you've already thought of a solution and really appreciate it for your sharing!

    By the way, since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others.". and according to the scenario introduced here: Answering your own questions on Microsoft Q&A, I would make a brief summary of this thread:

    [Duplicate emails in User and Shared mailbox]

    Issue Symptom:
    I have emails where a message To: Primary and CC: Shared maibox for
    Office365, where I am also a member of the Shared mailbox. I do not
    want duplicate emails to be delivered to both Primary and Shared.

    Solution:
    Apply this rule after the message arrives
    where my name is in the To or Cc box
    and with X-Original-To: "groupemail" in the message header
    move it to the "duplicate" folder (can also delete it)
    Aside: "Cleanup Folder" also does delete the duplicate, however, it doesnt do it in real-time.

    You could click the "Accept Answer" button for this summary to close this thread, and this can make it easier for other community member's to see the useful information when reading this thread. Thanks!


2 additional answers

Sort by: Most helpful
  1. Ken Takayanagi 26 Reputation points
    2022-07-05T16:30:08.393+00:00

    The issue isnt where to place the captured msg. The issue was how is the duplicate msg. I noticed with group emails that get forwarded the header shows:
    X-Original-To: "groupemail"
    Delivered-To: "user email"

    Viewing the rules, I came up with this rule.

    Apply this rule after the message arrives
    where my name is in the To or Cc box
    and with X-Original-To: "groupemail" in the message header
    move it to the "duplicate" folder (can also delete it)

    Aside: "Cleanup Folder" also does delete the duplicate, however, it doesnt do it in real-time.

    1 person found this answer helpful.
    0 comments No comments

  2. Aholic Liang-MSFT 13,886 Reputation points Microsoft External Staff
    2022-06-28T07:16:07.613+00:00

    Hi @Ken Takayanagi ,
    I would suggest you could create a rule in outlook to move the emails with addressed the shared mailbox to the deleted items.
    You could refer to the following steps to create the rule:
    1.Click the “create rules” in the Home tab

    215567-2022-6-28-3.png
    2.Click the button of “Advanced Options”

    3.Select the option of ” send to people or public group” and then choose the shared mailbox address, click the Next.

    215560-2022-6-28-4.png

    4.Select the option of ” move it to specified folder” or Select the option of ” delete it” , click the Next.

    215651-2022-6-28-5.png
    5.click the Next in the page of select exceptions.

    6.Specify a name for this rule and click Finish.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.