Exchange 2013 and disabled accounts in AD

matitdob 21 Reputation points
2021-08-18T18:58:09.03+00:00

Hello,
How to solve the problem of sending e-mails (exchange 2013) to people whose accounts are turned off (in AD)?
At the moment, no information comes that the message will not be read. I cannot delete these inbox because I cannot lose my data.
Please help me solve the problem.

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,503 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andy David - MVP 145.6K Reputation points MVP
    2021-08-18T21:27:02.357+00:00

    If you want to apply to all senders, you have some options:

    Using the same link, only allow a specific sender to sent to it (you?)

    124461-image.png

    or set the send/receive quota ( and the other mailbox quotas ) to 0

    124403-image.png

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Andy David - MVP 145.6K Reputation points MVP
    2021-08-18T19:41:53.17+00:00

    You want those messages to bounce back to the external sender?

    You could require authentication for senders and it will

    set-mailbox <user> -RequireSenderAuthenticationEnabled $true  
    

    https://learn.microsoft.com/en-us/powershell/module/exchange/set-mailbox?view=exchange-ps

    124414-image.png


  2. Yuki Sun-MSFT 41,016 Reputation points
    2021-08-19T06:52:31.97+00:00

    Hi @matitdob ,

    How to solve the problem of sending e-mails (exchange 2013) to people whose accounts are turned off (in AD)?

    By "accounts are turned off (in AD)", do you mean you have disabled their AD accounts while the mailboxes are still active?

    124519-1.png

    If this is the case, by default disabled user accounts can still receive mails(See this article.) so in other words, the incoming message can still arrive these mailboxes.

    From your description, do you mean it's ok that they can still get messages, but meanwhile you would like the senders to get a notification that their messages won't be "read" by the original mailbox owner? If my understanding is correct, I'd suggest configuring Automatic Replies settings for these mailboxes as a workaround.

    For instance, in my test environment, user10's AD account has been disabled, then I run the command below to configure the auto reply for the mailbox:

    Set-MailboxAutoReplyConfiguration -Identity user10 -AutoReplyState Enabled -InternalMessage "You message won't be read by user10." -ExternalMessage "You message won't be read by user10."  
    

    Now when a user sends a message to user10, the following auto reply message will be triggered:
    124529-2.png

    Feel free to let me know if I have misunderstood anything.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    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.