Overview
When attempting to install an agent, the message 'Failed to install GfiAvSmtpAgent' is received and the agents have not been installed by the GFI MailEssentials installer.
Environment
- GFI MailEssentials
- Microsoft Exchange Server 2007 or later
Root Cause
Agents are unable to be installed during the installation of GFI MailEssentials.
Resolution
In the command shell of Microsoft Exchange Server enter the following commands:
-
Install-TransportAgent -Name 'GfiAvSmtpAgent' -AssemblyPath 'C:\Program Files (x86)\GFI\MailEssentials\EmailSecurity\ContentSecurity.ExchangeAgents.GfiAvSmtpAgent.dll' -TransportAgentFactory ContentSecurity.ExchangeAgents.GfiAvSmtpAgentFactory
-
Enable-TransportAgent -Identity 'GfiAvSmtpAgent'
-
Set-TransportAgent -Identity 'GfiAvSmtpAgent' -priority 1
-
Install-TransportAgent -Name 'GfiAvRoutingAgent' -AssemblyPath 'C:\Program Files (x86)\GFI\MailEssentials\EmailSecurity\ContentSecurity.ExchangeAgents.GfiAvRoutingAgent.dll' -TransportAgentFactory ContentSecurity.ExchangeAgents.GfiAvRoutingAgentFactory
-
Enable-TransportAgent -Identity 'GfiAvRoutingAgent'
-
Set-TransportAgent -Identity 'GfiAvRoutingAgent' -priority 2
After each command, please check if any error message will appear in the command shell. After that, you should be able to open the GFI MailEssentials configuration and start using the product.