Le 25/01/2023 à 15:31:07+0200, Valentin Laskov a écrit Hi, > > you should use unexpunge , not rename . > > http://www.cyrusimap.org/imap/reference/manpages/systemcommands/unexpunge.html Well....unexpunge is for a deleted mail not de all mailbox. Currently it's really the mailbox I need to restore. And it's say in the doc to use that method : https://www.cyrusimap.org/imap/reference/admin/sop/deleting.htm Regards. > > Hi everyone, > > > > I got a very weird problem. Someone delete his sent mailbox so I try to > > rename it. > > > > I'm connect though cyradm and try to rename it here a copy/paste of the > > terminal (only the username was redacted) > > > > Check the mailbox name > > > > 127.0.0.1> lam DELETED.user.username.Sent.63CF5710 > > username lrswipkxtecdan > > > > then try to rename it > > > > 127.0.0.1> renamemailbox DELETED.user.username.Sent.63CF5710 user.username.sent-202301240457 > > renamemailbox: Invalid mailbox name > > > > maybe it's the target name ? > > > > 127.0.0.1> cm user.username.sent-202301240457 > > 127.0.0.1> lam user.username.sent-202301240457 > > username lrswipkxtecdan > > > > no so try > > > > 127.0.0.1> renamemailbox DELETED.user.username.Sent.63CF5710 user.username.sent-202301240457 > > renamemailbox: Mailbox already exists > > > > ok that's normal, now remove > > > > 127.0.0.1> sam user.username.sent-202301240457 cyradm lrswipkxtecdan > > 127.0.0.1> dm user.username.sent-202301240457 > > > > and > > > > 127.0.0.1> rename DELETED.user.username.Sent.63CF5710 user.username.sent-202301240457 > > -- Albert SHIH 🦫 🐸 Observatoire de Paris France Heure locale/Local time: mer. 25 janv. 2023 14:34:10 CET ------------------------------------------ Cyrus: Info Permalink: https://cyrus.topicbox.com/groups/info/T76eb8ba50e23943f-Mbfa268d5afc861f63a67cd63 Delivery options: https://cyrus.topicbox.com/groups/info/subscription