I had a problem where a user could not read email, indeed every
time he
tried imapd would crash. I tried a database repair as well as a user
mailbox reconstruct out of Server Admin, but that did not work. A
'reconstruct -r' via the command line didn't help either. In the
end, I
wiped out /var/spool/imap/user/<username>, ran "su - cyrusimap
...reconstruct -f -r user/<username>" and all was well. Of course,
all
his old mail is gone.
Now, I *do* have his old mail saved. And, according to the
documentation
I should copy that email to his mailbox and run 'reconstruct -r'
again. I
did that (copied the old mail (e.g. 22.) to .../imap/user/
<username>, and
made sure it was oned by cyrusimap, run reconstruct), but his mail
didn't
show up.
I tend to create new mailboxes and copy the restored mail into that
when I'm in this situation.
using -r -f should pick it up.
Permissions are ok?
Is it in a folder that lacks the cyrus.cache/index files?
--
Nigel Kersten [Senior Technical Officer]
College of Fine Arts, University of NSW, Australia.
CRICOS Provider Code: 00098G