Answer
Applies to- GFI MailArchiver 2013 R2 build 20131111 or newer
This can be helpful in situations where one does not want to install Outlook on the server or if MAPI is not working properly on the server.
Notes
- This procedure requires to edit files manually. If edited incorrectly it can leave the server in a non-operational state. Please keep backups of any file which is edited throughout this article before saving any changes to them.
- When upgrading to a newer version of GFI Archiver, installation files mentioned in this procedure will be overwritten with default versions making the changes void and ineffective. It is therefore suggested to keep a record of this procedure and follow it once again directly after upgrading to keep this functionality intact.
- This article assumes that no port changes were configured beforehand
- Traffic between the SERVER and the REMOTECOMPUTER must not be blocked on any of the mentioned ports
- The same .NET Framework requirement which applies to the SERVER applies to the REMOTECOMPUTER as well
- The same Microsoft Outlook respectively MAPI requirements applies to the MailboxRestore tool when run on the REMOTECOMPUTER compared to running it on the SERVER
- Edit certain configuration files on the SERVER in order to expose certain modules to be reachable via the network
- Copy the MailboxRestore folder to the REMOTECOMPUTER
- Edit certain configuration files of the MailboxRestore on the REMOTECOMPUTER in order to point it correctly to the SERVER
Procedure
In the procedure below the following will ports will be used - the ports must not be used by any other application on the server:
- The SERVER has the IP address: 192.168.0.100
- Core service WCF modules will be exposed via port: 18017 (TCP)
- Store service WCF modules will be exposed via port: 18018 (TCP)
- Core service remoting port has not been changed and uses the default: 8017 (TCP)
- Store service remoting port has not been changed and uses the default: 8018 (TCP)
Step 1 - Edit certain configuration files on the SERVER
- Log into the SERVER
- Stop all GFI Archiver services
- Open the following file in Notepad: ..\GFI\Archiver\Core\Data\MArc.WCF.xml
- Find the line which reads: <AppPort>-1</AppPort>
- Edit the line so that it reads: <AppPort>18017</AppPort>
- Save the file
- Open the following file in Notepad: ..\GFI\Archiver\Store\Data\MArc.WCF.xml
- Find the line which reads: <AppPort>-1</AppPort>
- Edit the line so that it reads: <AppPort>18018</AppPort>
- Save the file
- Start all GFI Archiver services
- Copy the folder containing the Mailbox Restore tool from the SERVER to the REMOTECOMPUTER
- For example, copy \\SERVER\c$\Program Files\GFI\Archiver\MailboxRestore\ to \\REMOTECOMPUTER\c$\MailboxRestore\
- Log into the REMOTECOMPUTER
- Open the following file in Notepad: c:\MailboxRestore\WCFClientSettings.xml
- Edit the following lines according to the changes shown below:
- Original:
- <WCFServiceEndPoint ContractName="MArc.ConfigurationService.Base.ICSSettingsHolder" EndPoint="net.pipe://localhost/Core/CSService" />
- <WCFServiceEndPoint ContractName="Store.Core.IEmailRetrieval" EndPoint="net.pipe://localhost/Store/CoreMessage" />
- <WCFServiceEndPoint ContractName="Store.Core.IEmailMessageRetrieval" EndPoint="net.pipe://localhost/Store/EmailMessageRetrieval" />
- <WCFServiceEndPoint ContractName="Store.Core.ISync" EndPoint="net.pipe://localhost/Store/EmailMessageRetrieval" />
- Edit to:
- <WCFServiceEndPoint ContractName="MArc.ConfigurationService.Base.ICSSettingsHolder" EndPoint="net.tcp://192.168.0.100:18017/Core/CSService" />
- <WCFServiceEndPoint ContractName="Store.Core.IEmailRetrieval" EndPoint="net.tcp://192.168.0.100:18018/Store/CoreMessage" />
- <WCFServiceEndPoint ContractName="Store.Core.IEmailMessageRetrieval" EndPoint="net.tcp://192.168.0.100:18018/Store/EmailMessageRetrieval" />
- <WCFServiceEndPoint ContractName="Store.Core.ISync" EndPoint="net.tcp://192.168.0.100:18018/Store/EmailMessageRetrieval" />
- Original:
- Save the file
- Open the following files in Notepad
- c:\MailboxRestore\MailboxRestore.exe.config
- c:\MailboxRestore\MailboxRestore_x64.exe.config
- Edit the following lines according to the changes shown below:
- Note that some of the following "wellknown type" lines might not exist in the file as some of them have been removed over time and are not used anymore in newer versions of the product. There is no need to add them, but the ones which do exist in the file must be edited as outlined below.
- Original:
- <wellknown type="MArc.CS.CSCoordinator, MArc.ConfigurationServices" url="tcp://localhost:8017/Core/CS"/>
- <wellknown type="Store.Core.EmailMessageRetrieval, Store.Core" url="tcp://localhost:8018/Store/EmailRetrieval"/>
- <wellknown type="MArc.Ada.Security.AdaAuthentication, MArc.Ada.Authentication" url="tcp://localhost:8017/Core/ADA"/>
- <wellknown type="MArc.Ada.Services.AdaInformation, MArc.Ada.Services" url="tcp://localhost:8017/Core/Information"/>
- Edit to:
- <wellknown type="MArc.CS.CSCoordinator, MArc.ConfigurationServices" url="tcp://192.168.0.100:8017/Core/CS"/>
- <wellknown type="Store.Core.EmailMessageRetrieval, Store.Core" url="tcp://192.168.0.100:8018/Store/EmailRetrieval"/>
- <wellknown type="MArc.Ada.Security.AdaAuthentication, MArc.Ada.Authentication" url="tcp://192.168.0.100:8017/Core/ADA"/>
- <wellknown type="MArc.Ada.Services.AdaInformation, MArc.Ada.Services" url="tcp://192.168.0.100:8017/Core/Information"/>
- Save the files