This article describes how to resolve the issue that occurs when an email is archived with a date range that does not match any database already created, and a new archive store is generated.
An issue can occur whereby spam email gets archived with date ranges such as "2030" or even "1900". When these messages are uploaded, typically an archive store will not be listed that covers the date range. Therefore, GFI MailArchiver will start creating archive stores that appear to be from the future or the past.
To prevent this from happening, please make the following updates:
- Stop the GFI MailArchiver services.
- Open the folder: ..\GFI\MailArchiver\Store\Data
- Make a backup copy of the product.config file.
- Open the original product.config in Notepad.
- Add the following keys:
<add key="ExcludeEmailsBeforeDate" value="YYYYMMDD" />
Note: Replace YYYYMMDD with an actual date
<add key="ExcludeEmailsXDaysAhead" value="X" />
Note: Replace X with a number
- Save the product.config file and close it.
- Start the GFI MailArchiver services.
Note: With these two values set, there will be no email archived before a certain date or after a certain amount of days into the future. Our recommendation for the number of days ahead is more than 1 since sometimes dealing with different time zones for email could produce an email message that appears to be from the future.