1
Check GRP files ?
Question asked by Charalampos Michael - 2/11/2025 at 1:59 PM
Unanswered
Hello,
  Is there any tool to check if GRP files are corrupted after an inproper shutdown ?

Thank you

3 Replies

Reply to Thread
0
Tony Scholz Replied
Employee Post
Hello, 

We do not have a tool to check for integrity, There is a tool to extract EMLs from the GRP files that we can send to you. This file is a basic txt file with binary data at the top letting SmarterMail know how to separate the messages. 
Tony Scholz System/Network Administrator SmarterTools Inc. www.smartertools.com
1
Charalampos Michael Replied
Doesn't use checksums for every eml which it stores ?

It would be nice to add a "integrity" tool in the future to run once in a while or just in case to be sure that our mail data is ok!

Thank you

1
Sébastien Riccio Replied
I had suggested/asked since years for such a GRP integrity check tool to be shipped with SmarterMail, but I never had a real answer about it from ST.

Due to this I had to invest time and reverse SM DLLs/executables to find functions in the DLLs that are using to handle GRP files (loading, parsing) and built a python script making calls to these functions to have a tool that can do at least some checks such as:
- Can the GRP file be loaded successfully
- Are the mail binary indexes valid (start/end offsets of every mail in the GRP)
- Do every mails in the GRP file have at least the mandatory headers that ever mail should have

It quite helped me for troubleshooting some issues. It is better to run it on detached mailboxes to be sure SmarterMail isn't altering the file during the check.

I am really disappointed that such a tool is not provided by ST for sysadmins managing mail servers based on their product especially when I guess (I hope) they probably have one when they have to troubleshoots issues too...

Kind regards
Sébastien Riccio System & Network Admin https://swisscenter.com

Reply to Thread