[Dovecot] LF not found where expected
I'm using Dovecot 0.99.13 on a fedora core 3 server. I keep getting these errors from time to time. There user ends up retrieving no mail (but no error in their client, be it web mail or pop3 client) What usually fixes it is this procedure: Cp mbox file to mbox_ Remove original mbox Send a test message to recreate mbox. Cat mbox_ >> mbox Problem solved!
Can anybody tell me what causes this?
pop3(mjmurray): Jun 27 11:16:38 Error: Error indexing mbox file /var/mail/mjmurray: LF not found where expected pop3(mjmurray): Jun 27 11:16:38 Error: Error indexing mbox file /var/mail/mjmurray: LF not found where expected pop3(mjmurray): Jun 27 11:16:38 Error: Couldn't open INBOX: Internal error occured. Refer to server log for more information. [2005-06-27 11:16:38] pop3-login: Jun 27 11:17:06 Info: Login: mjmurray [64.203.167.125] pop3(mjmurray): Jun 27 11:17:06 Error: Error indexing mbox file /var/mail/mjmurray: LF not found where expected pop3(mjmurray): Jun 27 11:17:06 Error: Error indexing mbox file /var/mail/mjmurray: LF not found where expected pop3(mjmurray): Jun 27 11:17:06 Error: Couldn't open INBOX: Internal error occured. Refer to server log for more information. [2005-06-27 11:17:06] imap-login: Jun 27 11:17:28 Info: Login: mjmurray [127.0.0.1] imap(mjmurray): Jun 27 11:17:28 Error: Error indexing mbox file /var/mail/mjmurray: LF not found where expected imap(mjmurray): Jun 27 11:17:28 Error: Error indexing mbox file /var/mail/mjmurray: LF not found where expected imap-login: Jun 27 11:19:12 Info: Login: mjmurray [127.0.0.1] imap(mjmurray): Jun 27 11:19:12 Error: Error indexing mbox file /var/mail/mjmurray: LF not found where expected imap(mjmurray): Jun 27 11:19:12 Error: Error indexing mbox file /var/mail/mjmurray: LF not found where expected
... Miles Mawyer -=- Webmaster . Centralva.net ... ... mmawyer@rosecomputers.com ... ... 434.385.5053 ...
On 27.6.2005, at 18:45, Miles Mawyer wrote:
pop3(mjmurray): Jun 27 11:16:38 Error: Error indexing mbox file /var/mail/mjmurray: LF not found where expected
These usually happen because the mbox file has two adjacent From-line, ie:
From foo ... From bar ... Message-headers: ...
That shouldn't happen normally though. Sounds like something is wrong with how your mails are written. Are all the software that are writing to the mbox using same lock methods?
Anyway, 1.0-test/stable versions of Dovecot can handle the adjacent From-lines too without failing.
participants (2)
-
Miles Mawyer
-
Timo Sirainen