Solved

Exchange Mailbox

Posted on 2016-11-01
2
78 Views
Last Modified: 2016-11-29
Hi

Is there a way to disable or desactivate an Exchange 2013 mailbox that senders receives a reply that this mailbox no longer exist? I don't really want to delete it.

Thanks
0
Comment
Question by:jpmoreau
2 Comments
 
LVL 8

Accepted Solution

by:
Alan Cox earned 500 total points
ID: 41869137
2 suggestions I've used from my buddy Tony:
Two reasonable approaches immediately suggest themselves as good solutions. First, create a distribution group (let’s say “Disabled Mailboxes”) and add all the disabled mailboxes to the group. Put a MailTip on the group to advise local users that they shouldn’t attempt to email the group. Block incoming messages to mailboxes in the group with a transport rule. Something like the following would be a good start (always test code copied from the Internet to make sure that it works, meets your needs, and doesn’t do bad things):

New-TransportRule "Block Email to Disabled Mailboxes"
 -SentToMemberOf "Disabled Mailboxes"
 -RejectMessageEnhancedStatusCode "5.7.929"
 -RejectMessageReasonText "Regretfully the user that you attempted
 to contact is no longer with Contoso Corporation" -Enabled $True
A customized DSN status code is used here. You can use the New-SystemMessage cmdlet to create customized text to go along with the status code.

Another approach is to clamp down on the mailbox’s ability to receive messages by setting its properties with the Set-Mailbox cmdlet. For instance:

Set-Mailbox -Identity "john doe" -AcceptMessageOnlyFrom
 Administrator -RequireSenderAutenticationEnabled $True
 -MaxReceiveSize 1KB
This command limits the set of users who can send messages to the mailbox to “Administrator”, who will only be able to send 1KB messages if they should try. The RequireSenderAuthenticationEnabled switch isn’t strictly necessary but it provides another level of block by ensuring that only authenticated users (those who have accounts in your forest or are federated with your forest) can send messages to the mailbox.

This only scratches the surface of the many and varied ways that administrators deal with unused mailboxes on an Exchange server. I’m sure that you have your own favorite approach, agreed with and signed off by HR and Legal, just so that your hands are clean!
0
 
LVL 18

Expert Comment

by:xtermie
ID: 41878913
You can try changing the auto reply, like stated here:  http://techsupport.psr.edu/AutoReply/AutoReply.htm
or
you can use a rule and avoid a loop. Create a distribution group with no members and assign the address noreply@yourdomain.com. When you create the reply rule on the mailbox, when you create the message, click Options-Direct Replies To. Enter the distribution group you created. Any replies to your auto-reply will go to the distribution group. Because the distribution group doesn't contain any members, Exchange will silently drop the message.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This video discusses moving either the default database or any database to a new volume.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question