Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

how to clean duplicate email from mdbox

Jason M Potter answered on May 11, 2023 Popularity 3/10 Helpfulness 1/10

Contents


More Related Answers


how to clean duplicate email from mdbox

0

This a small script, which I used for it:

The mailbox needs to be piped through it, and in the meantime it will be deduplicated.

-D $((1024*1024*10)) sets a 10 Mebibyte cache, which is more than 10x the amount needed to deduplicate an entire year of my mail. YMMV, so adjust it accordingly. Setting it too high will cause some performance loss, setting it to low will let it slip duplicates.

https://linux.die.net/man/1/formail

formail is part of the procmail utility bundle, mktemp is part of coreutils.

Popularity 3/10 Helpfulness 1/10 Language shell
Tags: email mbox shell
Link to this answer
Share Copy Link
Contributed on May 11 2023
Jason M Potter
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.