to. den 05. 06. 2025 klokka 16.55 (+0200) skreiv Marco Moock:
> Am 05.06.2025 um 12:50:14 Uhr schrieb Kjetil Torgrim Homme:
> 
> >   localhost> sam user/kjetilho/foo cyrus all  
> >   setaclmailbox: cyrus: lrswipkxtea: System I/O error
> 
> Check dmesg and SMART values. Maybe disk access is faulty. Also run
> badblocks to verify your disk is ok.
> 

thank you for your response.

no, the disk is fine.  this is what strace says when I do that
operation:

[pid 635049] openat(AT_FDCWD,
"/var/spool/imap/k/user/kjetilho/foo/cyrus.index", O_RDWR) = -1 ENOENT
(No such file or directory)


for the folder which works, it updates
/var/spool/imap/k/user/kjetilho/INBOX/arkiv/2004/cyrus.header

but this gave me an idea, I simply

  # cd /var/spool/imap
  # cp -a user/kjetilho/foo k/user/kjetilho/

and now I was allowed to give cyrus create/delete access, and could
delete the folder.

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

but ctl_mboxlist is not quite happy:

  # ctl_mboxlist -v
  'user.kjetilho' has a DB entry but no directory on partition 'default'
  'user.kjetilho.bar' has a DB entry but no directory on partition
'(null)'
  'user.kjetilho.foo' has a DB entry but no directory on partition
'(null)'


I'm still confused about INBOX naming.  I stopped cyrus-imapd and edited
my .sub file manually to change it from user.kjetilho to
user.kjetilho.INBOX - to match the working
user.kjetilho.INBOX.arkiv.2003.  but after I did that, my IMAP client
added an "Alt Folders" on the top level (outside my personal inbox)
which contains this INBOX folder!  and my personal inbox still gives I/O
error.  how can I create cyrus.header and cyrus.index files which are
valid for that folder?  I seem to remember a recover command, but I
can't find it now.

-- 
venleg helsing,
Kjetil T.

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

Reply via email to