MailValve EX Installation Guide





MailValve EX is implemented as a Transport Agent, and must be installed on an On-Prem Exchange Server. However, MailValve EX can be used to purify emails sent via Office 365 if Office 365 is used in Hybrid Deployment. (Office 365 + On-Prem Exchange Server)

To use MailValve EX in Hybrid Deployment, you need to enable "Centralized Mail Transport" in the Microsoft Office 365 Hybrid Configuration Wizard, so that all outbound emails from Office 365 will pass through your On-Prem Exchange Server, and therefore will be processed by the MailValve EX Transport Agent before reaching their addressees. (see Transport options in Exchange hybrid deployments )

Please follow these steps to install MailValve EX:

  1. Install MailValve EX by downloading and running its setup file on the Exchange Server
  2. Please configure MailValve EX according to your preferences. You can do this by selecting Start menu -> Digital Confidence -> MailValve EX -> MailValve EX Configuration. When you’ll run the MailValve EX Configuration for the first time, it will setup the MailValve EX Transport Agent. When the setup of the Transport Agent will be complete, you’ll be able to configure MailValve EX. The trial version will only purify attachments of up to 5 senders. Please specify the enabled senders email addresses in the “Enabled Senders” list.
  3. MailValve EX is implemented as a Transport Agent. When you’ll run the MailValve EX Configuration for the first time, it will setup the MailValve EX Transport Agent. After configuring MailValve EX, please verify that it is installed and enabled by running the Get-TransportAgent cmdlet from the Exchange Shell. You should see “MailValve EX” in the list with “Enabled” set to “True”. If you don’t see “MailValve EX” in the list with “Enabled” set to “True”, please try to install MailValve EX manually by following the instructions in the "Installing MailValve EX Transport Agent Manually" section below.

Installing MailValve EX Transport Agent Manually

To install the MailValve EX Transport Agent manually, please run the following commands from the Exchange Shell:

  1. Net Stop MSExchangeTransport
  2. Install-TransportAgent -Name 'MailValve EX' -AssemblyPath '%MailValveEXDLLPath%' -TransportAgentFactory DigitalConfidence.MailValveEXAgentFactory

    Where %MailValveEXDLLPath% is the path of the file MailValveEX.dll in the installation directory. e.g. If the installation directory is C:\Program Files (x86)\Digital Confidence\MailValve EX, the command should be the following:

    Install-TransportAgent -Name 'MailValve EX' -AssemblyPath 'C:\Program Files (x86)\Digital Confidence\MailValve EX\MailValveEX.dll' -TransportAgentFactory DigitalConfidence.MailValveEXAgentFactory
  3. Enable-TransportAgent -Identity 'MailValve EX'
  4. Get-TransportAgent -Identity 'MailValve EX'
  5. Net Start MSExchangeTransport

If you do not receive any error, run the Get-TransportAgent cmdlet to verify that “MailValve EX” appears in the list and that it’s enabled. If installing the MailValve EX Transport Agent manually fails also, please contact Digital Confidence Support at support@digitalconfidence.com .