Which imap command to rename a root mailbox while maintaining its partition

Simon Matter simon.matter at invoca.ch
Mon Mar 18 12:06:30 EDT 2019


> Hi,
>
> seems that there is a problem with your cyrus quota tree
> (/var/lib/cyrus/quota) or at least some of its files.

In the case of RHEL6 this will be /var/lib/imap/quota/.

I suggest to look at the quota files there, they have names like
user.<username> and are text files with two lines. Should be easy to find
the broken file.

Regards,
Simon

>
> Maybe strace command may help you find which files are corrupt:
> su - cyrus -c "strace /usr/lib/cyrus-imapd/quota user"
>
> Anthony Prades
>
>
> On 3/18/19 10:13 AM, Marco wrote:
>> Il 18/03/2019 08:25, Thomas Cataldo ha scritto:
>>> Hi,
>>>
>>> On cyrus 2.4.x we used to run
>>> A1 RENAME mbox1 mbox2 our_partition
>>>
>>> When we run that on cyrus 3.0.8 we get :
>>> A1 NO Cross-server or cross-partition move w/rename not supported
>>>
>>> Is there a way to do this rename with one command with cyrus3.
>>> If we run A1 RENAME mbox1 mbox2
>>> the mailbox is renamed as expected but it moves from our_partition to
>>> default which is not what we want.
>>>
>>> Any suggestion ?
>>
>> Hello, no suggestions, I verified too. :( But if you have a mailbox
>> with:
>>
>> folder1 --> part1
>> folder2 --> part2
>>
>> then you can do:
>>
>> A1 RENAME folder1 folder2/folder1
>>
>> and folder1 is now on part2. So, under some circumstances, a cross
>> partition rename seems to be still supported...
>>
>> Bye
>> Marco
>>
>> Ps: on the above example unixhierarchysep: 1
>> ----
>> Cyrus Home Page: http://www.cyrusimap.org/
>> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
>> To Unsubscribe:
>> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
>




More information about the Info-cyrus mailing list