Blog

Archive for the ‘Exchange Server’ Category

Installing Thawte’s new 2048 bit certificates

Tuesday, August 3rd, 2010

Thawte now is conforming to the new 2048 bit standard for their SSL certificates, which will require you to install two intermediate certificates on your server before they work and is validated. Below are the links to the articles and intermediate certificates. Download both certificates and import them into the “Intermediate Certificate Authority” in the Certificates MMC.

Thawte Intermediate and Cross Root CAs - link

Primary and Secondary Intermediate CAs - link

Comparison of Exchange ActiveSync clients (mobile devices)

Friday, July 16th, 2010

Great table on the features of ActiveSync and what each client (device) can do, - Wikipedia

Windows server backup fails consistency check of the Exchange database

Wednesday, July 14th, 2010

Trying to backup Exchange 2010 and purge transaction logs using the built-in Windows Server Backup app (Windows 2008).

- Backup completes but with warnings and log files won’t purge

-Found that the backup will run successful only if database files and the transaction log files on the same volume

Moved the transaction logs files via the EMC to the save volume as the databases and got past the consistency check failure issue, and got a good backup w/flushed logs.

Outlook 2003 (connected to Exchange 2010) gives unknown error when deleting some messages

Wednesday, June 2nd, 2010

When users delete items from folders, outlook doesn’t seem to refresh the item list.  If you try and delete the item again, outlook throws an “unknown error” message.  If you delete an item and then navigate away from a folder or even use the navigation pane to display the same folder, the item list will refresh and remove the deleted message.

The issue is “The basic issue is that Outlook 2003 support UDP and polling notifications. Exchange 2007 supports UDP, polling and Async notifications. Exchange 2010 only supports polling and Async notifications. This means when Outlook 2003 move from Exchange 2007 to Exchange 2010, Outlook clients will fall back to polling which by default only gets notifications every 30secs-1min. This means any change won’t show up immediately.

UDP notification support was removed from Exchange 2010. As a result, Outlook 2003 can only use polling notifications in online mode, which are still supported by RPC Client Access. This will result in a slight delay in updates to item status (30 seconds on average up to a 1 minute delay) when changes are made to items in a mailbox accessed by Outlook 2003.”

The fix:

Method 1: Install Update Rollup 1 for Exchange Server 2010

Important This method contains steps that tell you how to modify the registry. However, serious problems may occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For more protection, back up the registry before you modify it so that you can restore the registry if a problem occurs. For more information about how to back up and then restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows

You can download Update Rollup 1 for Exchange Server 2010 from the following article in the Microsoft Knowledge Base:

976573 Description of Update Rollup 1 for Exchange Server 2010

After you install the update, you must add the following registry data to the server by using the Client Access role.

  1. Start Registry Editor.  
  2. Locate and then click to select the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeRPC\ParametersSystem Create the \ParametersSystem

    Note

    registry subkey if it does not exist.

  3. Add the following registry data to the server:Value type: REG_DWORD
    Value name: Maximum Polling Frequency
    Value data: any integer between 5000 and 120000 (decimal value)

  4. Exit Registry Editor.

Notes

  • The registry change is dynamically detected. Therefore, the new settings will be applied to any new connections that clients make after the change is made. If you want to make sure that the new settings are applied to all clients, you should recycle the Microsoft Exchange RPC Client Access service because connections from clients can remain alive for a long time.
  • Outlook 2003 does not poll the Exchange Server 2010 server in intervals that are less than 10 seconds. Therefore, any value less than 10000 will generally have the same effect.
  • This change does not reinstate UDP communication between Exchange Server 2010 and Outlook 2003. This change only enables polling to occur more frequently between Exchange Server 2010 and Outlook 2003.

Microsoft KB - link

Exchange 2010 Offline Address Book Will Not Download

Friday, April 23rd, 2010

After migrating from Exchange 2007 to Exchange 2010, workstations running Outlook in cacheded mode were not getting latest version of the GAL. When manually trying to download offline address book within Outlook, it would just hang. From the EMC, I checked the name of the OAB (Org, Mailbox, Offline Address Book (tab)), and noticed it wasn’t named the default ‘Default Offline Address List’. In this case it was called ‘KTS Offline Address List’. Shame on us for trying to personalize… ha!

Anywho, renamed OAB to ‘Default Offline Address List’, did a right-click + update on the OAB… and then tried manually downloading the OAB from Outlook again and this time it took about 10 seconds. Outlook GAL was now up-to-date and even a post in my event log (app) ‘OAB Download Succeeded’.

How to install Exchange Server 2007 SP2 on SBS 2008

Friday, April 23rd, 2010

There is an issue with installing SP2 for Exchange 2007 on SBS 2008, Microsoft has released a tool to get passed the errors - link. You need to download and extract Exchange 2007 SP2 - link, run the install tool. It will ask for the directory of SP2, and then you install SP2 normally.

Here are more details of the issue on MSExchange.org

 

Have Exchange Server send auto reply messages - Outlook

Tuesday, April 20th, 2010

