Tag Archives: exchange

How to: Remove Exchange mailbox export requests

After a number of exports or imports, you might need to clean up the failed, completed or other status when running the get-mailboxexportrequest report in PowerShell. To clean these open the Exchange PowerShell and run the below.

Clean Export requests
Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest
Get-MailboxExportRequest -Status Failed | Remove-MailboxExportRequest

Clean Import requests
Get-MailboxImportRequest -Status Completed | Remove-MailboxExportRequest
Get-MailboxImportRequest -Status Failed | Remove-MailboxExportRequest

(95)

Fix: Exchange error 0x800ccc6c – Verify that the mailbox exists and that the Exchange receive connectors are configured properly

When having especially SBS 2008 with the POP3 Connector to retrieve mail from an outside mailbox to your internal Exchange server, you may encounter the below error in the Event Viewer.

An error occurred while delivering mail to ‘mailbox@mydomain.com’ on the SMTP server ‘localhost’. The error code was 0x800ccc6c. Verify that the mailbox exists and that the Exchange receive connectors are configured properly.

Thou the error message is misleading, this problem can happen if the POP3 Protocol Errors meet the tolerance of the Exchange SMTP Receive connectors. Exchange will close an SMTP connection after a certain number of protocol errors. The default is 5.

To solve the issue, in my case I had to in increase the value of “MaxProtocolErrors” for the Exchange SMTP Receive connectors from Exchange Management Shell by using the below command.

Set-ReceiveConnector -identify “Name of Connector” -MaxProtocolErrors 999

After this, I have restarted the POP3 Connector retrieval of messages and it worked.

(877)

Fix: Your automatic reply settings cannot be displayed because the server is unavailable

When setting up the automatic reply and out of office from your Outlook 2010 having Exchange 2010 you might have the problem with a pop-up saying “Your automatic reply settings cannot be displayed because the server is unavailable”.

I have managed to solve this with a DNS record in your infrastructure. Create the following SRV record to fix the issue.

Service: _autodiscover
Protocol: _tcp
Port Number: 443
Host: myexchangeserver.mydomain.local

On the client PC run the following to refresh the DNS. Make sure you run the CMD as Administrator

ipconfig /flushdns
ipconfig /registerdns

This should fix the problem and the user will be prompted to enter his Out of office settings.

(35680)

How to: Remove Arbitration mailboxes from Exchange Mailbox servers

Sometimes you would like to uninstall a mailbox server or un-install a mailbox server but when you make the Get-Mailbox -Arbitration -Database DataBase1 you see some mailboxes there. These are there to prevent you from deleting the mailbox database or server. These are used by the Exchange server. You can either move or delete these mailboxes. If this is not the last mailbox server in your setup I would suggest you move them, otherwise delete them or you will not be able to uninstall the server.

Moving the mailboxes
Get-Mailbox -Arbitration -Database EXCHDB1| New-MoveRequest -TargetDatabase EXCHDB2

Disabling the mailboxes
Get-Mailbox -Arbitration -Database EXCHDB1| Disable-Mailbox -Arbitration

Deleting the mailboxes
Get-Mailbox -Arbitration -Database EXCHDB1| Remove-Mailbox -Arbitration -RemoveLastArbitrationMailboxAllowed

If you would like to re-create them, I would suggest the below

Setup.com /PrepareAD /IAcceptExchangeServerLicenseTerms
or
.\Setup /PrepareAD /IAcceptExchangeServerLicenseTerms

(5625)

Fix: Emails not showing in Exchange after IMAP import

When importing from PST files exported from an IMAP Server, the messages might not be showing when viewing them in Outlook although they are there. The messages are visible in OWA (Outlook Web Access) and you cannot move emails into the folders when this is done from OWA.

This is because when you import the PST, the messages are imported with the IMAP message format and need to be changed to IPF.NOTE format.

Download the ExFolders from the Microsoft website or from the tools page here.
Extract Exfolders.exe into C:\Program Files\Microsoft\Exchange Server\V14\Bin
Run the Registry file and import it

Make sure you have ‘Manage As’ permissions on the mailboxes you need with the logged in user.

Open ExFolders from the bin folder

Goto Tools and Options
Enable Logging to File

Goto File and select Connect with
Type: Mailboxes
Connect by: Database
Select the GC server
Select the Mailbox Database
You should see all the mailboxes listed

Goto Tools and open Custom Bulk Operation
Select Mailboxes as your Base Folder
Enter (&(0x3613001E=IPF.Imap)) in the Overall Filter
Click on the Add button and select Other Folder Properties and click OK
Select Action as Modify
Select PR_CONTAINER_CLASS : 0x3613001E as Property
Enter IPF.Note as Value
Click OK and OK

This should process the folders and emails. From here Exfolders will walk through the mailbox container(s) and change each instance of the PR_CONTAINER_CLASS from IPF.Imap to IPF.note

(2404)

How to: Increase OWA timeout for Exchange 2010 and 2007

Though it’s a good security feature to timeout users by default, one can have some issues with people using just OWA to read their mail having to enter the password every 5 minutes. So here’s how to increase the timeout.

By default the Public timeout is 15 minutes where as the Private timeout is of 8 hours.

If you would like to change these simply do the following.

Open registry editor
Navigate to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesMSExchange OWA
Create new DWORD named PrivateTimeout
Create new DWORD named PublicTimeout
Now, enter the decimal value in the DWORDs created as required.

Note: The DWORDs entries are in minutes

(7848)