Relay server queing email to Exchange servers

Issue: “exchange.domain.edu Temporary error returned by SMTP partner. smtp;452 4.3.1 Insufficient system resources
Synopsis: Relay servers actually make the smtp connection, but exchange server/s responds to relay with a hold on message because it’s busy
Resolution: Checked queue drives on exchange servers. Found out one of the servers, had 4% disk space remaining. Had to delete some log files to create space
By so doing, disk latency reduced and queues on relay servers cleared​

Exchange Server Build Numbers and Release Dates

To confirm your exchange server build number, please follow the instructions below
Get-ExchangeServer | fl name,edition,admindisplayversion
(note that the command will give you version of Exchange and service pack installed. It won’t give you rollup version
You can run this command to view rollup version on each server
gcm exsetup | fl
IF you have Logparser, you can also use this command:
LogParser “SELECT Name,Size, FileVersion,ProductVersion,InternalName,ProductName FROM ‘servername1c$Program FilesMicrosoftExchange ServerV14BinExSetup.exe’,’servername2c$Program FilesMicrosoftExchange ServerV14BinExSetup.exe'” -recurse:0 -i:FS -o:NAT -rtp:-1
Reference:

unable to search for an existing AD account to create a room mailbox

Unable to see existing AD account to create room mailbox.
Issue – Customer wanted a room account created from an existing AD account. When creating the room and choosing existing user, AD account would not display
Resolution- This is by the design. Room accounts are associated with disabled AD accounts. The AD account needs to be disabled prior to create the room mailbox

Create mail forwarding to an external email alias

User has an AD account in one domain with a particular email address. That address needs to be forward emails to another external email alias.
 
To resolve:
 
Create a mail user in Exchange 2010. Use the pshell one liner below to accomplish this
 
Enable-MailUser -Identity jdoe -Alias ‘jdoe’ -ExternalEmailAddress ‘SMTP:alice@blahblah.org’

Can’t find disconnected or deleted mailboxes

Can’t find disconnected or deleted mailboxes ?
 
Use this to check your databases:
Step 1:
Cleans all databases in the specific store
Get-Mailboxdatabase | Where{ $_.Server –eq “<servername>”} | clean-MailboxDatabase 
Step 2:
Get a list of mailboxes in disabled state after cleaning the databases in Step 1
Get-MailboxStatistics -Database <DatabaseName> | Where { $_.DisconnectReason -eq “Disabled” } | Format-List LegacyDN, DisplayName, MailboxGUID, DisconnectReason

Problems sending HTML messages from Outlook Web App

Issue: customer reported problems sending HTML messages from Outlook Web App
 
 
synopsis: Found out content type is set to MimeText(default setting) which forces all messages from OWA to go out as plain text
 
 
resolution:From powershell, type set-remotedomain -Identity Default -ContentType MimeHtmlText

Create Transport rule with one Pshell Liner

Task: using pshell, create transport rule to block phishing attack email using some unique words in the subject or body, then redirect the phishing emails to a generic mailbox called canary10
 
 
 
New-TransportRule -Name ‘Phishing attack’ -Comments ’email account upgrade’ -Priority ‘0’ -Enabled $true -SubjectOrBodyContainsWords ‘some DGTX virus ‘,’Technical Mail Admin.’ -RedirectMessageTo ‘user@domain.com’

reset search index in Exchange 2010 DAG

How to rebuild full-text index catalog manually for DAG Databases
 
1 Suspend all replica databases
2- Net Stop MsExchangeSearch, delete full-text index catalog directory,start microsoft exchange search service by typing net start MsExchangeSearch
3- Delete the Index Catalog on Replica databases
4- Resume the replica databases.
you can do the following to monitor progress
 
 
To check how the process is going do the following:
1- Open Reliability and Performance Monitor (perfmon.exe).
2- In the console tree, under Monitoring Tools, click Performance Monitor.
3- In the Performance Monitor pane, click Add (green plus sign).
4- In Add Counters, in the Select counters from computer list, select the server on which the mailbox database you want to monitor is located.
5- In the unlabeled box below the Select counters from computer list, select Full Crawl Mode Status in the MSExchange Search Indices performance object.
6- In the Instances of selected object box, select the instance for the user’s mailbox database.
7- Click Add, and then click OK.
8- To make easier to monitor the Full Crawl Mode Status, right-click on graph screen then Properties.
9- Select Graph tab.
10- On View Combo box select Histogram bar and Maximum Vertical Scale insert 2, click OK.
When you see a bar for a database it means that the index catalog is been created (value 1), if you don’t see a bar meens the indexing has finished for that database.

Installing Exchange 2010 sp2 mgmt tools on Windows 7

Installing Exchange 2010 sp2 mgmt tools on Windows 7
1.       Download the sp2(varies) files.
2.       Follow instructions from this url  http://exchangeserverpro.com/exchange-2010-install-management-tools
3.    Apply Update Rollup 2(rollup # varies) from same location as step 1
4.    Reboot your PC.
5.    You are done