2
Settings Reverting After Restart of SmarterMail Service
Problem reported by Scarab - 2/18/2020 at 3:42 PM
Submitted
I've been finding a couple of domains and a couple of system configuration settings that are reverting back every time the SmarterMail Service is restarted. (SM Enterprise v100.0.7242.24590). Things like quotas on a specific account that get changed and upon the next restart go back to the old setting, or an old Debug Log ID that keeps getting re-enabled.

Not a game-breaker but it is mildly maddening enough that I thought I was going senile and/or crazy.

I noticed every time the SmarterMail Service gets restarted it also goes through the conversion process. Is that normal?

Made sure that the settings.json is not write-protected although we still have a write-protected MailService.exe.config for Declude compatibility with SMv100. Not sure if that might be a factor.

Any ideas what can cause this?

1 Reply

Reply to Thread
0
Matt Petty Replied
Employee Post
Yea, the conversion process acts as a quick way for us to bootstrap and check information before the main execution of SmarterMail when all of our internal systems get kicked on. It always runs and it can even identify new problems with loading domains on an older system. We use it as an opportunity to load each domain and see if it needs to be converted and if it is already converted it checks if it loaded correctly. It generally runs very quickly except on larger (like 2k+ domains large) systems where it takes about 30 seconds to a minute on boot. 15 and 16 did something similar where each domain would get loaded in the beginning, this older process used to take 10-15 minutes on 2k+ systems, now it's mere seconds or a minute in 2k+ cases!

Do you notice any SmarterMail crashes or anything that affects the file system? This is behavior that usually indicates that a settings.json file was either missing or in some cases was corrupt and overwritten with default SM values. Another thing to attempt to narrow down is, it across the board?
There are 3 levels of settings, System, Domain and User, is this affecting all of them? Domains reset to default sizes, User sizes being reset to default levels, etc.

We don't load that file internally, MailService.exe.config, so you should be fine there.
Matt Petty Senior Software Developer SmarterTools Inc. www.smartertools.com

Reply to Thread