Dovecot 中的索引缓存文件损坏

Dovecot 中的索引缓存文件损坏

我为一家小公司设置了电子邮件服务器,使用 Ubuntu 16.04、Postfix、(虚拟用户)Dovecot、Amavis-new、Sieve(用于将垃圾邮件移至垃圾邮件文件夹)和 fetchmail(快速获取时间 (4 秒))。两个月以来一切顺利,运行良好。两周前,我像往常一样检查日志中的错误、垃圾邮件过滤器活动、黑客活动等,并注意到此错误:

Nov 18 16:37:12 server dovecot: imap([email protected]): Error: Corrupted index cache file /var/mail/vhosts/server.com/mail/dovecot.index.cache: Broken MIME parts for mail UID 420 in mailbox INBOX: Cached MIME parts don't match message during parsing: Cached header size mismatch (parts=41000000c90b000000000000010c000000000000e7882300000000004cff23000000000003000000410000007a0c000000000000730000000000000077000000000000005b1002000000000066170200000000000700000041000000150d00000000000058000000000000005b000000000000002c2401000000000002280100000000000200000048000000950d0000000000004e00000000000000520000000000000047450000000000002e46000000000000e70000004800000053530000000000004d000000000000005100000000000000cedd000000000000b0e0000000000000e202000040000000c2310100000000007f000000000000008400000000000000401f000000000000a81f00000000000040000000aa510100000000007e00000000000000830000000000000063aa0000000000009aac00000000000040000000b4fc0100000000007f0000000000000084000000000000004907000000000000620700000000000040000000a5040200000000007f0000000000000084000000000000001309000000000000320900000000000040000000600e0200000000007f0000000000000084000000000000003d0600000000000052060000000000004000000045150200000000007f0000000000000084000000000000005907000000000000720700000000000040000000711d020000000000d800000000000000df00000000000000479f110000000000ded911000000000044000000b9bd130000000000dd00000000000000e400000000000000efd50f0000000000960a100000000000a7340000010000000800000096be130000000000eed50f0000000000940a1000000000000000000000000000000000000000000000000000)

(当然邮箱地址已经更改)

今天我再次检查,再次收到此错误。据我所知,这可能是 Dovecot 和 Sieve 的错误。有人遇到过这种情况吗?这会导致邮件损坏吗?我发现电子邮件客户端导致这种情况的情况。据我所知,使用的是 Outlook(我不知道版本)和 iphone。

答案1

dovecot对于索引缓存,停止、重命名损坏的文件(即dovecot.index.cache.old)并重新启动就足够了dovecot

这对缓存文件有效仅有的. 不要删除其他文件,并且在修改任何内容之前务必进行备份。

相关内容