AntiSpam Quarantine or Greylist database is corrupted

Possible issues encountered

Possible causes

The causes for a database corruption may vary. Common causes include:

  • Hard disk issues.
  • Abrupt system shutdown while the database is opened.
  • Virus infection.
  • Software or operating system upgrade.

Solution

Esentutl.exe can be used to repair the database. The following procedure explains how to use this Microsoft Windows Utility to repair the database.

  1. Stop the GFI MailEssentials Managed Attendant service.
  2. Go to Start > Run > %temp% and delete all JET*.tmp files in this folder and the temp folder.
  3. Create a backup of the database to be repaired. By default, the quarantine database is located in ..\GFI\MailEssentials\Antispam\Quarantine\quarantine.edb. By default the greylisting database is located in ..\GFI\MailEssentials\Antispam\data\greylisting.db.
  4. From command prompt, change the path to the folder of the Quarantine StoreA central repository within GFI MailEssentials where all blocked emails are retained until they are reviewed by an administrator. database or Greylist database.
  5. To repair the database, enter the following command: esentutl /p databasename.edb. Replace databasename with the name of the database. For example, esentutl /p quarantine.edb
  6. A warning message indicates that this process should only be performed on corrupted database file.
  7. Click OK to start the integrity check.
  8. Start the GFI MailEssentials Managed Attendant service.