TechShizz | All posts tagged 'Exchange 2007'

Disable Autodiscover for Office 365 Migration

When migrating to Office 365 the internal outlook users are not able to use autodiscover.

This is because the internal exchange server also uses autodiscover in IIS.

Use this description to remove the internal AutodiscoverVirtualDirectory

Be sure that this is the proper migration plan for you’re organization!

1. Open an elevated command prompt and back-up the IIS configuration (Just in case !):

cd %windir%system32inetsrvappcmd.exe add backup “Before Removing Autodiscover”

2. Open an elevated Exchange Management Shell and retrieve the current autodiscover virtual directory:

Get-AutodiscoverVirtualDirectory | fl Name, Server, InternalUrl, Identity

Copy the Identity value to the clipboard.

3. In the Exchange Management Shell, remove the autodiscover virtual directory:

Remove-AutodiscoverVirtualDirectory -Identity “ALPHAAutodiscover (Default Web Site)”

When you’re identity contains a space, use the quotation marks ”

You will have to confirm by typing a “Y”.

4. Check that the autodiscover virtual directory is gone:

Get-AutodiscoverVirtualDirectory | fl Name, Server, InternalUrl, Identity

This should now return nothing.

5. Now, with Outlook running on a desktop, hold the Ctrl button, right-click on the Outlook icon in the system tray, and select Test E-mail AutoConfiguration. Enter your email address and password and click the Test button. The results should come from the Office 365 server.

Get all X500 addresses in a domain using PowerShell

Run this command in PowerShell with the Active Directory module loaded.

Import-Module ActiveDirectory

Get-ADUser -SearchBase “OU=SBSUsers,OU=Users,OU=MyBusiness,DC=MyDomain,DC=local” -Filter * -Properties SamAccountName,legacyExchangeDN | Select-Object SamAccountName,legacyExchangeDN | Export-CSV C:\UserExport.csv -NoTypeInformation

Set Message Size Limits in Exchange 2010 and Exchange 2007

Typical Errors:

#550 5.2.3 RESOLVER.RST.SendSizeLimit; message too large for this sender ##

#550 5.2.3 RESOLVER.RST.RecipSizeLimit; message too large for this recipient ##

There are several places to check/set message size limits:

1. Organizational Limits
Set-TransportConfig -MaxReceiveSize 40MB -MaxSendSize 40MB

In Exchange 2007 SP1 and later, you can also set the organizational message size limits using the EMC by going to Organization Configuration | Hub Transport | Global Settings tab | Transport Settings | properties | General tab.
Transport Settings Properties
2 Receive Connector Limits
Set-ReceiveConnector “CONNECTOR NAME” -MaxMessageSize 40Mb
.
To modify the maximum message size on a Receive Connector using the Exchange console, select Server Configuration | Hub Transport | select a Hub Transport server | Receive Connectors -> select a connector | Properties | General tab.
Receive Connctor Properties
3. Send Connector Limits
Set-SendConnector “CONNECTOR NAME” -MaxMessageSize 40Mb

To modify the maximum message size on Send Connectors, select Organization Configuration | Hub Transport | Send Connectors -> select connector | Properties | General tab.
Send Connector Properties
4. Recipient Limits
Set-Mailbox “Rich” -MaxSendSize 20Mb -MaxReceiveSize 20Mb

To set these using the Exchange console: Recipients | Mailbox -> select mailbox (or select another recipient type such as a contact or mail user from the corresponding node) | properties | Mail Flow Settings tab | Message Size Restrictions.
To modify the maximum message size on Send Connectors, select Organization Configuration | Hub Transport | Send Connectors -> select connector | Properties | General tab.
Recipient Limits
5. Active Directory Site Link Limit
By default, the MaxMessageSize on AD Site Links is set to unlimited. This can be changed using the following command:

Set-ADSiteLink “DEFAULTIPSITELINK” -MaxMessageSize 20Mb

6. To track messages that failed because of recipient’s MaxReceiveSize:

Get-MessageTrackingLog -EventID FAIL | where {$_.RecipientStatus -like “*RecipSizeLimit*”}

To track messages that failed because of the sender’s MaxSendSize:

Get-MessageTrackingLog -EventID FAIL | where {$_.RecipientStatus -like “*SendSizeLimit*”}

Microsoft Exchange Server Version Numbers

Just use this:: 

https://technet.microsoft.com/en-us/library/hh135098(v=exchg.150).aspx

 

Microsoft Exchange Server

Version

Microsoft Exchange Server 2007

8.0.685.24 or
8.0.685.25

Microsoft Exchange Server 2007 SP1

8.1.240.006

Microsoft Exchange Server 2007 SP2

8.2.176.002

Microsoft Exchange Server 2007 SP3

8.3.83.006

Microsoft Exchange Server 2010

14.0.639.21

Microsoft Exchange Server 2010 SP1

14.1.218.15

Microsoft Exchange Server 2010 SP2

14.2.247.5

Microsoft Exchange Server 2013

15.0.516.032

Exchange 2016 Preview

15.01.0225.042

Exchange Server 2016 RTM

15.01.0225.016