Error Next Message Unexpectedly Corrupted In Mbox File
[ author ] On Tue, 2014-05-27 at 16:09 +0200, Robert Schetterer wrote: > Am 27.05.2014 16:04, schrieb Arthur Dent: > > On Tue, 2014-05-27 at 15:44 +0200, Robert Schetterer wrote: > >> Am 27.05.2014 14:56, schrieb Arthur Dent: > >>> Hello All, > >>> > >>> I have a Dovecot v2.2.12 installation running on a Fedora 20 box which > >>> is the mailserver for my family. This means that it is serving only 4 > >>> accounts. > >>> > >>> I use fetchmail->procmail to feed Dovecot and I read my mail on clients > >>> such as Evolution on (another) Fedora 20 machine, iPad/iPhone or > >>> squirrelmail on the web (running on the same Fedora 20 server). > >>> > >>> The average mail throughput for the whole family is around a couple of > >>> hundred messages per day, but each (and every) day I get between 3 and > >>> 10 of the following messages: > >>> > >>> dovecot: imap(mark): Error: Next message unexpectedly corrupted in mbox > >>> file /home/mark/mail/MLists/Fail2Ban at 3407473: 1 Time(s) > >>> > >>> I have googled, but with little success. What I have found seemed to > >>> suggest that removing the .index files and allowing Dovecot to rebuild > >>> them will solve this. I did: > >>> find /home -type f -name "dovecot.index.*" -exec rm -f {} \; > >>> but it has made no difference. > >>> > >>> Can anyone help me solve this please? > >> > >> at this small setup simply use maildir as format > >> and use getmail to fetch, sieve may do sorting > >> > >> see > >> https://sys4.de/de/blog/2013/04/12/abholdienst-fur-mail/ > >> > >> sorry german but setup should speak for its own > >> > >> getmail does also deliver into maildir directly ( without dovecot deliver ) > >> if you dont need to sort through sieve > > > > Well thanks - but I have been using an mbox setup for about 10 years. It > > is only since I upgraded to F20 that I have been experiencing this > > problem. I may look at switching to maildir for the future, but for now > > that's too big a job... > > > > Any other ideas? > > > > Thanks > > > > Mark > > > > http://wiki2.dovecot.org/MboxProblems OK - Unless I'm missing something, all that page (which I'd already read) tells me is that I may have to delete the dovecot.index file(s) - which I've don (several times). I still have the same problem. Every single day. Anything else? Previous message: [Dovecot] Corrupted Mail? Next message: [Dovecot] Corrupted Mail? Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information abo
-Clone This Bug -Last Comment First Last Prev Next This bug is not in your last search results. Bug1189198 - dovecot IMAP crashes on mbox files Summary: dovecot IMAP crashes on mbox files Status: CLOSED ERRATA Aliases: None Product: Fedora Classification: Fedora Component: dovecot (Show other bugs) Sub Component: --- Version: 21 Hardware: Unspecified http://www.dovecot.org/list/dovecot/2014-May/096372.html Unspecified Priority unspecified Severity unspecified TargetMilestone: --- TargetRelease: --- Assigned To: Michal Hlavinka QA Contact: Fedora Extras Quality Assurance Docs Contact: URL: Whiteboard: Keywords: Depends On: Blocks: Show dependency tree /graph Reported: 2015-02-04 11:39 EST by Lennart Poettering Modified: 2016-10-12 15:27 EDT (History) CC List: 3 users (show) https://bugzilla.redhat.com/show_bug.cgi?id=1189198 janfrode mhlavink rkudyba See Also: Fixed In Version: dovecot-2.2.15-3.fc20 Doc Type: Bug Fix Doc Text: Story Points: --- Clone Of: Environment: Last Closed: 2015-03-05 07:33:21 EST Type: Bug Regression: --- Mount Type: --- Documentation: --- CRM: Verified Versions: Category: --- oVirt Team: --- RHEL 7.3 requirements from Atomic Host: Cloudforms Team: --- Attachments (Terms of Use) Add an attachment (proposed patch, testcase, etc.) Groups: None (edit) Description Lennart Poettering 2015-02-04 11:39:28 EST I frequently see this in my dovecot logs: Feb 04 17:32:27 gardel-mail dovecot[110]: imap(lennart): Error: Next message unexpectedly corrupted in mbox file /home/lennart/mail/mbox at 68197425 Feb 04 17:32:27 gardel-mail dovecot[110]: imap(lennart): Panic: file mbox-sync.c: line 152 (mbox_sync_read_next_mail): assertion failed: (sync_ctx->input->v_offset != mail_ctx->mail.from_offset || sync_ctx->input->eof) Feb 04 17:32:27 gardel-mail dovecot[110]: imap(lennart): Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0x74d1e) [0x7f5d3c92ed1e] -> /usr/lib64/dovecot/libdovecot.so.0(+0x74e0c) [0x7f5d3c92ee0c] -> /usr/lib64/dovecot/libdovecot.so.0(i_fatal+0) [0x7f5d3c8de91e] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x637e2) [0x7f5d3cc067e2] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mbox_sync+0x48) [0x7f5d3cc07a48] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mbox_storage_sync_init+0x65) [0x7f5d3cc07bb5] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x3b) [0x7f5d3cc249b
message unexpectedly corrupted in mbox filedovecot-2.1.1-2.0.cf.fc16.i686root 5979 0.0 0.1 3208 1260 ? Ss 20:18 0:00/usr/sbin/dovecot -Fdovenull 5985 0.0 0.2 7060 2280 ? S 20:18 0:00dovecot/imap-loginvmail 5988 0.0 http://dovecot.dovecot.narkive.com/Zi0qziZp/problem-managing-mbox 0.1 7888 1848 ? S 20:18 0:00dovecot/imaptotal 4drwxr-xr-x 9 vmail mail 4096 ene 21 21:43 vmailAny suggestion?Regards,----http://www.0pc.eu/ Timo Sirainen 2012-03-19 14:00:00 UTC PermalinkRaw Message Post by PSTMHello,I have a problem with dovecot. seems that do not erase mail that mailclient request to be erased.Are you sure the clients have actually issued the EXPUNGE command,rather than simply marked the mail error next with \Deleted flag?Post by PSTMError: Next message unexpectedly corrupted in mbox filembox code isn't perfect, but if this doesn't happen often it shouldn'tmatter much. doveconf -n output might have been helpful in giving moresuggestions. Ken A 2012-03-30 21:30:05 UTC PermalinkRaw Message I have seen this error msg too. Deleting the index files 'fixes' theerror messages in the log. The indexes error next message seem to get corrupted sometimes,when the client is logged doing: copy dest=Trash, delete, expungeKenPost by Timo SirainenPost by PSTMHello,I have a problem with dovecot. seems that do not erase mail that mailclient request to be erased.Are you sure the clients have actually issued the EXPUNGE command,rather than simply marked the mail with \Deleted flag?Post by PSTMError: Next message unexpectedly corrupted in mbox filembox code isn't perfect, but if this doesn't happen often it shouldn'tmatter much. doveconf -n output might have been helpful in giving moresuggestions.--Ken AndersonPacific Internet - http://www.pacific.netLatest Pacific.Net Status - http://twitter.com/pacnetstatus Ken A 2012-03-30 21:30:05 UTC PermalinkRaw Message I have seen this error msg too. Deleting the index files 'fixes' theerror messages in the log. The indexes seem to get corrupted sometimes,when the client is logged doing: copy dest=Trash, delete, expungeKenPost by Timo SirainenPost by PSTMHello,I have a problem with dovecot. seems that do not erase mail that mailclient request to be erased.Are you sure the clients have actually issued the EXPUNGE command,rather than simply marked the mail with \Deleted flag?Post by PSTMError: Next message unexpect