Solved

Exchange 2010 FWD Mail to Contact then Delete Mailbox

Posted on 2014-02-21
4
853 Views
Last Modified: 2014-02-23
OK sold off a piece of company and need to get rid of 300 mailboxes.  These guys have moved to office 365.  I currently have their mailboxes forwarding to a Mail Contact with the Office 365 account on the mail contact as External Address.  The mail is forwarding as it should just fine.

 I want to DELETE the mailboxes from my Exchange.  If just delete the mailbox and add it as an SMTP address in the mail contact then I get an NDR when sending to the address.

What step am I missing?  I thought it was a server side rule I needed to create to hold the FWd even without an actual mailbox.  I tried using the following command but it says the address doesnt exist

New-InBoxRule -Mailbox "bob smith" -Name "Forward to partner" -ExceptIfHasAttachment $false   -DeleteMessage $true -ForwardTo SMTP:bob.smith@company.onmicrosoft.com

The specified user "SMTP:bob.smith@company.onmicrosoft.com" wasn't found or is invalid. Please make sure you have type
d the name correctly.
    + CategoryInfo          : InvalidArgument: (:) [New-InboxRule], LocalizedException
    + FullyQualifiedErrorId : 5FF75595,Microsoft.Exchange.Management.RecipientTasks.NewInboxRule
0
Comment
Question by:Twhite0909
[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
4 Comments
 
LVL 4

Expert Comment

by:Jeffery Hayes
ID: 39877972
Your going to have to keep the mailboxes and setup mail fowarding is the easiest method.

Set-Mailbox -Identity "Dan Park" -ForwardingAddress "danpark.parents@fineartschool.net" -DeliverToMailboxAndForward $false

This would keep them as mailboxes and forward all mail to the new address and not save any mail to the old mailbox that is sent from when mail forwarding is enabled.

Or you can enable a mailuser contact to forward to.

I wouldn't go about deleting every single mailbox but rather setting them as mailusers for the recipient type.

I would go with Disable-Mailbox for the users that away the AD Object still exist.
0
 
LVL 4

Accepted Solution

by:
Jeffery Hayes earned 500 total points
ID: 39877993
Can you send me the complete Non Delivery Report or upload it when you try to select the contact from the GAL?

What you have listed should work, with the exception of any inbox rule. As that would require the mailboxes to be active.

set-mailcontact <Display Name> -emailaddresses SMTP:<Internal Recipient Email Address>, <External Recipient Email Address>
0
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 39879103
What you have done is correct, but I expect it is Autocomplete getting in the way.
What you need to do is add the X500 address to the contact. That way auto complete entries internally will get to the contact.

Also don't discount the delay in removing a mailbox and the OAB being updated. When you enter an SMTP address, the first Outlook does is see if it resolves to an entry in the GAL. If it does, then it is "corrected" to use that instead of the SMTP address. As it can take up to 48 hours for the GAL to be seen on all clients (OAB regeneration and then Outlook updating) it is probably best to do it on a Friday afternoon/evening.

Simon.
0
 

Author Closing Comment

by:Twhite0909
ID: 39881016
What I had was correct some of the names and emails in Ad were different from each other.  Thanks guys!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
In this video we show how to create a Contact 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 Recipients >> Contact ta…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

749 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