Corrupt GPR file or something like that
Problem reported by webtomten - 1/12/2022 at 4:00 AM

I have encountered a strange problem. All of a sudden, emails appear in html information. When I open this email, it contains several emails from the same day in HTML format. The email comes from an unknown sender, it says. But there are no email addresses as sender or recipient.

These are emails I read this summer so I know what emails are and they are legitimate. But now it seems that smartermail do not load these properly anymore. Not all email this day will be corrupt. The corrupt mail looks like in the attached file.

I have understood it as if there is something wrong with the GRP file this day. Anyone know how I fix this problem?

I apologize for my poor English, but I hope you understand.

Best Regards,
Jesper Andersson

3 Replies

Reply to Thread
Sébastien Riccio Replied
Something like this already happened multiple times to our customers. 

After analyzing the corresponding GRP files I've noticed that these e-mail were completly missing their headers in the GRP file (no headers at all, they were starting directly with the "body").

We opened a ticket about it but no real solution was given to us. 

No idea why the headers are gone and they lost forever (unless you have a backup dated from before the headers disappeared). 
For some of them we have old enough backup to be able to restore them for the customer and also it showed that the mail was correct when received in the first place so SM corrupted them at some point ...

When working on this issue I wrote a tool in python that scans GRP files and check every mail if they contains at least the mandatory headers, and we unfortunately found out that many customers were affected with this (hopefully on kinda older mails).

I would say that at some point some builds of smartermail was causing this and it was resolved later on.

Now it seems you're talking about kinda recent e-mails so I guess I should run a new global scan sometimes soon ....

Hopefully my testing domain seems clean...

Sébastien Riccio
System & Network Admin

webtomten Replied
Thank for your reply.

I have tried to restore a backup from the day after that the mail arrived. But I get the same problem with this grp file. I have tried to restore it to the latest version of smartermail. But I still get an corrupt file.

I think I just have to live with it then. 
Kyle Kerst Replied
Employee Post
It is possible the user's mailbox.cfg file is actually where the corruption stems from. Can you try importing this GRP file into a new folder? This should generate a new mailbox.cfg from the GRP file contents.
Kyle Kerst
Technical Support Specialist
SmarterTools Inc.
(877) 357-6278

Reply to Thread