|
NAMEunexpunge - Cyrus IMAP documentation Recover messages the user has (accidentally) deleted. SYNOPSISunexpunge [ -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... DESCRIPTIONThe 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. OPTIONS
EXAMPLESunexpunge -l user/john@example.org List the messages that are expunged and could be restored
for mailbox user/john@example.org.
unexpunge -u user/john@example.org 278787 278788 Unexpunge two of these messages.
mbexamine user/john@example.org Examine the mailbox for the two restored messages.
unexpunge -u -d user.johnsmith 46908 Unexpunge a select message based on its UID, clearing the
\Deleted flag.
unexpunge -a user.johnsmit.Trash Unexpunge all messages in a user's Trash, but leave them
flagged \Deleted.
unexpunge -a -f Flagged user.johnsmith.Trash The same, but setting user flag \Flagged to
facilitate later bulk operations.
unexpunge -t 24h -d -f Flagged user.johnsmith Unexpunge messages matching only a given time
period.
unexpunge -t 24h -d -f Flagged user/johnsmith The same command, supporting the unixhierarchysep:
yes option in imapd.conf(5).
FILES/etc/imapd.conf SEE ALSOimapd.conf(5) AUTHORThe Cyrus Team, Nic Bernstein (Onlight), Jeroen van Meeuwen (Kolab Systems) COPYRIGHT1993–2025, The Cyrus Team
|