• Stars
    star
    163
  • Rank 231,224 (Top 5 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created over 11 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

📧 CLI to deduplicate mails from mail boxes

Mail Deduplicate

Last release Python versions Unittests status Documentation status Coverage status DOI

What is Mail Deduplicate?

Provides the mdedup CLI, an utility to deduplicate mails from a set of boxes.

Mail Deduplicate

Features

  • Duplicate detection based on cherry-picked and normalized mail headers.
  • Fetch mails from multiple sources.
  • Reads and writes to mbox, maildir, babyl, mh and mmdf formats.
  • Deduplication strategies based on size, content, timestamp, file path or random choice.
  • Copy, move or delete the resulting set of duplicates.
  • Dry-run mode.
  • Protection against false-positives with safety checks on size and content differences.
  • Supports macOS, Linux and Windows.
  • Standalone executables for Linux, macOS and Windows.
  • Shell auto-completion for Bash, Zsh and Fish.

⚠️ Warning: Performances

mdedup implementation is quite naive at the moment and everything resides in memory.

If this is good enough for a volume of a couple of gigabytes, the more emails mdedup try to parse, the closer you'll reach the memory limits of your machine. In which case mdedup will exit abrubtly, zapped by the OOM killer of your OS. Of course your mileage may vary depending on your hardware.

You can influence implementation of this feature with pull requests, or purchase of business support 🤝 and sponsorship 🫶.

Example

Installation

From sources

Easiest way is to install mdedup from sources with pipx:

$ pipx install mail-deduplicate

Other alternatives installation methods are available in the documentation.

Executables

Standalone executables of mdedup's latest version are available for several platforms and architectures:

Platform x86_64
Linux Download mdedup-linux-x64.bin
macOS Download mdedup-macos-x64.bin
Windows Download mdedup-windows-x64.exe

More Repositories

1

awesome-falsehood

😱 Falsehoods Programmers Believe in
23,570
star
2

awesome-engineering-team-management

👔 How to transition from software development to engineering management
1,944
star
3

awesome-iam

👤 Identity and Access Management knowledge for cloud platforms
1,684
star
4

awesome-billing

💰 Billing & Payments knowledge for cloud platforms
885
star
5

meta-package-manager

🎁 wraps all package managers with a unifying CLI
Python
455
star
6

dotfiles

🍎 macOS dotfiles for Python developers.
Shell
141
star
7

vat-rates

💸 {Digital,Cloud,Electronic,Online} Services VAT Rate Database
91
star
8

scripts

🐍 Utility scripts, patches and hacks.
Python
62
star
9

click-extra

🌈 Drop-in replacement for Click to make user-friendly and colorful CLI
Python
61
star
10

plumage

🎨 Theme for Pelican, the static site generator.
CSS
54
star
11

kevin-deldycke-blog

📓 My blog, based on Pelican.
Python
35
star
12

webping

🚦 Python script to monitor web pages.
JavaScript
21
star
13

workflows

⚙️ CLI helpers for GitHub Action + reuseable workflows
Python
19
star
14

kdenlive-tools

🎬 Command line tools for Kdenlive projects.
Python
8
star
15

chessboard

🎲 CLI to solve combinatoric chess puzzles.
Python
8
star
16

openerp.buildout

👔 OpenERP automated installation via zc.buildout.
Python
6
star
17

cherrypy_mako_formish_ooop_boilerplate

👔 Cherrpy + Mako + Formish + OOOP boilerplate.
Python
5
star
18

kdeldycke

👨‍💻 GitHub profile and short bio
4
star
19

e107-importer

🔄 e107 import plugin for WordPress.
PHP
3
star
20

awesome-template

Template repository with all common files for my awesome projects
2
star
21

sapphire

🎨 Sapphire for K2.
CSS
1
star
22

funky-storm

🎼 Source code of old funky-storm.com website.
PHP
1
star
23

mdx_titlecase

Proper title-casing for Python's Markdown library.
Python
1
star
24

cloudflare-redirects-linter

Lint Cloudflare Pages _redirects files
Python
1
star
25

drupify-fork

🎨 Fork of the Drupify theme for Drupal 6.x, containing all customizations for shop.coolcavemen.com .
CSS
1
star
26

cool-cavemen-k2-theme

🎨 coolcavemen.com custom style for the K2 WordPress theme.
PHP
1
star
27

cool-cavemen-e107-theme

🎨 coolcavemen.com custom themes for e107.
CSS
1
star
28

coolkevmen

🎨 Style for the K2 WordPress theme.
CSS
1
star
29

feed-tracking-tool

📨 Web-based RSS/Atom feed aggregator running on Ruby on Rails.
Ruby
1
star
30

cool-blue

🎨 Style for the K2 WordPress theme.
CSS
1
star
31

nlconverter

Automatically exported from code.google.com/p/nlconverter
Python
1
star
32

live_browser

🎭 Test web app based on CherryPy, Mako and MongoDB to play with Microsoft Live Messenger Connect API.
Python
1
star
33

cqlengine-relation-columns

🔧 Adds new relation columns to CQLengine storing pointers to other model instances.
Python
1
star