Archive for the ‘Microsoft Exchange 2007 Server’ Category

Exchange 2007 different environment types

LCR (local continuous replication)
this was mainly used for small business who wanted to replicate a copy of their Exchange database to another disk on the same server.

lcr

SCC (Single copy cluster)
was what I would call a traditional Exchange cluster which used shared storage to host the Exchange database.

scc

CCR (cluster continuous replication)
was used to replicate Exchange database information between 2 Exchange server allowing for hardware and storage redundancy but was limited to 1 Active node and 1 Passive node.

ccr

SCR (standby continuous replication)
was introduced in Exchange 2007 SP1 to provide the ability to replicate Exchange databases to an disaster recovery location.

scr

Exchange 2007 SP1 Rollup 9 is available

Exchange 2007 SP1 Rollup 9 is available. You can download it here.

Update Rollup 9 for Exchange Server 2007 SP1 fixes the issues that are described in the following Microsoft Knowledge Base articles:

  • 943073  (http://support.microsoft.com/kb/943073/ ) An image attachment appears as a red “X” when you send an RTF e-mail message from an Exchange Server 2007 organization to an external recipient
  • 945877  (http://support.microsoft.com/kb/945877/ ) The “eseutil /k” command takes a long time to verify the checksum of transaction logs in Exchange Server 2007 Service Pack 1
  • 947662  (http://support.microsoft.com/kb/947662/ ) The transport rule “when the Subject field or the body of the message contains text patterns” does not work accurately on an Exchange Server 2007 Service Pack 1-based computer
  • 954739  (http://support.microsoft.com/kb/954739/ ) The Exchange Impersonation feature does not work if a cross-forest topology has only a one-way trust relationship between forests in Exchange Server 2007 Service Pack 1
  • 957137  (http://support.microsoft.com/kb/957137/ ) The reseed process is unsuccessful on the CCR passive node after you restore one full backup and two or more differential backups to the CCR active node in Exchange Server 2007 Service Pack 1
  • 957374  (http://support.microsoft.com/kb/957374/ ) The Microsoft Exchange Replication service on a Standby Continuous Replication (SCR) target server continually crashes when you enable SCR for a storage group on an Exchange Server 2007 Service Pack 1-based computer
  • 959559  (http://support.microsoft.com/kb/959559/ ) Transaction log files grow unexpectedly in an Exchange Server 2007 Service Pack 1 mailbox server on a computer that is running Windows Server 2008
  • 961124  (http://support.microsoft.com/kb/961124/ ) Some messages are stuck in the Outbox folder or the Drafts folder on a computer that is running Exchange Server 2007 Service Pack 1
  • 961544  (http://support.microsoft.com/kb/961544/ ) Mobile users whose location is set to New Zealand cannot synchronize an exceptional occurrence after the daylight saving time (DST) update that is described in KB 951072 is installed on an Exchange 2007 Service Pack 1 Client Access server (CAS)
  • 961551  (http://support.microsoft.com/kb/961551/ ) An error message is returned when you run the Get-Recipient command in the Exchange Management Shell that uses a Windows 7 domain controller
  • 963679  (http://support.microsoft.com/kb/963679/ ) The Update-Recipient command does not update specified domain controller parameters when you use Identity Lifecycle Manager (ILM) 2007 to migrate mail users to mailbox users in Exchange Server 2007 Service Pack 1
  • 967479  (http://support.microsoft.com/kb/967479/ ) Entourage clients cannot synchronize with mailboxes that are located on a computer that is running Exchange 2007 Service Pack 1 and Windows Server 2008
  • 967525  (http://support.microsoft.com/kb/967525/ ) Error 4 is returned when you synchronize a supported list of contact properties by using Exchange ActiveSync in Exchange Server 2007 Service Pack 1
  • 967605  (http://support.microsoft.com/kb/967605/ ) A non-delivery report (NDR) is returned when a user sends an e-mail message to an X.400 address that includes the slash field separator in Exchange Server 2007 Service Pack 1
  • 967676  (http://support.microsoft.com/kb/967676/ ) E-mail address properties of contacts changed through Exchange Web Services (EWS) are not updated in Outlook or Outlook Web Access (OWA) in Exchange Server 2007 Service Pack 1
  • 967739  (http://support.microsoft.com/kb/967739/ ) If a sender requests a delivery receipt in an e-mail message, a delivery status notification (DSN) message is returned that has a blank subject in the body even though the original message contains a subject in Exchange Server 2007 Service Pack 1
  • 968081  (http://support.microsoft.com/kb/968081/ ) Monthly recurring meetings are declined if the “Schedule only during working hours” option is enabled in Exchange Server 2007 Service Pack 1
  • 968106  (http://support.microsoft.com/kb/968106/ ) Outlook clients are directed to global catalogs from the wrong domain if you are using a split session configuration to enable Outlook clients to access their mailboxes through an RPC/HTTP proxy server in Exchange Server 2007 Service Pack 1
  • 968111  (http://support.microsoft.com/kb/968111/ ) Event ID 4999 is logged when an administrator deletes a mailbox store on an Exchange Server 2007 Service Pack 1-based server
  • 968205  (http://support.microsoft.com/kb/968205/ ) The Microsoft Exchange Information Store service crashes every time that a specific database is mounted on a computer that is running Exchange Server 2007 Service Pack 1
  • 968224  (http://support.microsoft.com/kb/968224/ ) You still receive unexpected error messages when you run the Test-OwaConnectivity command or the Test-ActiveSyncConnectivity command after you apply hotfix KB954213 on an Exchange 2007 Service Pack 1-based server
  • 968322  (http://support.microsoft.com/kb/968322/ ) An HTTP 500 error message is returned when you send a message that has a large attachment by using Outlook Web Access (OWA) with S/MIME installed in Exchange Server 2007 Service Pack 1
  • 968350  (http://support.microsoft.com/kb/968350/ ) When you change the location field of a recurring calendar item to empty in Exchange Server 2007 Service Pack 1, the location field is set to the default value of the recurring series if this recurring item is synchronized on a Windows Mobile device
  • 968621  (http://support.microsoft.com/kb/968621/ ) The Microsoft Exchange Information Store service crashes when you use a Data Protection Manager (DPM) 2007 server to perform a snapshot backup for an Exchange Server 2007 Service Pack 1 server
  • 968626  (http://support.microsoft.com/kb/968626/ ) Event ID 1009 is logged when you use an application to access a shared mailbox by using the POP3 protocol in Exchange Server 2007 Service Pack 1
  • 968651  (http://support.microsoft.com/kb/968651/ ) Exchange Server 2007 Service Pack 1 servers continue to contact a domain controller even after you exclude it by using the Set-ExchangeServer command
  • 968715  (http://support.microsoft.com/kb/968715/ ) Both public logons and private logons that connect to a Client Access server (CAS) proxy are processed as private logons on an Exchange Server 2007 Service Pack 1-based server
  • 969054  (http://support.microsoft.com/kb/969054/ ) Error message after an Exchange Server 2007 Service Pack 1 user replies to a message that has more than 300 recipients in Outlook Web Access (OWA): “Microsoft Exchange issued an unexpected response (500)”
  • 969089  (http://support.microsoft.com/kb/969089/ ) Some databases are not mounted on the target server after you use the Move-ClusteredMailboxServer command to transfer a clustered mailbox server (CMS) to an available passive cluster node in Exchange Server 2007 Service Pack 1
  • 969129  (http://support.microsoft.com/kb/969129/ ) HTML e-mail messages that have a charset META tag that differs from the MIME charset tag are garbled when they are processed through disclaimer rules in Exchange Server 2007 Service Pack 1
  • 969324  (http://support.microsoft.com/kb/969324/ ) Outlook crashes when you try to use Outlook to view e-mail messages that are arranged by subject in Exchange Server 2007 Service Pack 1
  • 969436  (http://support.microsoft.com/kb/969436/ ) You cannot log on to a hidden mailbox by using Base64 authentication for IMAP4 or for POP3 in an Exchange Server 2007 Service Pack 1 environment
  • 969838  (http://support.microsoft.com/kb/969838/ ) An error message is returned when a user tries to change a recurring appointment in Office Outlook Web Access that was created in Outlook 2007 in Exchange Server 2007 Service Pack 1
  • 969911  (http://support.microsoft.com/kb/969911/ ) Mailboxes do not follow E-mail Lifecycle (ELC) configuration or storage limitation policies in Exchange Server 2007 Service Pack 1
  • 969943  (http://support.microsoft.com/kb/969943/ ) Memory leaks occur in the Powershell.exe process when you run the Get-MailboxStatistics command and the Get-PublicFolderStatistics command in Exchange Server 2007 Service Pack 1
  • 969969  (http://support.microsoft.com/kb/969969/ ) Error message when an Exchange Server 2007 Service Pack 1 user tries to delete a calendar item in OWA: “Outlook Web Access has encountered a Web browsing error”
  • 970028  (http://support.microsoft.com/kb/970028/ ) The Store.exe process crashes when you use a WebDAV application to connect to Exchange Server 2007 Service Pack 1
  • 970086  (http://support.microsoft.com/kb/970086/ ) Exchange Server 2007 Service Pack 1 crashes when the Extensible Storage Engine (ESE) version store is out of memory on a computer that is running Windows Server 2008
  • 970277  (http://support.microsoft.com/kb/970277/ ) The System Attendant (SA) resource is not brought online or offline during a failover in an Exchange 2007 Service Pack 1 cluster environment
  • 970444  (http://support.microsoft.com/kb/970444/ ) A move operation between an Exchange Server 2003-based server and an Exchange Server 2007 Service Pack 1-based server fails if the SimpleDisplayName attribute of a mailbox in the Exchange Server 2003-based server contains a single quotation mark
  • 970515  (http://support.microsoft.com/kb/970515/ ) You receive an error message when you try to use the “New-Mailbox” command to create more than 1000 users who have the same “mailNickname” attribute (alias) in Exchange Server 2007 Service Pack 1
  • 970526  (http://support.microsoft.com/kb/970526/ ) The EdgeTransport.exe process on a computer that is running Exchange Server 2007 Service Pack 1 crashes when a MIME message that contains iCAL items for a recurring meeting has more than 999 occurrences
  • 970725  (http://support.microsoft.com/kb/970725/ ) Public folder replication messages stay in the local delivery queue and cause an Exchange Server 2007 Service Pack 1 database to grow quickly
  • 970993  (http://support.microsoft.com/kb/970993/ ) Error message when a user tries to perform an address book search by using Outlook Web Access in an Exchange Server 2007 Service Pack 1 environment: “The item that you attempted to access appears to be corrupted and cannot be accessed.”
  • Exchange 2007 Upgrading your Default Address Lists

    After you migrated from Exchange 2003 to Exchange 2007, you receive an error when you try to edit your Address Lists “All Contacts”, “All Groups”, “All Rooms”, “All Users”, “Default Global Address List”, “Public Folders”.

    let’s update the Address Lists!

    Set-AddressList “All Users” -IncludedRecipients MailboxUsers

    Set-AddressList “All Groups” -IncludedRecipients MailGroups

    Set-AddressList “All Contacts” -IncludedRecipients MailContacts

    Set-AddressList “Public Folders” -RecipientFilter { RecipientType -eq ‘PublicFolder’ }

    Set-GlobalAddressList “Default Global Address List” -RecipientFilter {(Alias -ne $null -and (ObjectClass -eq ‘user’ -or ObjectClass -eq ‘contact’ -or ObjectClass -eq ‘msExchSystemMailbox’ -or ObjectClass -eq ‘msExchDynamicDistributionList’ -or ObjectClass -eq ‘group’ -or ObjectClass -eq ‘publicFolder’))}

     

     al01    al02    al03

     

    al04    al05    al06

    Exchange 2007 Upgrading your default Email Address Policy

    After you migrated from Exchange 2003 to Exchange 2007, you receive an error when you try to edit your recipient policy “Default Policy”.

    “Unable to edit the specified E-mail address policy. E-mail address policies created with legacy versions of Exchange must be upgraded using the ‘Set-EmailAddressPolicy’ task, with the Exchange 2007 Recipient Filter specified.”

    Oké, let’s update the recipient policy! With the following command you can see the properties of this recipient policy.

    Get-EmailAddressPolicy | fl Name,*RecipientFilter*,ExchangeVersion

    Set-EmailAddressPolicy “Default Policy” -IncludedRecipients AllRecipients

    eap01    eap02    eap03

    After running this commands, you’re able to edit the “Default Policy” again.

    Exchange 2007 list all mailboxes with there SMTP addresses

    If you want an overview off all the mailboxes in your Exchange 2007 environment with there primairy SMTP address and there extra SMTP aliasses, you can run the following command.

    For a overview off all the options after the pipe command, you can the following command.

    Get-Mailbox -Identity <useralias> | fl

    Get-Mailbox | fl UserPrincipalName, ServerName, PrimarySMTPaddress, Emailaddresses

    e2k7

     

     

    Move a Information Store to another Exchange 2007 Server

    Mailbox data isn’t specific to any one server. Why should access to this data be?  This is the reason behind the Database Portability feature, enabling a mailbox database to be mounted on any server in the same forest. In earlier Exchange versions, such an object could only be mounted in an RSG (Recovery Storage Group). Only mailbox databases are portable. Public Folder  data should be moved by replication, not file copy.

    Database Portability cuts disaster recovery restore time:

    1) Run eseutil /r <Enn> to commit all logs and put database into clean shutdown state.
    <Enn> specifies the log file prefix for the storage group that contains the database into which you intend to replay the log files. The log file prefix specified by <Enn> is a required parameter for Eseutil /r. You can run the following Exchange Management Shell command to determine the log file prefix of a storage group:
    Get-StorageGroup <Server_Name>\<StorageGroup_Name> | fl LogFilePrefix

    exc_prf_01

    2) Select a storage group on the replacement server and create the required database.
    (Note: make sure the Storage Group and the Database have the same name as previous configuration on the crashed server).
    3) Enable: EMC > Server Configuration > Mailbox > Database Management > Properties > General > This database can be over written by restore. Or: Set-MailboxDatabase <Database Name> -AllowFileRestore:$true.
    4) Move database files (edb & log files, Exchange Search catalog) to appropriate location on new server.
    5) Mount database.
    6) Run Move-Mailbox -ConfigurationOnly — so accounts in AD will point to mailboxes on the replacement machine.
    Get-Mailbox -Database <SourceDatabase> |where {$_.ObjectClass -NotMatch ‘(SystemAttendantMailbox|ExOleDbSystemMailbox)’}| Move-Mailbox -ConfigurationOnly -TargetDatabase <TargetDatabase>

    After replication completes, when Outlook clients try to connect to their mail, the Autodiscover service will automatically redirect them to its new location.

    Performing maintenance on your Exchange 2007 database(s).

    When you’ve an up and running Microsoft Exchange 2007 environment, you’ve to perform some maintenance on your databases after some time. You can use the tool ESEUTIL for this job. Let’s have a look on some commands.

    1) Open the commandline
    2) Type in eseutil /?
    3) Choose the right switch

    ———————————————————————–
    Checking your database integrity: (Note: make sure you’ve dismounted your database(s)!! )
    eseutil /g “E:\Database\SG01\MD01.edb” /t “E:\TMP\TEMPINTEG.edb”

    eseutil /g: tool with the check integrity option
    “E:\Database\SG01\MD01.edb”: location of the database(s)
    /t “E:\TMP\TEMPINTEG.edb”: location of the temperary database file

    ese_g_01    ese_g_02    ese_g_03
    ———————————————————————–

    Repairing a corrupted or damaged database:  (Note: make sure you’ve dismounted your database(s)!! )
    eseutil /p “E:\Database\SG01\MD01.edb” /t “E:\TMP\TEMPREPAIR.edb”

    eseutil /p: tool with the repair option
    “E:\Database\SG01\MD01.edb”: location of the database(s)
    /t “E:\TMP\TEMPREPAIR.edb”: location of the temperary database file

    r_ese_01    r_ese_02    r_ese_03
    ———————————————————————–

    Offline defragmentation of a database:  (Note: make sure you’ve dismounted your database(s)!! )
    eseutil /d “E:\Database\SG01\MD01.edb” /t “E:\TMP\TEMPDEFRAG.edb”

    eseutil /d: tool with the offline defragmentation option
    “E:\Database\SG01\MD01.edb”: location of the database(s)
    /t “E:\TMP\TEMPDEFRAG.edb”: location of the temperary database file

    d_ese_01    d_ese_02    d_ese_03

    d_ese_04    d_ese_05
    ———————————————————————–


    How to: Migrate mailboxes from Exchange 2003 to Exchange 2007 using ExMerge and PowerShell

    When you have a up and running Exchange 2003 environment, and you want to migrate to an completely new Exchange 2007 environment, also with a new Active Directory, you can use the following tools to migrate the user mailboxes.

    First of all we are gonna export the user mailboxes with ExMerge, after the export, we are gonna import the mailboxes with PowerShell. You can follow this article to provide the migration step by step.

    I’ve installed an Microsoft Exchange 2003 Enterprise SP2 environment with 10 user mailboxes. I’ve also installed a Microsoft Windows XP workstation with Microsoft Office 2007.

    exc2003_01    exc2003_02    exc2003_03

    The allias of the user is the same as the User Logon Name.

    By default, the Administrators, Domain Admins and Enterprise Admins have deny permissions on the Information Store. Make sure you configure the right permissions, so you have access to the mailboxes for making the export with ExMerge.

    1) right-click on your Exchange Server, choose Properties
    2) go to the Security tab, hit Administrators (also do this for Domain Admins and Enterprise Admins)
    3) Advanced, hit Allow inheritable….Copy
    4) hit Administrators, allow Send As and Receive As (also do this for Domain Admins and Enterprise Admins)
    5) Restart the Microsoft Exchange System Attendant service.

    excper_01    excper_02    excper_03

    excper_04    excper_05    excper_06

    Configure an MAPI profile for a user and generate some e-mail traffic. (e-mail, calendar items, tasks etc..)

    off_01    off_02    off_03

    Now we’re gonna export the user mailboxes with ExMerge.

     em_01    em_02    em_03

    em_04    em_05    em_06

    em_07    em_08    em_09

    em_10    em_11

    In the next post, we’re gonna import the user mailboxes into the new Microsoft Exchange 2007 SP1 environment using PowerShell.