Skip to main content
2025 Python Packaging Survey is now live!  Take the survey now

Deduplicate mails from a set of maildir folders.

Project description

Command-line tool to deduplicate mails from a set of maildir folders.

Stable release: Last release Python versions Software license Requirements freshness

Development: Unit-tests status Documentation Status Coverage Status Code Quality

Features

  • Duplicate detection based on cherry-picked mail headers.

  • Source mails from multiple maildirs.

  • Multiple removal strategies based on size, timestamp or file path.

  • Dry-run mode.

  • Protection against false-positives by checking for size and content differences.

Installation

This package is available on PyPi, so you can install the latest stable release and its dependencies with a simple pip call:

$ pip install maildir-deduplicate

Documentation

Docs are hosted on Read the Docs.

Changes for v2.2.0 (2020-09-03)

  • Add disclaimer to prepare project name change.

  • Fix Header being object instead of string (#61).

  • Make body_lines conversion more reliable.

  • Fix bugs in counter statistics (#45, #57).

  • Add Message-ID as a header to check.

  • Fix UnicodeDecodeError. Closes #53 and #55.

  • Bump requirement to click_log >= 0.2.0. Closes #58, #59 and #60.

  • Replace nose by pytest.

  • Only notify by mail of test failures.

  • Drop support of Python 3.3.

Full changelog.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page