Dovecot:损坏的 Mbox 索引缓存文件

9 email dovecot

我在 中收到以下错误消息/var/mail/mail.err

Jun 14 00:03:42 max dovecot: IMAP(bernhard): 
Corrupted index cache file /home/bernhard/Mail/.indexes/.imap/INBOX/dovecot.index.cache: 
Broken virtual size for mail UID 5618
Run Code Online (Sandbox Code Playgroud)

恢复索引的首选方法是什么?

slm*_*slm 11

根据标题为:IMAP Dovecot Error - Corrupted index cache 10.6.4 的线程,听起来您只需要执行以下操作:

抄写员

回复:IMAP Dovecot 错误 - 损坏的索引缓存 10.6.4

2010 年 11 月 30 日上午 11:10(回应 Scribit)

我不确定这是否是最好的程序,并且可能会产生意想不到的后果,但这就是我为解决问题所做的。

我停止了邮件服务。

我从 shell 导航到报告问题的每个目录。

在这些目录中,我重命名了以下文件,并在它们前面加上“旧”。

   dovecot.index
   dovecot.index.cache
   dovecot.index.log
Run Code Online (Sandbox Code Playgroud)

例子: mv dovecot.index old.dovecot.index

然后我重新启动了邮件服务。在客户端访问时为每个 IMAP 文件夹重新创建了这 3 个文件。

  • 非常感谢。删除受影响的文件并重新启动 dovecot 就足够了。它在启动后创建新的索引文件.. (3认同)