Re: Problem syncing mail with IMAP
On 19 Jun 2019, at 12:17, Odhiambo Washington via dovecot 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})/
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(techni...@mydomain.co.ke)<59754>: 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(sa...@mydomain.co.ke)<59812>: 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(techni...@mydomain.co.ke)<59891>: 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(sa...@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(sa...@mydomain.co.ke)<60053>: 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:49 imap(techni...@mydomain.co.ke)<60079>: 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:25:09 imap(sa...@mydomain.co.ke)<60184>: 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:25:13 imap(techni...@mydomain.co.ke)<60204>: 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:25:42 imap(techni...@mydomain.co.ke)<60328>: 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:26:03 imap(sa...@mydomain.co.ke)<60358><9ckk3JSLLe7FsVm2>: 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:26:11 imap(techni...@mydomain.co.ke)<60455>: 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:26:32 imap(sa...@mydomain.co.ke)<60548>: 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:26:33 imap(techni...@mydomain.co.ke)<60553>: 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:26:45 imap(techni...@mydomain.co.ke)<60602>: Error: Corrupted record in index cache file /var/spool/virtual/