Comment 3 for bug 1876537

Revision history for this message
Robert Dinse (nanook) wrote : Re: [Bug 1876537] Re: dovecot eating mail indexes /var/dovecot-index/user

      I further discovered the mailbox in question was malformed, had a space
before the 'From' in the first message. Fixing that, and then deleting the
index file and allowing it to rebuild got customer back in service. I further
found the mailbox got malformed by a users ineptidude, they tried to manually
as in using an editor, move a mail from another box. So that was the cause,
but it would be good for it to handle a corrupted mailbox more gracefully,
perhaps scan to the first good From and go from there.

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
  Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
    Knowledgeable human assistance, not telephone trees or script readers.
  See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.

On Mon, 4 May 2020, Paride Legovini wrote:

> Date: Mon, 04 May 2020 16:08:54 -0000
> From: Paride Legovini <email address hidden>
> Reply-To: Bug 1876537 <email address hidden>
> To: <email address hidden>
> Subject: [Bug 1876537] Re: dovecot eating mail indexes /var/dovecot-index/user
>
> Thanks Robert for taking the time to report this bug. There isn't really
> enough information here for a developer to confirm this issue is a bug,
> or to begin working on it. Could you try to dig a bit more and try to
> understand if anything useful gets logged? Best of all would be to have
> some steps to reproduce the problem from scratch.
>
> I'm marking this report as Incomplete for the moment, please change its
> status after commenting to New and we'll look at it again. Thanks!
>
> ** Changed in: dovecot (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1876537
>
> Title:
> dovecot eating mail indexes /var/dovecot-index/user
>
> Status in dovecot package in Ubuntu:
> Incomplete
>
> Bug description:
> I will get reports of users being able to connect, authenticate, but then not have any mail
> available when there is new mail in their INBOX. Something is happening to the dovecot-index file
> for that user because deleting it restores their ability to get mail.
>
> I have never had this happen before in six years of using dovecot, it is only since upgrade
> to 20.04 that this started happening. I made no local conf changes.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 20.04
> Package: dovecot-core 1:2.3.7.2-1ubuntu3 [modified: lib/systemd/system/dovecot.service]
> Uname: Linux 5.6.0 x86_64
> ApportVersion: 2.20.11-0ubuntu27
> Architecture: amd64
> CasperMD5CheckResult: skip
> Date: Sat May 2 17:23:01 2020
> ProcEnviron:
> TERM=xterm-color
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: dovecot
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/1876537/+subscriptions
>