[Dovecot] Dovecot headers at start of text returned to KMail

Barry Scott barry.scott at onelan.co.uk
Thu Apr 29 18:14:42 EEST 2010


On Thursday 29 April 2010 15:33:02 Mike Abbott wrote:
> > To recover from this error I think I need to:
> > 
> > 1. service dovecot stop
> > 2. rename all the mail files to have the S=nnnn match the size of the file on disk
> 
> > 3. remove all the dovecot.* files
> > 4. service dovecot start
> > 
> > Is this correct?
> 
> I believe so but I'm not an authority on this part.  Note that removing the dovecot.* files has other side effects, like making your clients re-download all the messages again, and losing any keywords.
> 
> If you instead just remove the X-Spambayes-Trained header (and any other headers that might have been added after delivery) from the affected messages (using, e.g., sed), you might be able to skip step 3.

Thanks for the confirmation. I follow steps 1 to 4 and I'm back working.

I though about rewriting every file but considered removing the dovecot files the lesser of two evils.

Barry


More information about the dovecot mailing list