<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="MRSConfiguration" type="Microsoft.Exchange.MailboxReplicationService.MRSConfiguration, Microsoft.Exchange.MailboxReplicationService, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
  </configSections>
  <runtime>
    <gcServer enabled="true" />
    <generatePublisherEvidence enabled="false"/>
  </runtime>
  <system.net>
    <connectionManagement>
      <add address="*" maxconnection="40"/>
    </connectionManagement>
    <defaultProxy>
      <proxy usesystemdefault="true" bypassonlocal="true" />
      <bypasslist>
        <add address=".*" />
      </bypasslist>
    </defaultProxy>
  </system.net>
  <system.serviceModel>
    <bindings>
      <netTcpBinding>
        <binding name="MrsBinding" portSharingEnabled="true">
          <security mode="Transport">
            <transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" />
          </security>
        </binding>
      </netTcpBinding>
    </bindings>
    <services>
      <service name="Microsoft.Exchange.MailboxReplicationService.MailboxReplicationService"
               behaviorConfiguration="MrsServiceBehavior">
        <endpoint address="net.tcp://localhost/Microsoft.Exchange.MailboxReplicationService"
                  binding="netTcpBinding"
                  bindingConfiguration="MrsBinding" 
                  contract="Microsoft.Exchange.MailboxReplicationService.IMailboxReplicationService" />
      </service>
    </services>
    <behaviors>
      <serviceBehaviors>
        <behavior name="MrsServiceBehavior">
          <serviceDebug includeExceptionDetailInFaults="True" />
          <serviceAuthorization serviceAuthorizationManagerType="Microsoft.Exchange.MailboxReplicationService.MRSAuthorizationManager, Microsoft.Exchange.MailboxReplicationService, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
        </behavior>
      </serviceBehaviors>
    </behaviors>
  </system.serviceModel>
  <!-- Mailbox Replication Service configuration 

    Setting Name - MinValue, MaxValue
    
    MaxRetries - 0, 1000
    RetryDelay - 00:00:10, 00:30:00
    MaxMoveHistoryLength - 0, 100 
    MaxActiveMovesPerSourceMDB - 0, 100
    MaxActiveMovesPerTargetMDB - 0, 100
    MaxActiveMovesPerSourceServer - 0, 1000
    MaxActiveMovesPerTargetServer - 0, 1000
    MaxTotalMovesPerMRS - 0, 1024
    FullScanMoveJobsPollingPeriod - 00:03:00, 1.00:00:00
    MinimumTimeBeforePickingJobsFromSameDatabase - 00:00:00, 01:00:00
    ServerCountsNotOlderThan - 00:00:00, 01:00:00
    MRSAbandonedMoveJobDetectionTime - 01:00:00, 12:00:00
    BackoffIntervalForProxyConnectionLimitReached - 00:00:30, 1.00:00:00
    DataGuaranteeCheckPeriod - 00:00:30, 02:00:00
    EnableDataGuaranteeCheck = false, true
    DisableMrsProxyCompression = false, true
    DisableMrsProxyBuffering = false, true
    MinBatchSize = 2, 1000
    MinBatchSizeKB = 16, 16384 
  -->
  
  <MRSConfiguration 
    MaxRetries = "60"
    RetryDelay = "00:00:30"
    MaxMoveHistoryLength = "2" 
    MaxActiveMovesPerSourceMDB = "5"
    MaxActiveMovesPerTargetMDB = "5"
    MaxActiveMovesPerSourceServer = "50"
    MaxActiveMovesPerTargetServer = "5"
    MaxTotalMovesPerMRS = "100"
    FullScanMoveJobsPollingPeriod = "00:10:00"
    MinimumTimeBeforePickingJobsFromSameDatabase = "00:00:04"
    ServerCountsNotOlderThan = "00:10:00"
    MRSAbandonedMoveJobDetectionTime = "01:00:00"
    BackoffIntervalForProxyConnectionLimitReached = "00:30:00"
    DataGuaranteeCheckPeriod = "00:05:00"
    EnableDataGuaranteeCheck = "true"
    DisableMrsProxyCompression = "false"
    DisableMrsProxyBuffering = "false"
    MinBatchSize = "100"
    MinBatchSizeKB = "256" />
</configuration>