[Dovecot] Corrupt mbox folders after migration from uw-imap

Magnus Stenman stone at hkust.se
Wed Sep 13 13:32:44 EEST 2006


Ian Mortimer wrote:
> On Mon, 2006-09-11 at 22:39 -0700, Frank Cusack wrote:
> 
>> hmm well I've had similar problems if the dovecot index got corrupted
>> somehow.  Try removing the index (the .imap directory in the same folder
>> as the bad mbox file) and see if that helps ... 
> 
> In all these cases (so far) the corrupt folder is the inbox in the
> mail spool.  The index file is in the user's home directory 
> ~/mail/.imap/INBOX (which is mounted over NFS from the file server).

FYI: on dovecot, you can specify an alternative location for the index 
files, e.g. /var/cache/dovecot/indexes/<username>

if that location is on a disk with no quota, you solve the nasty problem 
with indexes in over quota situations

> 
> Removing that doesn't fix this problem.  However I have found the
> problem with this particular INBOX at least.  There are some 
> messages with corrupt or missing From lines near the top of the 
> folder.  Deleting those fixes this inbox.
> 
> What I'm concerned about is: are we going to see more of these?
> 
>> if not, someone who
>> actually knows something about dovecot will have to chime in.
> 
> That's what I was hoping for! 
>  
> 


More information about the dovecot mailing list