MailEssentials is not processing emails, with the Dashboard Log showing OK as the scan result. Various emails are found in the GFI FailedMails folders. They get delivered once they are reprocessed. Additionally, you cannot add local domains in the settings. The list of local domains in the settings is empty, and adding a new local domain does not save.
How to identify
With tracing enabled, the logs show multiple engine failures. Some of these error messages are displayed below:
<GFI MailEssentials installation path>\GFI\MailEssentials\Antispam\DebugLogs\ase_ipwhitelist.gfi_log.txt:
2020-08-28,12:25:41,407,1,"#00001b00","#00006490","error ","ase_ipwhitelist","[ExtractConnectingIPW:43] 'Failed to get connecting IP address from 'Received' headers' [HR: 0x80070057]"
<GFI MailEssentials installation path>\GFI\MailEssentials\Antispam\DebugLogs\audldownload.txt:
2020-08-31,13:03:37,035,1,"#00002a84","#0000228c","error ","audldownload","Failed conecting to HTTP"
<GFI MailEssentials installation path>\GFI\MailEssentials\Antispam\DebugLogs\GfiAsRtRoutedAgent.log:
2020-09-01,12:00:20,955,1,"#000036A0","#00000067","error ","GfiAsRtRoutedAgent","error ItemSourceContext::initScanEngine,__initScanEngine...FAILED: 80004005"
<GFI MailEssentials installation path>\GFI\MailEssentials\Antispam\DebugLogs\GfiAvRoutingAgent.log:
2020-09-01,10:18:37,072,1,"#0000532C","#00000080","error ","GfiAvRoutingAgent","error Initializing Scan Engine...COMException: System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
; at GFISCANLib.ScanEngineClass.Init(IPropertyBag pBag, UInt32& pContext)
; at MEC.ExchangeAgents.ItemSourceContext.__initScanEngine(IScanEngine& ppScanEngine, UInt32& pulScanEngineContext, UInt32& pulScanEngineUsn)"
2020-09-01,10:18:37,072,1,"#0000532C","#00000080","error ","GfiAvRoutingAgent","error ItemSourceContext::initScanEngine,__initScanEngine...FAILED: 8000FFFF"
You may experience similar failures with other engines.
In this scenario, please follow the steps below:
- Please disable the Email Security from the MailEssentials settings:
- Restart the server.
- Verify if the issue persists:
- If the issue does not manifest, please enable the Email Security and retest.
If the issue is still present, the best option is to reinstall MailEssentials.
Download the same version of GFI MailEssentials as the one currently running in your environment. Links to all the versions are available in the Download Links for All Versions of GFI MailEssentials article.Note
Before completing the process below, it is recommended to back up the configuration settings. Upgrading usually keeps the existing configuration in place. However, it is always good practice to have a backup of your MailEssentials configuration.
Go to Control Panel.
Locate MailEssentials and select Uninstall.
After completing the uninstall process, locate the previously downloaded installer.
Right-click on the installer and select Run as Administrator.
Verify that the installer is pointed to the same install location as the previous installation and that the previous settings should be used.
Once you have confirmed that the settings are the same, it is safe to delete the backup previously taken.Note
If any of the settings are missing, refer to the Restoring a Manual Backup of MailEssentials article for information on how to restore the settings.