Solved

Exchange Mailbox

Posted on 2016-11-01
2
109 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In-place Upgrading Dirsync to Azure AD Connect
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
how to add IIS SMTP to handle application/Scanner relays into office 365.

751 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