Start a conversation

A spam message is blocked, but a copy also appears in the ..\Antispam\failedmail folder

Answer

PROBLEM

Items appear to be filtered and marked as spam, but copies of those spam messages are stored in the folder ..\Antispam\failedmail.

The following excerpt can be found in log file ..\GFI\MailEssentials\Antispam\DebugLogs\GfiAsRtSubmittedAgent.log:
"error ","GfiAsRtSubmittedAgent","error: ExceptionSystem.InvalidCastException: Return argument has an invalid type.
; at System.Runtime.Remoting.Proxies.RealProxy.ValidateReturnArg(Object arg, Type paramType)
; at System.Runtime.Remoting.Proxies.RealProxy.PropagateOutParameters(IMessage msg, Object[] outArgs, Object returnValue)
; at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
; at ContentSecurity.ML.TicketManager.Base.ITicketManager.getTicketStatus(String ticketid, String key, Boolean delete, Boolean& status)

ENVIRONMENT

  • GFI MailEssentials
  • Microsoft Exchange Server 2007, 2010, 2013

SOLUTION

  1. Open the Microsoft Exchange Management console and run the following command: Get-Transportagent.
  2. Verify that the GfiAVSmtpAgent and GfiAVRoutingAgent are both set to true.
  3. If turned off, enable them using the following commands:
  • Enable-transportagent GfiAvSmtpAgent
  • Enable-transportagent GfiAvRoutingAgent
  1. Restart the Microsoft Transport Service.

CAUSE

The two transport agents scan the replay directory and reference the message tracked by the TicketManager.
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments