Note:
It is very important that you set your antivirus so that it does not scan the G2-Quar and G2-Archive folders located at the root of the same drive where the Praetor folder can be found. Otherwise, the antivirus scanner may prevent the maintenance task to purge old files and thereby hang the system. You can pre-create these G2-Quar and G2-Archive folders at the root of the drive where Praetor is installed. |
If you have Praetor quarantining and archiving messages, eventually you will accumulate many of them. When their numbers become excessive, Windows has a problem dealing with so many files in the Praetor folders. You can see this whenever Windows Explorer takes a long time to display the files in the main Praetor folder (\Program Files\CMS Praetor G2) since it examines one level of subfolders such as Archive and Quar.
To prevent this from happening, Praetor was installed to perform nightly housecleaning of the various folders. This is done by using the native Windows Task Scheduler to do the following at 2am every night:
If needed, create the backup QUAR directory \G2-Quar, the backup Archive directory \G2-Archive, and the backup Training directory \G2-Train on the same drive as where the Praetor files are installed.
Save the Praetor configuration into CFG.ZIP, moving the previous into the Praetor G2\BKPFILES folder and purge all saved configurations older than 7 days.
Moves QUAR, ARCHIVE, and TRAIN messages that are older than 7 days to \G2-Quar, \G2-Archive, and G2-Train, putting each EML file into a subfolder whose name is the date, e.g. 2004-08-25.
Purges subfolders in \G2-Quar, \G2-Archive, and \G2-Train that are older than 30 days.
Purges all SQL database entries that are older than 30 days.
If you want to change the number of days from these defaults simply edit the G2-daily.BAT file accordingly. This file is located in the Tools folder, e.g. C:\Program Files\CMS Praetor G2\Tools. To change the retention of SQL entries instead of the default 30 days, edit the Del-30d.SQL file found in the same Tools folder by changing the line "SET @Days = 30".
Note:
The messages moved out of the Praetor Quar folder to C:\G2-Quar will no longer have details accessible via the Log Viewer. To the Log Viewer, these messages are simply gone. Since the EML filename is visible to the administrator, it is a simple matter of moving that file back into the Quar folder. Once returned, the message details will be visible once more. If you don't want to expend the effort of locating that one EML file, just move all the EML files from the dated folder in C:\G2-Quar back to the Praetor Quar folder. By 2AM the next morning, MOVEQUAR will return all these EML files to its dated folder if any of those messages were not approved by your user. |
Microsoft also provides a similar tool to purge or archive the IIS SMTP Server's BADMAIL folder which can accumulate many files over time and degrade performance. These files come from undeliverable messages. You may download this tool directly from the Microsoft website here.