Answer
PROBLEM
No emails are being detected as spam by the GFI MailEssentials greylist anti-spam filter.
ENVIRONMENT
- GFI MailEssentials
- All supported environments
SOLUTION
Greylist is disabledPerform the procedure described below to ensure that the GFI MailEssentials greylist feature is enabled:
- Open the GFI MailEssentials Configuration
- Proceed to Anti-Spam > Anti-Spam Filters
- Right click on the Greylist node and select Properties
- Under the General tab, ensure that Enable Greylist is checked
Ensure that there are no incorrect exclusions configured in the GFI MailEssentials configuration. Perform the following procedure to review the Greylist exclusions:
- Open the GFI MailEssentials Configuration
- Proceed to "Anti-Spam" > "Anti-Spam Filters" > "Greylist"
- Click on the "Email exclusions" tab. Ensure that you have not included your own domain or any generic top level domains such as *@*.com
- Click on the "IP exclusions" tab. Ensure that you have not excluded the IP address of your own mail server
The GFI MailEssentials Greylist feature will fail to process emails if the greylist database is corrupt. The following procedure will explain how to run an integrity check on the GFI MailEssentials greylist database to ensure it is not corrupt:
- Stop the GFI MailEssentials services
- Note: Stopping the services will stop anti-spam filtering
- Create a backup of the greylist database
- by default <GFI\MailEssentials\Antispam\Data\greylisting.db>
- From a command prompt, change the path to the folder of the greylist database
- To repair the database, run the command esentutl /p <database name>
- Note: The <databasename> is the name of the Greylist database
- Example: esentutl /p greylist.db
- Click OK to start the integrity check
- Once completed, start the GFI MailEssentials services
The GFI MailEssentials Greylist feature will fail to initialize if the transaction log files are corrupted. This can for example occur if the GFI MailEssentials Scan Engine would crash whilst modifying the transaction logs. The following procedure will explain how to reset the transaction logs to fix this problem:
- Stop the GFI MailEssentials services
- NOTE: Stopping the services will stop anti-spam filtering
- Create a backup of the greylist log files folder
- by default <GFI\MailEssentials\Antispam\Data\GreylistLogs>
- Delete the contents of the GreylistLogs folder
- Once completed, start the GFI MailEssentials services