Re: Invalid Mailbox Name

Valentin Laskov <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
Hi,

you should use unexpunge , not rename .

http://www.cyrusimap.org/imap/reference/manpages/systemcommands/unexpunge.html

Regards!
Valentin


На 25.01.2023 в 09:15, Albert Shih написа:
> 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
>
> WTF ?
>
> Any idea what I'm doing wrong ?
>
> Regards

------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T76eb8ba50e23943f-Me11f658dd920e24586bdb7ab
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.