long time Cyrus user, but it's been a long time since I installed a new
installation...

I installed 3.4.8 on Alma Linux 9.  during first attempt I thought I'd
be "clever" and changed

  -admins: cyrus
  +admins: cyrus kjetilho

  -hashimapspool: true
  +hashimapspool: false

when I connected using my IMAP client (Evolution), I got no folders. 
`lm` in cyradm returned nothing at all.  I then created "user/kjetilho"
and later "user/kjetilho/foo" and "user/kjetilho/bar".  these did not
show up in `lm` either, but `lam user/kjetilho` gave the ACL and another
attempt to `cm` reported it already exists.  the mailboxdb agreed with
that:

  # ctl_mboxlist  -d
  user.kjetilho 0 default kjetilho      lrswipkxtecdan  
  user.kjetilho.bar     0 default kjetilho      lrswipkxtecdan  
  user.kjetilho.foo     0 default kjetilho      lrswipkxtecdan  

so I gave up on this, and uninstalled the package, instead running with
defaults only (giving the "cyrus" user a password so I can use that for
management instead).

now before I logged in, situation was:

  localhost> lm
  user/kjetilho (\HasChildren)
  user/kjetilho/foo (\HasNoChildren)
  user/kjetilho/bar (\HasNoChildren)

after logging in, everything looked fine, and I started to move over my
mail archive.  I only got to 2004 when I got I/O error message from my
client.

  localhost> lm
  user/kjetilho (\HasChildren)                     
  user/kjetilho/INBOX/arkiv (\HasChildren)         
  user/kjetilho/INBOX/arkiv/2003 (\HasNoChildren)  
  user/kjetilho/INBOX/arkiv/2004 (\HasNoChildren)  
  user/kjetilho/bar (\HasNoChildren)               
  user/kjetilho/foo (\HasNoChildren)               

it turns out it is the top inbox which gives error, I can read messages
in the archive folders just fine.  I must admit I am not sure if INBOX
is supposed to be named "user/kjetilho/INBOX" or just "user/kjetilho"
internally?

due to the change of hashimapspool, the structure looks like this:

  # du /var/spool/imap/
  8     /var/spool/imap/user/kjetilho/foo
  8     /var/spool/imap/user/kjetilho/bar
  24    /var/spool/imap/user/kjetilho
  24    /var/spool/imap/user
  11736 /var/spool/imap/k/user/kjetilho/INBOX/arkiv/2003
  30088 /var/spool/imap/k/user/kjetilho/INBOX/arkiv/2004
  41832 /var/spool/imap/k/user/kjetilho/INBOX/arkiv
  41840 /var/spool/imap/k/user/kjetilho/INBOX
  41840 /var/spool/imap/k/user/kjetilho
  41840 /var/spool/imap/k/user
  41840 /var/spool/imap/k
  0     /var/spool/imap/stage.
  41864 /var/spool/imap/

(I should have removed all of /var/spool/imap before reinstalling the
package, but I didn't think of it...)

what is really happening here?  how can I clean up this mess?

  localhost> sam user/kjetilho/foo cyrus all
  setaclmailbox: cyrus: lrswipkxtea: System I/O error

-- 
venleg helsing,
Kjetil T.

------------------------------------------
Cyrus: Info
Permalink: 
https://cyrus.topicbox.com/groups/info/T731fddc866c5f1ae-Me2ec04296dacfabc08f71daa
Delivery options: https://cyrus.topicbox.com/groups/info/subscription

Reply via email to