Setting Up Message Reply for Exchange MAPI Backup

With Outlook Web Access (OWA) and the Web Console, you can view archived email messages in a Web browser. However, since you are viewing archived messages and not restoring messages, you cannot reply or reply all to the archived messages, nor can you forward archived messages. You must add these missing capabilities.

Support

  • Message reply is supported for Microsoft Exchange Online & Exchange 2007 or later.

Note

Exchange Hybrid configuration is not supported.

Prerequisites

  • Before you set up message reply, make sure that you have installed the Web Console.

  • Verify that the Exchange Mailbox Properties (Service Account Settings) information is complete for the Exchange mailbox client.

Configuring the Web Server

Procedure
  1. On the client where Web Server is installed, navigate to <software installation folder>\CVSearchService\.

  2. Open the file named Web.config in a text editor.

  3. Under <appsettings>, specify the EWS (Exchange Web Service URL for the CAS server computer by adding the following line:

    <add key="ewsurl" value="https://exchangeservername/ews/exchange.asmx" />

    Where,

    ewsurl is the EWS URL for the CAS server computer. If there are multiple CAS servers behind the load balancer, then use the URL that resolves from the outside.

    Note

    For Exchange Online "ewsurl" Key is not required.

  4. Add the following line to specify which version of Exchange you use:

    • Exchange 2007 Service Pack 1 or later:

      <add key="exversion" value="Exchange2007_SP1" />

      Always enter Exchange2007_SP1, regardless of the actual service pack number.

    • Exchange 2010 Service Pack 2 or later:

      <add key="exversion" value="Exchange2010_SP2" />

      Always enter Exchange2010_SP2, regardless of the actual service pack number.

    • Exchange 2013/2016/2019 or later: You do not need to specify this version in the Web.config file on the Web Server client.

    • Exchange Online:

      <add key="exchangeonline" value="1" />
  5. Restart IIS services on the Web Server computer.

Example

This example demonstrates the <appSettings> keys for Exchange 2010:

<appSettings> 
     <add key="INSTANCE_NAME" value="Instance001" /> 
     <add key="EDRM_PAGE_SIZE" value="10" /> 
     <add key="ewsurl" value="https://exchangeservername/ews/exchange.asmx" /> 
     <add key="exversion" value="Exchange2010_SP2" />
...
</appSettings>

Assigning Impersonation Rights to the Service Account

You must assign impersonation rights (that is, Send As permission) to the service account so that it can send messages on behalf of a group of mailboxes. Impersonation rights allow the service account to:

  • access the mailbox on the specified Exchange server in the user scope

  • create folders for submission

  • read submitted emails within the created folders

You can use PowerShell to assign the impersonation rights.

Note

We need an on-premises service account for on-premises mailboxes and an online service account for online mailboxes.

Exchange 2010 or Later
Procedure
  1. Run the following command to assign the ApplicationImpersonation role to the Impersonation Role Group, and to add the Service account to the Impersonation Role Group.

    New-RoleGroup -Name "Impersonation Role Group" -Roles "ApplicationImpersonation" -Members "<Service account>"
  2. Run the following command to add additional members to the Impersonation Role Group.

    Add-RoleGroupMember "Impersonation Role Group" -Member "<Service account2>"

    Where,

    Service account2 is any additional member.

Exchange 2007
Procedure
  1. Run the following commands to assign impersonation rights to the service account.

    Get-ExchangeServer | where {$_.IsClientAccessServer -eq $TRUE} | ForEach-Object {Add-ADPermission -Identity $_.distinguishedname -User (Get-User -Identity "<Service account>" | select-object).identity -extendedRight ms-Exch-EPI-Impersonation}
    Get-MailboxDatabase | ForEach-Object {Add-ADPermission -Identity $_.DistinguishedName -User "<Service account>" -ExtendedRights ms-Exch-EPI-May-Impersonate}

Enabling Message Reply

To enable the reply and forward options for archived messages in the Web Console, you must configure both the client computer settings and the service account on the Web Server.

Before You Begin

Make sure that you assigned the impersonation rights to the service account before you perform this task.

Procedure
  1. From the CommCell Browser, expand Client Computers and navigate to the Webserver client.

  2. Right-click the Web Server client, and then click Properties.

  3. On the Client Computer Properties dialog box, click Advanced.

  4. In the Advanced Client Properties dialog box, on the General tab, select Enable Email Reply/Forward.

  5. Type the appropriate values into the Exchange Administrator Email Address box and the Exchange Administrator Account box in the following format: domain_name/<administrator_account>.

  6. Click OK to close the Advanced Client Properties dialog box.

  7. Click OK to close the Client Computer Properties dialog box.

  8. Restart the IIS services on the Web server computer.

What to Do Next
  • If you have multiple Web servers, you must configure the service account for each Web server.

  • If you make any changes to the Exchange Administrator Account, you must restart the IIS services on the Web server computer.

Setting Message Size Limits

If you limit the size of messages that users can send, then users receive an error message when they forward messages that exceed the set limits, and the messages cannot be sent.

You can change the message size limits using Exchange Web Services (EWS). For more information, see the following Microsoft TechNet articles:

"Configure client-specific message size limits": http://technet.microsoft.com/en-us/library/hh529949(v=exchg.150).aspx

"Set Message Size Limits for Exchange Web Services": http://technet.microsoft.com/en-us/library/hh529949(v=exchg.141).aspx

Results

After you have set up message reply, users can reply, reply all, and forward archived messages in the Web Console.

In addition, users can:

  • search contacts from the global address list (GAL)

  • add attachments to messages

Loading...