question

matitdob-1938 avatar image
0 Votes"
matitdob-1938 asked matitdob-1938 commented

Exchange 2013 and disabled accounts in AD

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.

office-exchange-server-administration
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndyDavid avatar image
0 Votes"
AndyDavid answered AndyDavid edited

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



image.png (26.9 KiB)
image.png (44.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndyDavid avatar image
0 Votes"
AndyDavid answered matitdob-1938 commented

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://docs.microsoft.com/en-us/powershell/module/exchange/set-mailbox?view=exchange-ps

124414-image.png



image.png (23.6 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Mainly it's about emails from the outside. But it would be best if such a message was sent to external emails as well as from my domain.

Thanks, tomorrow I will check the solution you proposed.

0 Votes 0 ·
YukiSun-MSFT avatar image
0 Votes"
YukiSun-MSFT answered matitdob-1938 commented

Hi @matitdob-1938,

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.


1.png (51.7 KiB)
2.png (23.3 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @YukiSun-MSFT

It doesn't even need to receive new messages to those inboxes. And it's even better if messages aren't delivered.
However, I must keep their current contents. At the same time, the person sending the message to the person with the disabled account must be informed that sending the message to this person does not provide information to my organization.
It may turn out that the mailbox will be reactivated after some time.

0 Votes 0 ·

Setting an auto-reply will only fire once per sender, so that probably is not a good long term solution.

0 Votes 0 ·

@AndyDavid

Thanks for the information. In this case, I think I will prohibit the possibility of sending emails from outside the organization.
Additionally, I will limit people in my organization who can send messages to this address.

0 Votes 0 ·