Mtt
Mtt

I wrote about migrating between email clients, something I’ve done too many times. A few years ago, one of those migrations resulted in a large amount of duplicate email. Manually removing duplicates is not worth it. But surely there is an app/service/script that can do this for me? Surely? Right?!

|
Embed
Progress spinner
rnkn
rnkn

@Mtt there is indeed: pypi.org/project/m…

|
Embed
Progress spinner
Mtt
Mtt

@rnkn Ok, that’s interesting. I think I can work out how to use that. Have you used it?

|
Embed
Progress spinner
rnkn
rnkn

@Mtt I have. I think the way to do it is with mbsync; sync your entire mail store locally, run the script on the Maildir, then sync again. Here’s my mbsync config to give you an idea. Ping me if you get stuck.

|
Embed
Progress spinner
In reply to
Mtt
Mtt

@rnkn I’m currently running mbsync and it appears it’s doing its part perfectly. Gonna take a long while to complete before I can deduplicate. But I’m liking where it’s heading.

|
Embed
Progress spinner
Mtt
Mtt

@rnkn Alright, that was brilliant and solved my issue. Are you doing anything else with your email? Offloading old attachments or anything like that?

|
Embed
Progress spinner
rnkn
rnkn

@Mtt glad it worked okay. Nah, for a while I played with mblaze but now I just use webmail and only keep a local Maildir as a backup (probably unnecessarily).

|
Embed
Progress spinner