Panic when runing "doveadm mailbox status ... vsize"
Mark Costlow
cheeks at swcp.com
Tue Jul 19 23:49:56 UTC 2016
Thank you for pushing me in the right direction!
I originally used "lock_method = dotlock" on this server. I had
gotten to a point in trouble-shooting where i thought I should
change to fcntl, which I did. BUT I did not restart dovecot! I
just did that, and now "vsize" works.
I don't have a theory for why dotlock wouldn't be supported in
that path.
Thanks again,
Mark
On Wed, Jul 20, 2016 at 01:25:44AM +0200, Michael Kliewe wrote:
> 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
--
Mark Costlow | Southwest Cyberport | Fax: +1-505-232-7975
cheeks at swcp.com | Web: www.swcp.com | Voice: +1-505-232-7992
Mail Minder - Intelligent Push Notifications for Email on the iPhone
http://mailminderapp.com/download or in the App Store
More information about the dovecot
mailing list