1

Topic: urgent help: cant receive mail, imap error

==== Required information ====
- iRedMail version:  0.8.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Linux/BSD distribution name and version: centos6.2
- Related log if you're reporting an issue:
====

Hi Zhang,

We got similar issue as the post, users cannot receive any mail even for local delivery but send out is ok.
http://www.iredmail.org/forum/topic2534 … error.html

Error: dict sql lookup failed: Table 'vmail.used_quota' doesn't exist
Error: Internal quota calculation error

failed to store into mailbox 'INBOX': Internal error occurred. Refer to server log for more information.

location=maildir://var/vmail/vmail1/yelites.com/peter//Maildir/:INDEX=//var/vmail/vmail1/yelites.com/peter//Maildir/

IMAP Error: Could not save message in Sent in /var/www/roundcubemail-0.8.4/program/steps/mail/sendmail.inc on line 704 (POST /mail/?_unlock=loading1355151051523&_lang=undefined?_task=mail&_action=send)

BTW, I found there is no "vmail.used_quota" table, is it generated by dovecot or should be original part of iredmail install? If that, how may I recreate it?

urgent waiting, Thanks Zhang!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: urgent help: cant receive mail, imap error

pang wrote:

BTW, I found there is no "vmail.used_quota" table, is it generated by dovecot or should be original part of iredmail install? If that, how may I recreate it?

It's part of iRedMail, and it will be created automatically during installation. You can find SQL structure here, please create it manually:
https://bitbucket.org/zhb/iredmail/src/ … at=default