On 27/03/2024 21:10 EET Michael Grant via dovecot <dovecot@dovecot.org> wrote:
------ Original Message ------
From "Daniel Lange" <DLange@debian.org> To "Michael Grant" <mgrant@grant.org> Cc "dovecot@dovecot.org" <dovecot@dovecot.org> Date 27/03/2024 18:14:11 Subject Re: panics
Am 27.03.24 um 18:49 schrieb Michael Grant via dovecot:
I could really use some help debugging issue.
Timo gave some debugging tips in a similar case cf. https://dovecot.org/pipermail/dovecot/2023-March/126229.html
In case you know how to use gdb, that should work and might get a reproducer so this error can be mended for everybody.
This was helpful thanks. I do know how to use gpb, but hoping it won't come to this. I was thinking of how to do that anyway. There must be way to start dovecot (in gdb) so it does not fork and runs on a non-standard port so I could configure the imap client to contact it on, for example, port 1993. If someone knows how to do that, let me know.
I used 'doveadm backup' to convert the mbox inbox to Maildir. It had several errors. I removed the cache, tried again, and it seems now to be a clean Maildir.
Is it possible to specify a Maildir inbox but an mbox ~/mail folder (e.g. ~/mail/Trash, ~/mail/Junk ...etc as mbox files)? Is that possible to configure in a line in the dovecot userpasswd file on a per user basis?
gdb /usr/lib/dovecot/imap r -u username
Aki