summaryrefslogtreecommitdiff
path: root/imap/src/mailutil/mailutil.1
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2016-04-17 21:11:02 -0600
committerEduardo Chappa <chappa@washington.edu>2016-04-17 21:11:02 -0600
commit83af74256b163fdf15d6d97c660a3783f930b98d (patch)
tree2612bb7da618fb8f20cbb7efe9210be9c8efd01d /imap/src/mailutil/mailutil.1
parent1b64ebe9b934d70fe6373b52e4adb247fda5f448 (diff)
downloadalpine-83af74256b163fdf15d6d97c660a3783f930b98d.tar.xz
* Add a "dedup" command to the mailutil program. The format is as
follows: mailutil dedup MAILBOX This command will open MAILBOX and remove duplicates of messages. Two messages are duplicate of each other if they have the same message-id. If a message does not have a message-id, it is not deleted. If MAILBOX is omitted, then INBOX is assumed.
Diffstat (limited to 'imap/src/mailutil/mailutil.1')
-rw-r--r--imap/src/mailutil/mailutil.17
1 files changed, 7 insertions, 0 deletions
diff --git a/imap/src/mailutil/mailutil.1 b/imap/src/mailutil/mailutil.1
index 964fb1b8..c33bb53b 100644
--- a/imap/src/mailutil/mailutil.1
+++ b/imap/src/mailutil/mailutil.1
@@ -25,6 +25,8 @@ command-specific switches.
.PP
.B mailutil create MAILBOX
.PP
+.B mailutil dedup MAILBOX
+.PP
.B mailutil delete MAILBOX
.PP
.B mailutil rename SOURCE DESTINATION
@@ -69,6 +71,11 @@ character. For example, the command
.br
will create a new mailbox named "junkmail" in mbx format.
.PP
+.B mailutil dedup
+removes messages that have the same message-id header in a
+.I mailbox.
+Messages that do not have a message-id header are not removed.
+.PP
.B mailutil delete
deletes an existing
.I mailbox