[Evolution-users] Auto rebuild of db
Milan Crha
mcrha at redhat.com
Tue Sep 23 12:52:45 UTC 2025
On Tue, 2025-09-23 at 12:56 +0200, Luigi Cantoni via evolution-users
wrote:
> I will check out the suggested routine and that may give me a
> suggestion. Otherwise I may need to try another way to do what I
> want.
Hi,
I see, playing with the internal app files is always kinda problematic
and tricky, it can cause problems when not being careful.
It depends what account type we are talking about. The folders.db file
is not mandatory, you can always remove it and it'll be recreated the
next time you start Evolution and access that account. The problem is
that not every server allows to save everything on the remote machine,
then the folders.db file holds the data only locally. That applies for
example the Labels, but not only to them. The On This Computer or other
local account types have no "remote server storage", thus they have
everything in the folders.db file. When you delete the file, the Labels
are gone.
You can delete only the table corresponding to the directory you
modified on the disk. It'll still have lost the information about the
Labels, but this time for a single folder only, not for the whole
account.
Nonetheless, the On This Computer (maildir) account should be able to
re-sync with the directory content, without a need to touch the
folders.db file. I'm not sure when precisely it's done, either when
entering the folder or when leaving it in the Evolution. There is also
Refresh function on the folders (in the context menu, F5 key when
selected). You'd need to experiment with it a bit to see whether you
really need to touch also the folders.db file or not.
Bye,
Milan
More information about the evolution-users
mailing list