A client wanted to setup a rule to send an automatic reply to an email address that wasn’t being used any longer. The solution was to create an Outlook rule (server-side) that would reply to the message using a specific message and forward the message to another recipient. First create a new user and email address that you want to autoreply.

Outlook:

Create a rule to have Exchange Server send an automatic reply

  1. On the Tools menu, click Rules Wizard.
  2. In the Apply changes to this folder list, click the Inbox you want to create the rule for.
  3. Click New.
  4. Click Start from a blank rule.
  5. Click Check messages when they arrive, and then click Next.
  6. In the Which condition(s) do you want to check list, select the From people or distribution list check box.
  7. In the Rule description list, click the underlined phrase, people or distribution list.
  8. In the Type name or select from list box, type the name of each person you want to receive the custom reply, and click From after you type each name.
  9. Click OK, and then click Next.
  10. In the What do you want to do with the message list, select the Have server reply using a specific message check box.
  11. In the Rule description list, click the underlined phrase, a specific message.
  12. In the subject line and message body, type whatever information you’d like to appear in your custom reply.
  13. Click Close, and when prompted to save changes, click Yes.
  14. Click Next, and select the check box next to any exception that you want.
  15. Click Next, and in the Please specify a name for this rule box, type a name for the rule.
  16. Click Finish, and then click OK.

By default, Exchange won’t send automatic replies, here is how to do it.

Exchange 2007

  1. Open Exchange Management Console
  2. Expand Organization Configuration-> Hub Transport
  3. In the right pane select the Remote Domains tab
  4. Right click Default and choose Properties
  5. On the General tab you can set which type of Out of Office Messages you will allow
    On the tab named “Format of original message sent as attachment to journal report:” you can enable or disable the automatic replying/forwarding

We also went on the old mailbox (that we are autoreplying from) and modified the deliver options (mail flow settings tab) to forward email to another mailbox. This will let send reply emails only to the old email address with the custom autoreply, but anyone who sends to the new email address won’t be bothered by the autoreply. You can also hide the mailbox so it doesn’t show up in the GAL too.

Link to other versions of Exchange too

Installing Exchange 2007 SP2 on SBS 2008

Monday, January 18th, 2010

You run into issues installing Exchange 2007 SP2 on SBS 2008 until you add the following key and DWORD to the registry.

To create the E12SP2READY registry value, follow these steps:

  1. Click Start, click Run, type regedit in the Open box, and then click OK.
  2. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\Software\Microsoft\SmallBusinessServer\Exchange

    Note If the Exchange subkey does not exist, you must create it. To do this, follow these steps:

    1. Right-click SmallBusinessServer, point to New on the Edit menu, and then click Key.
    2. Type Exchange and then press ENTER.
  3. After you select the Exchange subkey that is specified in step 2, point to New on the Edit menu, and then click DWORD Value.
  4. Type E12SP2READY, and then press ENTER.
  5. Right-click E12SP2READY, and then click Modify.
  6. In the Value data box, type 1, and then click OK.
  7. On the File menu, click Exit to exit Registry Editor.

Full article at Microsoft - http://support.microsoft.com/kb/973862

Exchange 2007 SP2 on SBS 2008

Friday, August 28th, 2009

 

There are additional steps to get Exchange 2007 SP2 installed on SBS 2008, below are the steps to complete from Microsoft Support

http://support.microsoft.com/default.aspx?scid=kb;EN-US;973862

Useful Exchange 2007 PowerShell Commands

Thursday, April 16th, 2009

How to update the GAL manually

Update-GlobalAddressList -Identity <GlobalAddressListIdParameter> -DomainController

For most it would be Update-GlobalAddressList -Identity “Default Global Address List”

How to check the logging in Exchange 2007

get-EventLogLevel

See which certificates Exchange 2007 are using

Get-ExchangeCertificate

Get-ExchangeCertificate |fl  (for more information)

Enable Exchange services for certificate

Enable-exchangecertificate -services IMAP, POP, UM, IIS, SMTP -Thumbprint BCF9F2C3D245E2588AB5895C37D8D914503D162E9

See what URL the CAS server has for autodiscover

Get-ClientAccessServer -Identity CASServer | FL

Change the autodiscover URL

Set-ClientAccessServer -Identity CASServer -AutoDiscoverServiceInternalUri https://mail.yourdomain.com/Autodiscover/Autodiscover.xml

Configure all the InternalURLs for each web distributed service

Set-OABVirtualDirectory -Identity “CASServer\OAB (Default Web Site)” -InternalURL https://mail.yourdomain.com/OAB

Enable-OutlookAnywhere -Server CASServer -ExternalHostname “mail.yourdomain.com” -ClientAuthenticationMethod “Basic”-SSLOffloading:$False

Set-ActiveSyncVirtualDirectory -Identity “CASServer\Microsoft-Server-ActiveSync (Default Web Site)” -ExternalURL https://mail.yourserver.com/Microsoft-Server-Activesync

Find out your inbound/outbound message limits

get-transportconfig