IMAP duplicate email remover with safe delete, tagging, move, OAuth2, and Docker support.
1.2K
A duplicate email message remover for IMAP
walimap scans one or more IMAP mailboxes, detects duplicate messages, and tidies up all but the first copy. By default it marks later copies with \Deleted so you can review and purge using your mail client. Safe dry runs and non destructive tagging or moving are supported.
--dry-run, optional --show headers\Deleted default, --only-tag <keyword>, --copy <mailbox>, --move [mailbox], optional --delete to expunge/data as the writable mount pointdocker run --rm -it digitaldriveio/walimap:latest --help
Rootless example with mounted state and OAuth tokens:
chmod 755 ./data
docker run --rm -it \
-v ${PWD}/data:/data \
digitaldriveio/walimap:latest \
--office365 -u [email protected] \
--oauth-token-file /data/imap-oauth.txt \
--resume \
INBOX
Use XOAUTH2 and IMAPS 993. Example:
walimap -s outlook.office365.com -x -u [email protected] \
--oauth-token-file tokens.txt --global-dedup -M Dupes \
INBOX "Archive 2023" "Archive 2022"
-c with optional body bytes.--global-dedup to treat the first listed folders as canonical.--dry-run and consider --no-close if your server purges on CLOSE--sentbefore d-MMM-yyyy for large mailboxes--batch-size, --action-batch-size, --throttle-sleep, --max-retries--resume for long runs and --only-duplicates to reduce noiseRead the complete README, advanced OAuth guidance, examples, and troubleshooting on GitHub:
https://github.com/digital-drive/walimap
Content type
Image
Digest
sha256:f4ca54440…
Size
48.5 MB
Last updated
11 months ago
docker pull digitaldriveio/walimap