Evolution problem after migration to Tumbleweed from Leap 15.6

I have just migrated my desktop computer from Leap 15.6. to Tumbleweed. All went well, except that my Evolution inbox folder is now showing a copy of all mails that had been moved to other folders, (including to the Wastebasket). I suspect that during the Tumbleweed installation all ‘live’ mails were imported into the inbox.

My inbox now registers some 6000 mails, instead of about 1000. Is there a quick, safe way for me to tidy up my inbox?

Cheers
Harvey

Did you try to set the filter to “Current account” and the menu → Messages → Remove duplicate messages?

Did you use IMAP? If not try setting it up with that as it usually retains the folders etc. from your e-mail providers servers. Or restore a back up of your Evolution settings if you made one perhaps?

Nice suggestion. Thanks.

However…
'Remove duplicate messages* is only active when ‘select all’ is chosen for one folder (e.g. inbox). A duplicate file is usually in another folder, say ‘computer’. From which folder would duplicates be removed: from ‘inbox’ or from ‘computer’? In my case I only want to have the respective duplicates removed from ‘inbox’.

In other words, if I have the ‘current account’ selected, can I assume that duplicates can be found in ‘inbox’ AND the folder where a duplicate sits? Which one gets deleted, if all mails in ‘inbox’ are selected.

I am using ‘pop’ (still!). My provider does not keep mails older than about 3 months(?) and my problem here relates to mails going back more then 10 years

You may need to ask the question which of the duplicate gets deleted at the Evolution communication channels. I found the same info like you regarding the removal of dups in one folder. But not what gets deleted when the dups are spread over two or more folders.

But you could create a small testcase. Create two new testfolders, put the same test message in both and try to experiment with this setup.

No dups are found anywhere, although there are hundreds in several folder. It’s only checking within the folder where all mails are selected

Have you got any saved sessions in advanced option in boot you can roll back to when booting which would have your old set up. If so and you can get into that, you could then export / back up your Evolution settings etc. from there and import them into the new set up perhaps? Or did you wipe you disk when you upgraded?

You should know that /home is excluded from Snpahots. Evolution settings are in /home.

Ah OK thanks for the info.

Maybe this is what you need?
https://help.gnome.org/users/evolution/stable/mail-filters.html.en
Which comes from:
https://help.gnome.org/users/evolution/stable/
Hope this helps, if I’ve understood your issue.

This is not applicable for the issue of the TO.

You can define filters for both incoming and outgoing emails

The issue is completely different here.

Long time since I disabled POP accounts, but your local folders should be in
~/.local/share/evolution/mail/local
Having a look there might reveal something interesting.

Looks like all the mails are there, sorted into the folders and subfolders.
Does anyone know of a file system app that finds and deletes duplicate files? would that be a legitimate approach that Evolution can tolerate? Nautilus seems not much help there.

Is Bleachbit a safe option? Does it allow deleting files in bulk? (There are 9000 file in mail, many of which are supposedly dups).

I would backup everything in ~/.local/share/evolution/mail/local (just in case) to be able to experiment with fixes, knowing that it is possible to restore the original situation if something goes the wrong way.
I think that there might be some mismatch between the content in ~/.local/share/evolution/mail/local and the evolution config in ~/.config/evolution/mail/folders, but I don’t know enough about Evolution (and nothing about bleachbit) to help you beyond this point.

Thanks. I suspect I’m damned to tidy everything up by hand. Like you, I don’t know much about Evolutions digestion system

A couple of things to make your life easier:

  • Email should all be IMAP
  • Calendar CALDAV
  • Contacts CARDDAV
  • Do not move emails to local folders
  1. With POP I can ensure that SPAM gets nowhere near my desktop, with IMAP I can’t.
  2. I don’t know what CALDAV and CARDDAV are. I use Evolution’s Contacts function only.
  3. Strange to hear that about local folders. Evolution provides this function, why not use it?