Home › Forums › OS X Server and Client Discussion › Mail › cyrus reconstruct not reconstructing IMAP mailbox properly
- This topic has 3 replies, 2 voices, and was last updated 18 years, 5 months ago by
emailman.
-
AuthorPosts
-
October 18, 2006 at 12:56 pm #367311
dave621
ParticipantRunning OS X server 10.3.9 here.
I have one particular shared IMAP mailbox that has many mail files in the spool mailbox , but when the users select any of the mails in mail.app they get:
“The message from
concerning “ ” has not been downloaded from the server. You need to take this account online in order to download it.” Also in Maill.app all of the mails just have date received and no from, subject fields filled in.
I tried to reconstruct the mailbox in the usual way
sudo -u cyrus /usr/bin/cyrus/bin/reconstruct -r -f mailboxname
It does reconstruct, but same problem afterwards. Tried deleting index,cache,header. for that mailbox and reconstruct, same problem.
Sir Admin shows size 0 for that mailbox.
Looked at the files in the mailbox and the only difference between this mailbox’s files and any other that we have is that the mail files all have a number greater than 1 for the hard links:
-rw——- 4 cyrus mail
Could that cause this problem and ideas how to fix it please?
October 18, 2006 at 3:04 pm #367313dave621
ParticipantThis what I am seeing in the IMAP mailbox:
osx-server:/var/spool/imap/Project/Archived/206 Netherbow root# ls -li
total 463984
10313790 -rw——- 4 cyrus mail 7219 6 Oct 13:19 1461.
9947283 -rw——- 2 cyrus mail 29618 6 Oct 13:19 1462.
10370657 -rw——- 4 cyrus mail 4381 6 Oct 13:19 1463.
10459011 -rw——- 4 cyrus mail 5955 6 Oct 13:19 1464.
10399983 -rw——- 4 cyrus mail 2209 6 Oct 13:19 1465.
11652090 -rw——- 4 cyrus mail 10961 6 Oct 13:19 1467.
541153 -rw——- 2 cyrus mail 93951 6 Oct 13:19 147.
541155 -rw——- 2 cyrus mail 93395 6 Oct 13:19 148.
541157 -rw——- 2 cyrus mail 1613526 6 Oct 13:19 149.
540888 -rw——- 4 cyrus mail 5021 6 Oct 13:19 15.
541159 -rw——- 2 cyrus mail 1613526 6 Oct 13:19 150.
about another 800 similar files
22261350 -rw——- 1 cyrus mail 239060 18 Oct 12:43 cyrus.cache
22254712 -rw——- 1 cyrus mail 187 18 Oct 11:22 cyrus.header
22261349 -rw——- 1 cyrus mail 53596 18 Oct 12:43 cyrus.indexDo you see the number of hard links for each mail message?
This is normally just 1 in all my other mailboxes and is the only difference I can see.My questions are:
1. Are these hard links likely to be the cause of the problem with unreadable/un-downloadable mail, even after reconstruction?2. If so, how can I fix this?
Many thanks.
— David
October 19, 2006 at 4:12 pm #367325dave621
ParticipantAnybody?
PS I tried to Sign up here yesterday, but have received no email confirmation yet.
November 2, 2006 at 3:05 pm #367508emailman
ParticipantI’m no pro and have no idea how/why there are extra hard links, but have you tried searching for the hard links and (if you think they’re not necessary) unlinking them?
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed