UNEXPUNGE(8) | Cyrus IMAP | UNEXPUNGE(8) |
unexpunge - Cyrus IMAP documentation
Recover messages the user has (accidentally) deleted.
unexpunge [ -C config-file ] -l mailbox [ uid... ] unexpunge [ -C config-file ] -t time-interval [ -d ] [ -v ] [ -f flagname ] mailbox unexpunge [ -C config-file ] -a [ -d ] [ -v ] [ -f flagname ] mailbox unexpunge [ -C config-file ] -u [ -d ] [ -v ] [ -f flagname ] mailbox uid...
The unexpunge program is used to list or restore messages which have been deleted from a mailbox, but still reside in the Cyrus IMAP mail spool.
This utility is only useful when the server is configured with expunge_mode set to delayed in its configuration file.
unexpunge reads its configuration options out of the imapd.conf(5) file unless specified otherwise by -C.
unexpunge -l user/john@example.org
unexpunge -u user/john@example.org 278787 278788
mbexamine user/john@example.org
unexpunge -u -d user.johnsmith 46908
unexpunge -a user.johnsmit.Trash
unexpunge -a -f Flagged user.johnsmith.Trash
unexpunge -t 24h -d -f Flagged user.johnsmith
unexpunge -t 24h -d -f Flagged user/johnsmith
/etc/imapd.conf
imapd.conf(5)
The Cyrus Team, Nic Bernstein (Onlight), Jeroen van Meeuwen (Kolab Systems)
1993–2025, The Cyrus Team
January 22, 2025 | 3.10.1 |