Exchange 2010 quota warning messages issue

 

In Microsoft Exchange 2010 environments, Exchange sends a quota message to mailbox owners when mailbox size exceeds:

  • IssueWarningQuota – the lowest storage quota
  • ProhibitSendQuota – the middle storage quota
  • ProhibitSendReceiveQuota – the highest storage quota

 

All Quotas limits can be configured at mailbox or database level.

We can define time when messages are sent by specifying QuotaNotificationSchedule for Mailbox Database.

 

If we want to check QuotaNotificationSchedule use:

Get-MailboxDatabase | select name, QuotaNotificationSchedule

Continue reading

Print Friendly

Exchange 2010 Queues export, resubmit messages

Sometimes in your Microsoft Exchange environment you can experience a problem with HUB or Edge Transport servers, when often messages stuck in Queues.

When you resolve problem with any Exchange server, sometimes it takes few minutes for Exchange to resubmit all emails, time depends on how many messages are in queues.

Until messages have one of the below status, we can manually resubmit them to the Exchange Submission Queue if queue hasn’t Suspended state:

  • mailbox Delivery queues or Remote delivery queues with status Retry
  • emails in Unreachable queue
  • emails in Poison queue

 

To manually resubmit messages in queues, you can use the following methods:

  • use the Retry-Queue cmdlet with parameter -Resubmit
  • export messages from queue to .eml message files and resubmit them by placing in the Replay directory. For Exchange 2010 default location:
    C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Replay
  • open Queue Viewer or Resume-Message cmdlet to resubmit messages in poison message queue.

 

Exchange 2010 export message copy from Queue:

Continue reading

Print Friendly

Shared Mailbox deleted and sent items separation

Most of us who has used Shared Mailbox in Microsoft Exchange environment, met with users complaints that emails which they sent a message using the shared mailbox account goes to Sent Items personal mailbox.

This behavior is normall for scenario when we use Microsoft Outlook with personal mailbox and automapped shared mailbox. Then when we delete or send message from shared mailbox account, the message goes to personal recycle bin or sent items.

 

How can we separate Shared Mailbox deleted and sent items ?

We have two solutions to separate sent and deleted items:

  1. Use Microsoft Outlook 2010 and add shared mailbox as normal mailbox account
  2. Change windows registry on client computer with different Outlook versions


 

1. Use Microsoft Outlook 2010 for Shared Mailbox to separate sent and deleted items

When you use Microsoft Outlook and you get permissions to shared mailbox, this mailbox will be automapped in Outlook.

After automapping when you send a message from shared mailbox this message will be saved in sent items of your personal mailbox. This behavior often is unwanted.

To make Outlook 2010 to save all sent items or deleted items from shared mailbox to sent items folder or deleted items folder in shared mailbox you have to add shared mailbox as equivalent mailbox in Outlook.

Close Microsoft Outlook 2010 with your personal mailbox, and go to Control Panel, Mail  next in Mail Setup – Outlook window choose:
E-mail Accounts…

Next in Account Settings window choose New…, and select

Manually configure server settings or additional server types

Continue reading

Print Friendly

Disable Outlook Mailbox Auto-Mapping

When Microsoft released Microsoft Exchange 2010 SP1 we’ve discovered new feature that allows Microsoft Outlook 2010 and 2007 clients to automatically map mailbox to which a user has Full Access permission.

So if we add user Full Access permission to 10 mailboxes, he will all 10 mailboxes in his Outlook because these mailboxes will be automatically mapped in Outlook.

In Microsoft Exchange 2010 SP1 there was no option to turn this “great” feature off.

But when we get Microsoft Exchange 2010 SP2 we can use Exchange Management Shell (Exchange Powershell) to disable this feature.

When we use Exchange Management Console to add user Full Mailbox Permission to other mailbox, this mailbox will be loaded to user Outlook.

 

If we want to add user Full Mailbox Permission but we don’t want automap this mailbox to Microsoft Outlook we have to use powershell:

Continue reading

Print Friendly

Exchange recipients limit

In fact, this information is easily available on technet, but sometimes it is useful to organize and put them in one place.

Exchange 2010 and Exchange 2007  recipients limit

There is an important change compared to Exchange 2003 – Distribution group are treated as one recipient.

We can restrict recipients limit at the following levels:

  • Organization
  • Transport server
  • Receive Connector
  • Mailbox

So…

Recipient limit  at the organization level, we can check this PowerShell command:

Get-TransportConfig | fl MaxRecipientEnvelopeLimit

or in EMC

Organization Configuration | Hub Transport | Global Settings | Transport Settings tab | Transport Settings Properties

Transport Settings

Continue reading

Print Friendly

Exchange 2010 get information about mailbox size

Information about the amount of space that occupies a particular mailbox, we can easily preview the Exchange Management Console.

Unfortunately, if we want to get more information about the mailboxes, or mailboxes that meet that special condition, the realization of such a task in the EMC will be very time consuming.

In such a case comes to us from the console using the Exchange Management Shell (EMS) in which the PowerShell commands, we can get a lot of interesting information on the mailboxes located on Microsoft Exchange.

Display all information about the mailbox:

Get-MailboxStatistics john.smith@domena.com | FL

Continue reading

Print Friendly

Exchange 2010 Powershell how to count mailboxes

We often encounter the need to determine how many mailboxes in a given time is in different databases or around the Microsoft Exchange Server.

Such information can be easily obtained by using the Exchange Management Shell cmdlets for Exchange 2010.

Examples of use:

Determination of the number of all mailboxes in an Exchange Organization

 

(Get-Mailbox -ResultSize unlimited).count

ResultSize option we use if our Exchange environment has more than 1000 mailboxes

Number of mailboxes in different databases:

Get-Mailbox -ResultSize unlimited | Group-Object -Property:Database | Select-Object Name,Count

Continue reading

Print Friendly

Resume-MailboxDatabaseCopy for all databases on server

Sometimes (for example, after a small disk array failure ;)) you need to resume failed and suspended database copy. We can do that with this  command: resume-mailboxdatabasecopy .

But what if there is a lot of databases ?

In this case we can use this command to resume replication for all databases on specific server:

get-mailboxdatabasecopystatus -server “server_name” | resume-mailboxdatabasecopy

Also for suspending replication we can use this command:

get-mailboxdatabasecopystatus -server “server_name” | suspend-mailboxdatabasecopy

Print Friendly

Search-Mailbox search and remove emails

Each administrator of the Microsoft Exchange Server had certainly met or will meet with a situation where you have to find a specific email in the mailboxes, and sometimes even remove it.

In Microsoft Exchange 2010 to search mailboxes, we can successfully use the Search-Mailbox command.

But first make sure that we can run the command Mailbox-Search and
New-MailboxImportRequest
.
If you try to run the New-MailboxImportRequest and reveive the message:

 “The term ‘New-MailboxImportRequest’ is not recognized as the name of a cmdlet”

 

This means that we do not have appropriate access rights.

Giving the appropriate permissions:

In Active Directory, create a universal security group such ExchangeImportExport_Allowed

Continue reading

Print Friendly

Exchange 2010 PowerShell script count items in mailbox folder

As is known, together with new versions of Microsoft Exchange are changing also limits the number of elements in a single folder mailbox.

For each version of Exchange, Microsoft recommends not to exceed the following values of the number of items in the folder:

Exchange 200/2003        5 000
Exchange 2007               20 000
Exchange 2010             100 000

Number of items contained in folders determines the performance of the server and connections to the mailbox, can also cause problems with the use of mail clients.

Continue reading

Print Friendly