主题: 利用dovecot进行更新quota信息失败
您好!
我利用以下的链接设置更新quota信息:
http://www.iredmail.org/wiki/index.php? … a.In.MySQL
重启服务后出现以下失败日志,请帮助分析一下问题大概出在什么地方:
环境:从dovecot-1.1.xx升级到现在的1.2.16,能正常收邮件,自动假期回复等;
数据库使用的是mysql,我将quota信息更新在vmail.mailbox的bytes和messages中。
重启dovecot和postfix后出现:
Apr 11 22:30:12 deliver(mailaddress): Error: dict quota: Quota update failed, it's now desynced
Apr 11 22:30:12 deliver(mailaddress): Info: sieve: msgid=<4c703f83.f624.12f44f7b800.Coremail.mail@163.com>: stored mail into mailbox 'INBOX'
Apr 11 22:31:57 deliver(mailaddress): Error: read(/var/run/dovecot/dict-server) failed: Remote disconnected
Apr 11 22:31:57 deliver(mailaddress): Error: Internal quota calculation error
Apr 11 22:31:57 deliver(mailaddress): Info: msgid=<20110411125958.13A43519F0@list.cn99.com>: save failed to INBOX: Internal error occurred. Refer to server log for more information. [2011-04-11 22:31:57]
Apr 11 22:31:57 deliver(mailaddress): Error: Internal quota calculation error
Apr 11 22:31:57 deliver(mailaddress): Info: msgid=<20110411125958.13A43519F0@list.cn99.com>: save failed to INBOX: Internal error occurred. Refer to server log for more information. [2011-04-11 22:31:57]
Apr 11 22:31:57 deliver(mailaddress): Error: read(/var/run/dovecot/dict-server) failed: Remote disconnected
Apr 11 22:31:57 deliver(mailaddress): Error: Internal quota calculation error
注释掉新增的内容:
quota = dict:user::proxy::quotadict
quotadict = mysql:/etc/dovecot-used-quota.conf
错误消失!