{"id":232,"date":"2012-10-07T11:43:05","date_gmt":"2012-10-07T10:43:05","guid":{"rendered":"http:\/\/www.debianpt.org\/~elmig\/blog\/?p=232"},"modified":"2025-08-19T00:13:44","modified_gmt":"2025-08-18T23:13:44","slug":"remove-maildir-duplicates","status":"publish","type":"post","link":"https:\/\/elmig.debianpt.org\/blog\/?p=232","title":{"rendered":"Remove maildir duplicates"},"content":{"rendered":"<p>Kevin Deldycke&#8217;s <a href=\"https:\/\/github.com\/kdeldycke\/scripts\/blob\/master\/maildir-deduplicate.py\" rel=\"nofollow\">maildir-deduplicate<\/a>.<\/p>\n<ul>\n<li>It ignores the <code>X-MIMETrack<\/code> header by default and compares headers using the <code>SHA224<\/code> digest.<\/li>\n<li>It does not consider the message body at all.<\/li>\n<li>It automatically deletes duplicates without asking for confirmation.<\/li>\n<li>It assumes your mailbox is in <code>\/Users\/kevin\/Maildir<\/code>. \ud83d\ude42<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Kevin Deldycke&#8217;s maildir-deduplicate. It ignores the X-MIMETrack header by default and compares headers using the SHA224 digest. It does not consider the message body at all. It automatically deletes duplicates without asking for confirmation. It assumes your mailbox is in \/Users\/kevin\/Maildir. \ud83d\ude42<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[61],"tags":[32,33],"class_list":["post-232","post","type-post","status-publish","format-standard","hentry","category-productivity","tag-mail","tag-server"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"Kevin Deldycke&#039;s maildir-deduplicate. It ignores the X-MIMETrack header by default and compares headers using the SHA224 digest. It does not consider the message body at all. It automatically deletes duplicates without asking for confirmation. It assumes your mailbox is in \/Users\/kevin\/Maildir. :)\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"elmig\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/elmig.debianpt.org\/blog\/?p=232\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"elmig&#039;s blog - O meu post-it\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Remove maildir duplicates - elmig&#039;s blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Kevin Deldycke&#039;s maildir-deduplicate. It ignores the X-MIMETrack header by default and compares headers using the SHA224 digest. It does not consider the message body at all. It automatically deletes duplicates without asking for confirmation. It assumes your mailbox is in \/Users\/kevin\/Maildir. :)\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/elmig.debianpt.org\/blog\/?p=232\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2012-10-07T10:43:05+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-08-18T23:13:44+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Remove maildir duplicates - elmig&#039;s blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Kevin Deldycke&#039;s maildir-deduplicate. It ignores the X-MIMETrack header by default and compares headers using the SHA224 digest. It does not consider the message body at all. It automatically deletes duplicates without asking for confirmation. It assumes your mailbox is in \/Users\/kevin\/Maildir. :)\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/?p=232#blogposting\",\"name\":\"Remove maildir duplicates - elmig's blog\",\"headline\":\"Remove maildir duplicates\",\"author\":{\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/?author=2#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/?p=232#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9ff56752a6b6f67f9ee535bba8020dcd21838d95934a1c141acff6fd45e2a5d7?s=96&d=robohash&r=pg\",\"width\":96,\"height\":96,\"caption\":\"elmig\"},\"datePublished\":\"2012-10-07T11:43:05+01:00\",\"dateModified\":\"2025-08-19T00:13:44+01:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/?p=232#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/?p=232#webpage\"},\"articleSection\":\"productivity, mail, server\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/?p=232#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/?cat=61#listItem\",\"name\":\"productivity\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/?cat=61#listItem\",\"position\":2,\"name\":\"productivity\",\"item\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/?cat=61\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/?p=232#listItem\",\"name\":\"Remove maildir duplicates\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/?p=232#listItem\",\"position\":3,\"name\":\"Remove maildir duplicates\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/?cat=61#listItem\",\"name\":\"productivity\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/#person\",\"name\":\"elmig\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/?p=232#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9ff56752a6b6f67f9ee535bba8020dcd21838d95934a1c141acff6fd45e2a5d7?s=96&d=robohash&r=pg\",\"width\":96,\"height\":96,\"caption\":\"elmig\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/?author=2#author\",\"url\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/?author=2\",\"name\":\"elmig\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/?p=232#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9ff56752a6b6f67f9ee535bba8020dcd21838d95934a1c141acff6fd45e2a5d7?s=96&d=robohash&r=pg\",\"width\":96,\"height\":96,\"caption\":\"elmig\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/?p=232#webpage\",\"url\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/?p=232\",\"name\":\"Remove maildir duplicates - elmig's blog\",\"description\":\"Kevin Deldycke's maildir-deduplicate. It ignores the X-MIMETrack header by default and compares headers using the SHA224 digest. It does not consider the message body at all. It automatically deletes duplicates without asking for confirmation. It assumes your mailbox is in \\\/Users\\\/kevin\\\/Maildir. :)\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/?p=232#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/?author=2#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/?author=2#author\"},\"datePublished\":\"2012-10-07T11:43:05+01:00\",\"dateModified\":\"2025-08-19T00:13:44+01:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/\",\"name\":\"elmig's blog\",\"description\":\"O meu post-it\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/elmig.debianpt.org\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Remove maildir duplicates - elmig's blog","description":"Kevin Deldycke's maildir-deduplicate. It ignores the X-MIMETrack header by default and compares headers using the SHA224 digest. It does not consider the message body at all. It automatically deletes duplicates without asking for confirmation. It assumes your mailbox is in \/Users\/kevin\/Maildir. :)","canonical_url":"https:\/\/elmig.debianpt.org\/blog\/?p=232","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/elmig.debianpt.org\/blog\/?p=232#blogposting","name":"Remove maildir duplicates - elmig's blog","headline":"Remove maildir duplicates","author":{"@id":"https:\/\/elmig.debianpt.org\/blog\/?author=2#author"},"publisher":{"@id":"https:\/\/elmig.debianpt.org\/blog\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/elmig.debianpt.org\/blog\/?p=232#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/9ff56752a6b6f67f9ee535bba8020dcd21838d95934a1c141acff6fd45e2a5d7?s=96&d=robohash&r=pg","width":96,"height":96,"caption":"elmig"},"datePublished":"2012-10-07T11:43:05+01:00","dateModified":"2025-08-19T00:13:44+01:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/elmig.debianpt.org\/blog\/?p=232#webpage"},"isPartOf":{"@id":"https:\/\/elmig.debianpt.org\/blog\/?p=232#webpage"},"articleSection":"productivity, mail, server"},{"@type":"BreadcrumbList","@id":"https:\/\/elmig.debianpt.org\/blog\/?p=232#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/elmig.debianpt.org\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/elmig.debianpt.org\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/elmig.debianpt.org\/blog\/?cat=61#listItem","name":"productivity"}},{"@type":"ListItem","@id":"https:\/\/elmig.debianpt.org\/blog\/?cat=61#listItem","position":2,"name":"productivity","item":"https:\/\/elmig.debianpt.org\/blog\/?cat=61","nextItem":{"@type":"ListItem","@id":"https:\/\/elmig.debianpt.org\/blog\/?p=232#listItem","name":"Remove maildir duplicates"},"previousItem":{"@type":"ListItem","@id":"https:\/\/elmig.debianpt.org\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/elmig.debianpt.org\/blog\/?p=232#listItem","position":3,"name":"Remove maildir duplicates","previousItem":{"@type":"ListItem","@id":"https:\/\/elmig.debianpt.org\/blog\/?cat=61#listItem","name":"productivity"}}]},{"@type":"Person","@id":"https:\/\/elmig.debianpt.org\/blog\/#person","name":"elmig","image":{"@type":"ImageObject","@id":"https:\/\/elmig.debianpt.org\/blog\/?p=232#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/9ff56752a6b6f67f9ee535bba8020dcd21838d95934a1c141acff6fd45e2a5d7?s=96&d=robohash&r=pg","width":96,"height":96,"caption":"elmig"}},{"@type":"Person","@id":"https:\/\/elmig.debianpt.org\/blog\/?author=2#author","url":"https:\/\/elmig.debianpt.org\/blog\/?author=2","name":"elmig","image":{"@type":"ImageObject","@id":"https:\/\/elmig.debianpt.org\/blog\/?p=232#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/9ff56752a6b6f67f9ee535bba8020dcd21838d95934a1c141acff6fd45e2a5d7?s=96&d=robohash&r=pg","width":96,"height":96,"caption":"elmig"}},{"@type":"WebPage","@id":"https:\/\/elmig.debianpt.org\/blog\/?p=232#webpage","url":"https:\/\/elmig.debianpt.org\/blog\/?p=232","name":"Remove maildir duplicates - elmig's blog","description":"Kevin Deldycke's maildir-deduplicate. It ignores the X-MIMETrack header by default and compares headers using the SHA224 digest. It does not consider the message body at all. It automatically deletes duplicates without asking for confirmation. It assumes your mailbox is in \/Users\/kevin\/Maildir. :)","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/elmig.debianpt.org\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/elmig.debianpt.org\/blog\/?p=232#breadcrumblist"},"author":{"@id":"https:\/\/elmig.debianpt.org\/blog\/?author=2#author"},"creator":{"@id":"https:\/\/elmig.debianpt.org\/blog\/?author=2#author"},"datePublished":"2012-10-07T11:43:05+01:00","dateModified":"2025-08-19T00:13:44+01:00"},{"@type":"WebSite","@id":"https:\/\/elmig.debianpt.org\/blog\/#website","url":"https:\/\/elmig.debianpt.org\/blog\/","name":"elmig's blog","description":"O meu post-it","inLanguage":"en-US","publisher":{"@id":"https:\/\/elmig.debianpt.org\/blog\/#person"}}]},"og:locale":"en_US","og:site_name":"elmig's blog - O meu post-it","og:type":"article","og:title":"Remove maildir duplicates - elmig's blog","og:description":"Kevin Deldycke's maildir-deduplicate. It ignores the X-MIMETrack header by default and compares headers using the SHA224 digest. It does not consider the message body at all. It automatically deletes duplicates without asking for confirmation. It assumes your mailbox is in \/Users\/kevin\/Maildir. :)","og:url":"https:\/\/elmig.debianpt.org\/blog\/?p=232","article:published_time":"2012-10-07T10:43:05+00:00","article:modified_time":"2025-08-18T23:13:44+00:00","twitter:card":"summary_large_image","twitter:title":"Remove maildir duplicates - elmig's blog","twitter:description":"Kevin Deldycke's maildir-deduplicate. It ignores the X-MIMETrack header by default and compares headers using the SHA224 digest. It does not consider the message body at all. It automatically deletes duplicates without asking for confirmation. It assumes your mailbox is in \/Users\/kevin\/Maildir. :)"},"aioseo_meta_data":{"post_id":"232","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2024-09-09 21:25:03","updated":"2025-08-18 23:14:42","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/elmig.debianpt.org\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/elmig.debianpt.org\/blog\/?cat=61\" title=\"productivity\">productivity<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tRemove maildir duplicates\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/elmig.debianpt.org\/blog\/"},{"label":"productivity","link":"https:\/\/elmig.debianpt.org\/blog\/?cat=61"},{"label":"Remove maildir duplicates","link":"https:\/\/elmig.debianpt.org\/blog\/?p=232"}],"_links":{"self":[{"href":"https:\/\/elmig.debianpt.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/232","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elmig.debianpt.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elmig.debianpt.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elmig.debianpt.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/elmig.debianpt.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=232"}],"version-history":[{"count":2,"href":"https:\/\/elmig.debianpt.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/232\/revisions"}],"predecessor-version":[{"id":372,"href":"https:\/\/elmig.debianpt.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/232\/revisions\/372"}],"wp:attachment":[{"href":"https:\/\/elmig.debianpt.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elmig.debianpt.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elmig.debianpt.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}