Re: Errors deleting mailboxes

Patrick Boutilier <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
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
boutilpj.vcf (text/vcard, 298 B)
begin:vcard
fn:Patrick Boutilier
n:Boutilier;Patrick
org:;Nova Scotia Department of Education
adr:;;2021 Brunswick Street;Halifax;NS;B3K 2Y5;Canada
email;internet:[email protected]
title:WAN Communications Specialist
tel;work:902-424-6800
tel;fax:902-424-0874
version:2.1
end:vcard
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.