Overview
Although the quarantine functionality seems to be working when trying to access the Quarantine section in the GFI MailEssentials Configuration UI, you get a Server Error in '/MailEssentials' Application.
If you are accessing the Quarantine section directly on the server where MailEssentials is installed, the details of the error display are: No connection could be made because the target machine actively refuses it.
Solution
With tracing enabled, the Quarantine logs show the following:
<GFI MailEssentials installation path>\GFI\MailEssentials\Antispam\DebugLogs\QuarQA.log
2020-09-08,04:24:06,815,1,"#00002A68","#00000011","error ","QuarQA","error:System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it <IP>:<port>
<GFI MailEssentials installation path>\GFI\MailEssentials\Antispam\DebugLogs\QuarantineUI.log
2020-09-09,10:13:52,696,1,"#00001D40","#00000025","error ","QuarantineUI","Error :: System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it <IP>:<port>
This behavior is consistent with a port conflict. Ensure there are no port conflicts between MailEssentials and another program:
- Make a note of the currently configured ports in your environment:
- Launch the GFI MailEssentials Switchboard from Start > Programs > GFI MailEssentials > Switchboard
- Open the Other tab.
- Take note of the ports configured in the Remoting Ports area:
- Open a command prompt (cmd.exe) and type
netstat -abn > c:\gfiports.txt
- Open
c:\gfiports.txt
in a text editor and search for the ports noted in step 1. - Confirm which service is using this port. If anything other than a GFI MailEssentials service is running on the port, then it confirms that there is a port conflict between the GFI MailEssentials application and a third party application.
If a port conflict is detected, please make sure you configure your environment to prevent other applications from running on the GFI MailEssentials ports. More details can be found in the "GFI MailEssentials Port Description" article.
Port conflicts may be resolved by rebooting the GFI MailEssentials servers
Testing
Once you cleared the port conflicts in your environment, the Quarantine section of the MailEssentials Configuration UI should be accessible.
If the issue still persists, please generate the troubleshooting logs as follows:
- Make sure that you have tracing enabled.
- Wait for at least 30 minutes to gather enough information and for the issue to be reproduced.
- Run the troubleshooter:
- Start > Programs > GFI MailEssentials > Troubleshooter
- Follow the Log Generation Wizard for collecting the required and pertinent information.
- Select New Case when completing the log generation to attach the logs to a new case that will be automatically created, or open a support ticket manually and attach the logs to that ticket, so that the Support team can investigate the problem.