Problem syncing mail with IMAP
I am seeing the following errors in my logs, which I believe are preventing Outlook from syncing. How do I solve these? Can I just delete the index.cache??
Jun 18 11:23:34 imap(technical@mydomain.co.ke)<59754><g5UC1JSLPhkpUFt/>:
Error: Corrupted record in index cache file /var/spool/virtual/
mydomain.co.ke/technical/mdbox/mailboxes/INBOX/dbox-Mails/dovecot.index.cache:
UID 29: Broken virtual size in mailbox INBOX: read(/var/spool/virtual/
mydomain.co.ke/technical/mdbox/storage/m.1): FETCH BODY[] got too little
data: 131524 vs 772408
Jun 18 11:23:45 imap(sales@mydomain.co.ke)<59812><aeLI1JSLoe3FsVm2>: Error:
Corrupted record in index cache file /var/spool/virtual/
mydomain.co.ke/sales/mdbox/mailboxes/INBOX/dbox-Mails/dovecot.index.cache:
UID 25: Broken virtual size in mailbox INBOX: read(/var/spool/virtual/
mydomain.co.ke/sales/mdbox/storage/m.552): FETCH BODY[] got too little
data: 17130 vs 370736
Jun 18 11:24:03 imap(technical@mydomain.co.ke)<59891><uJHS1ZSLchkpUFt/>:
Error: Corrupted record in index cache file /var/spool/virtual/
mydomain.co.ke/technical/mdbox/mailboxes/INBOX/dbox-Mails/dovecot.index.cache:
UID 29: Broken virtual size in mailbox INBOX: read(/var/spool/virtual/
mydomain.co.ke/technical/mdbox/storage/m.1): FETCH BODY[] got too little
data: 131524 vs 772408
Jun 18 11:24:12 imap(sales@mydomain.co.ke)<59933>: Error:
Corrupted record in index cache file /var/spool/virtual/
mydomain.co.ke/sales/mdbox/mailboxes/INBOX/dbox-Mails/dovecot.index.cache:
UID 25: Broken virtual size in mailbox INBOX: read(/var/spool/virtual/
mydomain.co.ke/sales/mdbox/storage/m.552): FETCH BODY[] got too little
data: 17130 vs 370736
Jun 18 11:24:40 imap(sales@mydomain.co.ke)<60053>
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-)
On 19 Jun 2019, at 12:17, Odhiambo Washington via dovecot dovecot@dovecot.org wrote:
I am seeing the following errors in my logs, which I believe are preventing Outlook from syncing. How do I solve these?
Have you rebuilt the index files?
The simplest and surest way is to stop dovecot, move the index files aside, and restart dovecot.
dovecot.index dovecot.index.cache dovecot.index.log
You could start with just the dovecot.index.cache, but usually it is simpler to just force dovecot to rebuild the indexes.
If this is a persistent problem, then you need to figure out why things are wonky (like, are you storing the indexes and/or mail on a network share?).
If things go badly, replace the index files you moved.
I think that maybe
# doveadm index -A “*”
will rebuilt the indexes without stopping dovecot, but I will wait for someone to correct me on that.
-- Updated to be PRCE compatible after 400 years: /(bb|[^b]{2})/
participants (2)
-
@lbutlr
-
Odhiambo Washington