[Dovecot] corrupted inboxes
Hi all, Two users on our system have recently had trouble reading their inbox, and it seems to be a result of their inbox getting corrupted.
In the most recent case, their Mailbox file (in /home/eric/Mailbox
in this case), has the following as the first line:
cnw.igmg--
Here's a piece of the logs below... if you look for "eric", there's
a successfully delivery, followed a bit later by a POP attempt by "eric" that returns that the Mailbox isn't in mbox format.
Any ideas?
.josh
Mar 11 14:59:04 core postfix/local[8203]: 27D18279857E: to=eric@kuci.org, relay=local, delay=0, status=sent (delivered to mailbox) Mar 11 14:59:04 core postfix/qmgr[7238]: 27D18279857E: removed Mar 11 14:59:06 core postfix/smtpd[8199]: disconnect from user-0c8gg6h.cable.mindspring.com[24.136.64.209] Mar 11 14:59:13 core pop3-login: Login: gtt [::ffff:67.120.76.169] Mar 11 14:59:18 core postfix/smtpd[7575]: connect from webhost2.ethr.net[208.37.25.24] Mar 11 14:59:18 core postfix/smtpd[7575]: setting up TLS connection from webhost2.ethr.net[208.37.25.24] Mar 11 14:59:18 core postfix/smtpd[7575]: TLS connection established from webhost2.ethr.net[208.37.25.24]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits) Mar 11 14:59:18 core postfix/smtpd[7575]: 242E2279857E: client=webhost2.ethr.net[208.37.25.24] Mar 11 14:59:18 core postfix/cleanup[8201]: 242E2279857E: message-id=bb165712392a2b4375d6da0efa3c046c@www.ethr.net Mar 11 14:59:18 core postfix/qmgr[7238]: 242E2279857E: from=nobody@webhost2.ethr.net, size=1527, nrcpt=1 (queue active) Mar 11 14:59:18 core postfix/cleanup[8201]: 6F63A2798580: message-id=bb165712392a2b4375d6da0efa3c046c@www.ethr.net Mar 11 14:59:18 core postfix/local[8203]: 242E2279857E: to=r-ethr@kuci.org, relay=local, delay=0, status=sent (forwarded as 6F63A2798580) Mar 11 14:59:18 core postfix/qmgr[7238]: 6F63A2798580: from=nobody@webhost2.ethr.net, size=1653, nrcpt=1 (queue active) Mar 11 14:59:18 core postfix/smtpd[7575]: disconnect from webhost2.ethr.net[208.37.25.24] Mar 11 14:59:18 core postfix/qmgr[7238]: 242E2279857E: removed Mar 11 14:59:18 core postfix/smtp[8250]: setting up TLS connection to blade.butterzone.net Mar 11 14:59:18 core postfix/smtp[8250]: verify error:num=19:self signed certificate in certificate chain Mar 11 14:59:18 core postfix/smtp[8250]: Peer verification: CommonName in certificate does not match: tloin.butterzone.net != blade.butterzone.net Mar 11 14:59:18 core postfix/smtp[8250]: Peer certficate could not be verified Mar 11 14:59:18 core postfix/smtp[8250]: 6F63A2798580: to=r@butterzone.net, orig_to=r-ethr@kuci.org, relay=blade.butterzone.net[208.37.27.136], delay=0, status=sent (250 Ok: queued as 4783AC2C130) Mar 11 14:59:18 core postfix/qmgr[7238]: 6F63A2798580: removed Mar 11 14:59:23 core pop3(eric): File isn't in mbox format: /home/eric/Mailbox Mar 11 14:59:24 core pop3-login: Login: eric [::ffff:128.195.131.49] Mar 11 14:59:24 core pop3(eric): File isn't in mbox format: /home/eric/Mailbox Mar 11 14:59:24 core pop3(eric): File isn't in mbox format: /home/eric/Mailbox Mar 11 14:59:24 core pop3(eric): Couldn't open INBOX: Internal error occured. Refer to server log for more information. [2005-03-11 14:59:24] Mar 11 14:59:49 core pop3-login: Login: eric [::ffff:128.195.131.49] Mar 11 14:59:49 core pop3(eric): File isn't in mbox format: /home/eric/Mailbox Mar 11 14:59:49 core pop3(eric): File isn't in mbox format: /home/eric/Mailbox Mar 11 14:59:49 core pop3(eric): Couldn't open INBOX: Internal error occured. Refer to server log for more information. [2005-03-11 14:59:49] Mar 11 14:59:53 core imap-login: Login: jeanie [::ffff:128.195.131.2] Mar 11 14:59:58 core last message repeated 5 times
On Fri, 2005-03-11 at 21:37 -0800, Josh Burley wrote:
Hi all, Two users on our system have recently had trouble reading their inbox, and it seems to be a result of their inbox getting corrupted.
In the most recent case, their Mailbox file (in /home/eric/Mailbox
in this case), has the following as the first line:
cnw.igmg--
Is this with v0.99.x? It has some random problems with mboxes. dovecot-stable and 1.0-test releases have rewritten mbox code.
When I was having trouble with some users getting other users' mailboxes I tried upgrading to dovecot-stable-20050302 (dovecot-1.0-test59). After getting it installed and configured, though, half of the users could read their inbox fine, and the other half would only see a single email in the inbox (the oldest one, it seemed... separators not being recognized between emails for some users? weird...).
So, I went back to the original, and emailed you guys about the problem.
I'll try upgrading again this weekend, though, and report back if the "single email mailbox" problem happens again.
Thanks! .josh
Timo Sirainen wrote:
On Fri, 2005-03-11 at 21:37 -0800, Josh Burley wrote:
Hi all, Two users on our system have recently had trouble reading their inbox, and it seems to be a result of their inbox getting corrupted.
In the most recent case, their Mailbox file (in /home/eric/Mailbox in this case), has the following as the first line:
cnw.igmg--
Is this with v0.99.x? It has some random problems with mboxes. dovecot-stable and 1.0-test releases have rewritten mbox code.
On Sat, 2005-03-12 at 11:02 -0800, Josh Burley wrote:
When I was having trouble with some users getting other users' mailboxes I tried upgrading to dovecot-stable-20050302 (dovecot-1.0-test59). After getting it installed and configured, though, half of the users could read their inbox fine, and the other half would only see a single email in the inbox (the oldest one, it seemed... separators not being recognized between emails for some users? weird...).
There may be some temporary problems when upgrading, but they should all sort themselves out after one relogin..
Did Dovecot's log files say anything then? It shouldn't be possible that it only shows the oldest email. If it doesn't detect the separators it then shows the whole mbox as a single mail (caching IMAP clients could show the old first message's cached message body though). If that happens, do 'grep "^From " mbox' and email me the results and I'll fix the problem.
Nope, nothing in the logs when it showed the single mail... nor was I using KMail (as another user just had the same sort of problem, but it was limited to KMail).
I attempted an upgrade again last night, but was unable to get it working. The error on startup was simply:
Mar 14 21:18:16 core dovecot: Dovecot v1.0-stable starting up Mar 14 21:18:17 core dovecot: Auth process died too early - shutting down Mar 14 21:18:17 core dovecot: child 10499 (auth) killed with signal 11 Mar 14 21:18:17 core dovecot: child 10500 (auth) killed with signal 11
I believe it's simply a configuration error on my part, but I was unable to get any further information to help me narrow down where the problem is. I eventually had to revert to the 0.99.x version so that users would stop bugging me about their mail access ;).
We are using OpenLDAP (I noticed a msg today about OpenLDAP support not working?). No core file was created...
Any tips?
/me tries desperately to hang on to Dovecot, and not go the Cyrus/UW route again.
Thanks again! .josh
Timo Sirainen wrote:
On Sat, 2005-03-12 at 11:02 -0800, Josh Burley wrote:
When I was having trouble with some users getting other users' mailboxes I tried upgrading to dovecot-stable-20050302 (dovecot-1.0-test59). After getting it installed and configured, though, half of the users could read their inbox fine, and the other half would only see a single email in the inbox (the oldest one, it seemed... separators not being recognized between emails for some users? weird...).
There may be some temporary problems when upgrading, but they should all sort themselves out after one relogin..
Did Dovecot's log files say anything then? It shouldn't be possible that it only shows the oldest email. If it doesn't detect the separators it then shows the whole mbox as a single mail (caching IMAP clients could show the old first message's cached message body though). If that happens, do 'grep "^From " mbox' and email me the results and I'll fix the problem.
participants (2)
-
Josh Burley
-
Timo Sirainen