Re: Errors deleting mailboxes

Infraestructura TIC - UNNOBA <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
Thanks, Patrick, for your quick answer!

It's exaclty the same response:


localhost> lm
user/prueba/[email protected] (\HasNoChildren)
user/prueba/[email protected] (\HasNoChildren)
user/prueba/[email protected] (\HasNoChildren)
user/prueba/[email protected] (\HasNoChildren)
user/[email protected] (\HasNoChildren)

localhost> sam user/[email protected] cyrus x
localhost> dm user/[email protected]
localhost> lm
user/[email protected] (\NonExistent \HasNoChildren)




El 11/2/22 a las 10:44, Patrick Boutilier escribió:
> Do you see the same behavior if you use the x right instead of the c 
> right?
>
>
> From the documentation:
>
>
> The c right should no longer be used. It will be deprecated completely 
> in version 3.0.
>
> While Cyrus IMAP is backwards compatible when it comes to the c right, 
> which it implements as implying as the k right, implementations should 
> not count on the c right backwards compatibility to be around forever, 
> and fully implement the successor rights k and x.
>
>
> Use the x right to indicate the ACI subject has the right to DELETE 
> the folder on which the ACL is set, as opposed to the now obsolete c 
> right or d right.
>
>
>
>
> On 2/11/22 09:06, Infraestructura TIC - UNNOBA wrote:
>> Hello!
>>
>> I have a brand new installation of Cyrus:
>>
>> localhost> version
>> name       : Cyrus IMAPD
>> version    : 3.2.6-Debian-3.2.6-2+deb11u1
>> vendor     : Project Cyrus
>> support-url: https://www.cyrusimap.org
>> os         : Linux
>> os-version : 5.10.0-11-amd64
>> environment: Built w/Cyrus SASL 2.1.27
>>               Running w/Cyrus SASL 2.1.27
>>               Built w/OpenSSL 1.1.1k  25 Mar 2021
>>               Running w/OpenSSL 1.1.1k  25 Mar 2021
>>               Built w/zlib 1.2.11
>>               Running w/zlib 1.2.11
>>               CMU Sieve 3.0
>>               TCP Wrappers
>>               NET-SNMP
>>               mmap = shared
>>               lock = fcntl
>>               nonblock = fcntl
>>               idle = idled
>>
>>
>> Y can create new mailboxes
>>
>> localhost> lm
>> user/javier/[email protected] (\HasNoChildren)
>> user/javier/[email protected] (\HasNoChildren)
>> user/javier/Junk [email protected] (\HasNoChildren)
>> user/javier/[email protected] (\HasNoChildren)
>> user/javier/[email protected] (\HasNoChildren)
>> user/[email protected] (\HasNoChildren)
>>
>> and everything works fine.
>>
>>
>> But when I deleted a folder:
>>
>> localhost> sam user/[email protected] cyrus c
>> localhost> dm user/[email protected]
>> localhost> lm
>> user/[email protected] (\NonExistent \HasNoChildren)
>>
>> # sudo -u cyrus /usr/lib/cyrus/bin/chk_cyrus
>> Examining partition: ALL PARTITIONS
>> bad mailbox juandelospalotes.com.ar!user.javier in chkmbox
>> fatal error: fatal error
>>
>>
>> Now, I have to delete the entry "by hand" on mailboxes.db:
>>
>> # /usr/lib/cyrus/bin/cyr_dbtool /var/lib/cyrus/mailboxes.db skiplist 
>> delete juandelospalotes.com.ar\!user.javier
>>
>> Anyone have any clue?
>>
>> Thanks in advance!
>>
>> Javier.-
>>
> ------------------------------------------
> Cyrus: Info
> Permalink: 
> https://cyrus.topicbox.com/groups/info/T7cf86affa7ef3ca6-Mf75249488628fcecf113fcaf
> Delivery options: https://cyrus.topicbox.com/groups/info/subscription



------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T7cf86affa7ef3ca6-Ma88516e1a38f6b755e9e7530
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.