29 Apr
2010
29 Apr
'10
6:14 p.m.
On Thursday 29 April 2010 15:33:02 Mike Abbott wrote:
To recover from this error I think I need to:
- service dovecot stop
- rename all the mail files to have the S=nnnn match the size of the file on disk
- remove all the dovecot.* files
- 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