On 27. Aug 2025, at 23.38, pelzi--- via dovecot <dovecot@dovecot.org> wrote:
> 
> Here we go, however I prefer to start with a command that doesn't shoot the 
> imap process in the foot:
> 
> $ gdb --args doveadm acl debug -u someuser shared/someotheruser
> 
> ...
> 
> (gdb) where
> #0  0x00007ffff781df10 in rmdir () from /lib/x86_64-linux-gnu/libc.so.6
> #1  0x00007ffff7d6ccef in mailbox_list_delete_until_root (list=0x55555568ce58,
>     path=0x55555568be58 "/var/mail/someotheruser", type=<optimized out>) at 
> list/mailbox-list-delete.c:311
> #2  0x00007ffff7d6d605 in mailbox_list_delete_mailbox_until_root 
> (list=0x55555568ce58,
>     storage_name=storage_name@entry=0x55555569a660 "INBOX") at 
> list/mailbox-list-delete.c:342
> #3  0x00007ffff7d6f542 in mailbox_list_iter_try_delete_noselect 
> (info=0x555555699cd8,
>     ctx=0x555555699c48, storage_name=0x55555569a660 "INBOX") at 
> list/mailbox-list-iter-private.h:40
> #4  fs_list_entry (ctx=0x555555699c48, entry=<optimized out>) at 
> list/mailbox-list-fs-iter.c:755

I can now reproduce this, but it's in a rather complex part of the code. I'm 
not sure it's a good idea to do changes in there. This seems rather 
mbox-specific problem, and we're not really providing more than minimal support 
for mbox format anymore. So I'd suggest you switch to a different mailbox 
format. You can also work around this by setting mailbox_list_drop_noselect=no.

The other crash you reported is now fixed and will be in github hopefully 
today. Workaround there would be to make sure all users have at least something 
in acl_groups.

_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to