[Dovecot] corrupt mbox, mailboxes not found, and message read status

Jared redjar at redjar.org
Wed Jul 30 00:30:57 EEST 2003


I'm running dovecot 0.99.10-0.rc2 deb packages for Debian Woody from 
braincells.com.  My old environment was a server running UW-IMAP for 
IMAP and POP services.  We are still using mbox for all mailboxes.  I 
use IMP for web based access.

Forgive me if these issues have already been discussed or fixed in cvs. 
  Any additional pointers to this info. would be appreciated.

I have noticed a few issues.

----

I've seen a whole slew of entries like the following:

pop3(username): Error indexing mbox file /home/username/mail/inbox: LF 
not found where expected

According to this mailing list post from June 16, 2003:
http://dovecot.procontrol.fi/list/dovecot/2003-June/001668.html
it may be because of adjacent From mail headers in a message.

I've had one user that this was not the case.  They said they were 
deleting lots of messages in IMP and when he went back to his inbox, it 
was empty.  When I looked at the mbox file, a message had been 
truncated.  When I deleted the imap index and removed that truncated 
message, the mailbox became visible again.

Has the adjacent From issue been fixed?

Is there a way to find out more specifically what part of the mbox file 
dovecot is unhappy about?  ie. a line number.

----

Inside IMP several users have set up a filter to send messages marked 
as spam by SpamAssassin into a spam folder.  When they log-in or click 
the filter icon, the filter runs.  However, now when the the filter 
runs, it reports: "Problem with filter rule 1: folder does not exist: 
mail/spam".  However, the spam folder is still there, and when I open 
that folder in IMP, it opens just fine.  I've already changed IMP's 
folder prefix from 'mail/' to ''.  I've also tried deleting the imap 
index.  The message still shows up and the filter fails to run.

----

With the old set-up, when I check mail with a pop3 client, the UW pop 
server modifies the Status and/or X-Keywords headers for the message.  
When the mailbox is viewed with an IMAP client such as IMP, messages 
that have already been downloaded via pop are marked as read.  This 
doesn't seem to happen with dovecot.  I found a Oct 19 2003 thread
( http://dovecot.procontrol.fi/list/dovecot/2002-October/000774.html ) 
on the mailing list where Timo said he was intending to use the 
X-Keywords trick.  Did this ever get implemented?

----

Thanks,
-jared



More information about the dovecot mailing list