> 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.

Reply via email to