WinDeveloper Software
Innovation. The seed to our Solutions
Follow us on Twitter WinDeveloper on Facebook WinDeveloper YouTube Channel WinDeveloper Updates
IMF Tune - Bringing Back the Exchange Connection Filter
IMF Tune - Bringing Back the Exchange Connection Filter

Emptying the IMF Tune Quarantine

With today's spam loads, the IMF Tune Quarantine may sometimes end up filled with thousands of spam emails. IMF Tune does not provide a "Delete All" button and deleting these through the Quarantine interface may be too time-consuming.

Quarantine Maintenance provides a very handy workaround in this case. Through it, we can automatically delete all emails older than x days. This gives us more control on the delete operation. Rather than restarting from zero, we can delete enough items for the spam count to go down to a manageable level.

Today we take a look at the Quarantine Maintenance functionality. We see how to perform a one-off wipe and also how Maintenance helps us avoid quarantine overload problems altogether.

Before We Begin - Configuration Backup

In this article we will discuss some configuration changes to force a Quarantine cleanup. The changes will only be required until the cleanup is completed. Following that we may revert to the old configuration settings.

The easiest method to revert the settings is that to perform a Configuration Backup before starting and a restore once the cleanup is ready. This can be done using the Configuration Backup/Restore wizard available under the IMF Tune program group. Otherwise, we would have to revert the settings manually.

Quarantine Maintenance

Quarantine Maintenance is configurable from the IMF Tune server configuration interface. So to begin with, open the configuration Disk Maintenance | Archive/Quarantine category.

Archives/Quarantine Maintenance

Under this category we have settings that are relevant to both Email Disk archiving and to the MS SQL Quarantine system. Explaining all the Disk Maintenance functionality is beyond the scope here. We will only discuss the settings relevant to our Quarantine cleanup task.

The most important setting in our discussion is:
Compress and backup files after (days)

This setting controls the number of days an email is to be retained within the Disk Archive before it is moved to backup. The same setting also controls the number of days items are retained within the Quarantine system. This is clear from the warning shown right above this configuration field reading:
Email files moved to backup will also be deleted from quarantine

Thus we can conclude that Compress and backup files after (days) also controls the length of time IMF Tune retains emails within the Quarantine database. As soon as a quarantine item ages beyond the number of days specified here, the item is deleted.

So if we wanted to empty the Quarantine of all emails older than 5 days, we simply set the Compress and backup files after (days) to 5. Next time the Maintenance operation is run, the Quarantine will be cleaned up automatically.

The lowest value we can give to this configuration field is 1, so the best we can do is to wipe everything except for the items added within the last 24 hours.

Maintenance Schedule

The Disk Maintenance operation is run once a day at most. The Schedule button next to Compress and backup files after (days) opens a dialog that groups the schedule settings.

Maintenance Schedule

In general this operation should be scheduled to run after hours. However if we wanted to see this done immediately, we could set the schedule to something like 5 minutes from the current time. Under Disk Maintenance | Archive/Quarantine | Schedule do the following:

  1. Select On these days
  2. Make sure that today's day checkbox is selected
  3. Under Run process at this time set the exact time when the process is to be run
  4. Save Changes


Is Something Wrong with the Configuration?

Disk Maintenance is specifically meant to control the growth of the Disk Archive and the Quarantine Database. So in general we should not need to perform this type of cleanup too often. Thus it is worth understanding why we needed to perform this cleanup in the first place.

If quarantine items accumulated because of something unusual, the one-off cleanup is fine. For example there might have been an unusually large spam wave, or maybe the users tasked with moderating the Quarantine were on vacation for a long time. These one-off events may justify the need for a cleanup. On the other hand if we end up cleaning up very often, the solution is to permanently lower the value for Compress and backup files after (days), and let Disk Maintenance avoid this type of overload automatically.


Privacy Policy Partners About Us Contact

Copyright © 2004 - 2024 WinDeveloper Software Ltd. All rights reserved.