>> how do I restore a deleted message in an mailbox? >> A scenarioa as followed: >> A user deleted a mail and emptied the trash. Cyrus is configued to >> expunge >> delayed. >> I think the messages is deleted in unser's opinion. Can the admin >> restore such >> a deleted message? > > Restore the file [message] to the appropriate directory and reconstruct > the corresponding mailbox. With delayed expunge, it's much easier, like this: List deleted messages: su - cyrus -c "/usr/lib/cyrus-imapd/unexpunge -l user.xxxxxxxxx" Unexpunge all deleted messages: su - cyrus -c "/usr/lib/cyrus-imapd/unexpunge -a -d -v user.xxxxxxxxx" Unexpunge a single message: su - cyrus -c "/usr/lib/cyrus-imapd/unexpunge -u -d -v user.xxxxxxxxx 14156" Simon > > ---- > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > ---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html