SmarterMail - Option do temporarily disable folder auto-clean
Idea shared by Sébastien Riccio - 1/2/2020 at 9:46 AM

Is there a way to disable folder auto-clean for some time? If not, this could be useful in some situations to be able to tell SmarterMail to skip cleaning (like a configurable flag that would be checked when auto-folder tasks is called).

An example of use case. A few weeks ago our server time started to jump for about one year forward and then come back to the real time (after 1-2 hours).
We tracked down the issue to be the Windows Time service going crazy when syncing with some public ntp servers.
However in the meantime a lot of customers got mails wrongly wiped by the auto-folder cleaning because when the time was in the future and so all mails were considered old enough to be cleaned...

A way to temp. disable auto-cleaning would have been handy in this situation until we resolve the time problem.

Kind regards and happy new year.
Sébastien Riccio
System & Network Admin

4 Replies

Reply to Thread
Side question: does auto clean process is still using mail receiving date instead of time when message was placed in trash for after X day removal (this is critical in situation where user is moving some mails to trash and this messages are being almost right away deleted from it since they where delivered more than X days to users mailbox)? New file format in v17 (or v16?) was a suggestion where this can be made and I'm wonderin if this has been implemented.
Hate the Windows time service, always full of issues. We use a local time server (SyncServer S80) with https://www.meinbergglobal.com/english/sw/ntp.htm as the NTP client. The NTP client has worked for us for ~10 years, never had an issue. Much more reliable than the Windows Time service.
Yes, we disabled windows time service and replaced it with http://www.timesynctool.com/

No more time jumping issues since.

Edit: SyncServer S80 seems great. Maybe we should buy one to use instead of public ntp servers.
Sébastien Riccio System & Network Admin https://swisscenter.com
Yep, quite a while back we had a big issue with one of the public NTPs we used going nuts. One of our clients uses software that relies on time being damn near perfect and it messed their system up badly when this happened. So we invested in one of these, it is the primary time for our network, but we also use NIST's time servers as a backup (they are very close to our DC, so we get a ~5ms response time).

Reply to Thread