Re: Errors deleting mailboxes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, Patrick, for your quick answer!

It's exaclty the same response:


localhost> lm
user/prueba/Drafts@xxxxxxxxxxxxxxxxxxxxxxx (\HasNoChildren)
user/prueba/Sent@xxxxxxxxxxxxxxxxxxxxxxx (\HasNoChildren)
user/prueba/Spam@xxxxxxxxxxxxxxxxxxxxxxx (\HasNoChildren)
user/prueba/Trash@xxxxxxxxxxxxxxxxxxxxxxx (\HasNoChildren)
user/prueba@xxxxxxxxxxxxxxxxxxxxxxx (\HasNoChildren)

localhost> sam user/prueba@xxxxxxxxxxxxxxxxxxxxxxx cyrus x
localhost> dm user/prueba@xxxxxxxxxxxxxxxxxxxxxxx
localhost> lm
user/prueba@xxxxxxxxxxxxxxxxxxxxxxx (\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/Archive@xxxxxxxxxxxxxxxxxxxxxxx (\HasNoChildren)
user/javier/Drafts@xxxxxxxxxxxxxxxxxxxxxxx (\HasNoChildren)
user/javier/Junk E-mail@xxxxxxxxxxxxxxxxxxxxxxx (\HasNoChildren)
user/javier/Sent@xxxxxxxxxxxxxxxxxxxxxxx (\HasNoChildren)
user/javier/Trash@xxxxxxxxxxxxxxxxxxxxxxx (\HasNoChildren)
user/javier@xxxxxxxxxxxxxxxxxxxxxxx (\HasNoChildren)

and everything works fine.


But when I deleted a folder:

localhost> sam user/javier@xxxxxxxxxxxxxxxxxxxxxxx cyrus c
localhost> dm user/javier@xxxxxxxxxxxxxxxxxxxxxxx
localhost> lm
user/javier@xxxxxxxxxxxxxxxxxxxxxxx (\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




[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux