Hi Mark,

Am 19.07.2016 um 21:23 schrieb Mark Costlow:
I have converted some test users and they generally work fine.  But
when I run "doveadm mailbox status" I get a Panic if I ask for the
vsize field (or "all"), but other fields work fine. For example:

    # doveadm  mailbox status -u bubbacheex3 "messages" INBOX
    INBOX messages=53

    # doveadm  mailbox status -u bubbacheex3 "guid" INBOX
    INBOX guid=bf976912f3748957761d0100f906a3d0

    # doveadm  mailbox status -u bubbacheex3 "unseen" INBOX
    INBOX unseen=52

    # doveadm  mailbox status -u bubbacheex3 "vsize" INBOX
    doveadm(bubbacheex3): Panic: file file-lock.c: line 269: unreached
    Abort trap

Have you checked that line 269 in file-lock.c?
https://github.com/dovecot/core/blob/master/src/lib/file-lock.c#L269

Do you have write access to the mail folder of the user?

I'm not sure anymore, maybe a workaround for me was:
-o lock_method=fcntl
Using fcntl instead of dotlock for that command...
Or I made sure to have write access to the mail folder of the user... Or both.... I don't remember anymore.

Maybe someone can explain why dotlock is not supported in that code path.

Michael

Reply via email to