1

Topic: Error: dict quota: Quota update failed, it's now desynced

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: 1.8.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Apache
- Linux/BSD distribution name and version: Centos 6.5
- Related log if you're reporting an issue: dovecot.conf
====

I'm having the following errors, someone has any idea how to solve?

Mar 23 16:58:34 dict: Error: dict client: Unconfigured dictionary name 'quota'
Mar 23 17:01:42 dict: Error: dict client: Unconfigured dictionary name 'quota'
Mar 23 17:12:13 dict: Error: dict client: Unconfigured dictionary name 'quota'
Mar 23 17:20:24 dict: Error: dict client: Unconfigured dictionary name 'quota'
Mar 23 17:38:30 dict: Error: dict client: Unconfigured dictionary name 'quota'
Mar 23 17:38:30 dict: Error: dict client: Unconfigured dictionary name 'quota'
Mar 23 18:17:26 dict: Error: dict client: Unconfigured dictionary name 'quota'
Mar 23 18:17:26 dict: Error: dict client: Unconfigured dictionary name 'quota'

Mar 23 16:58:34 lda(cintex@xxxxxx): Error: dict quota: Quota update failed, it's now desynced
Mar 23 17:01:42 lda(telexpar@xxxxxx): Error: dict quota: Quota update failed, it's now desynced
Mar 23 17:12:13 lda(cahorro@xxxxxx): Error: dict quota: Quota update failed, it's now desynced
Mar 23 17:20:24 lda(nunezperdomo@xxxxxx): Error: dict quota: Quota update failed, it's now desynced
Mar 23 17:38:30 lda(connats@xxxxxx): Error: dict quota: Quota update failed, it's now desynced
Mar 23 17:38:30 lda(postmaster@xxxxxx): Error: dict quota: Quota update failed, it's now desynced
Mar 23 18:17:26 lda(eortigoza@xxxxxx): Error: dict quota: Quota update failed, it's now desynced

Thanks in advance.

----

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

2

Re: Error: dict quota: Quota update failed, it's now desynced

Did you change any Dovecot settings? Show us output of command "dovecot -n" please.

3

Re: Error: dict quota: Quota update failed, it's now desynced

Hi Zhang, thanks for your reply... and no, nothing changes

# 2.1.17: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-504.1.3.el6.x86_64 x86_64 CentOS release 6.6 (Final)
auth_master_user_separator = *
auth_mechanisms = PLAIN LOGIN
dict {
  acl = mysql:/etc/dovecot/dovecot-share-folder.conf
  quotadict = mysql:/etc/dovecot/dovecot-used-quota.conf
}
disable_plaintext_auth = no
first_valid_uid = 2000
last_valid_uid = 2000
listen = *
log_path = /var/log/dovecot.log
mail_gid = 2000
mail_location = maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/
mail_plugins = quota
mail_uid = 2000
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave
namespace {
  inbox = yes
  location =
  mailbox Drafts {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox Junk {
    auto = subscribe
    special_use = \Junk
  }
  mailbox Sent {
    auto = subscribe
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    auto = no
    special_use = \Sent
  }
  mailbox Spam {
    auto = no
    special_use = \Junk
  }
  mailbox Trash {
    auto = subscribe
    special_use = \Trash
  }
  prefix =
  separator = /
  type = private
}
namespace {
  list = children
  location = maildir:/%%Lh/Maildir/:INDEX=/%%Lh/Maildir/Shared/%%u
  prefix = Shared/%%u/
  separator = /
  subscriptions = yes
  type = shared
}
passdb {
  args = /etc/dovecot/dovecot-mysql.conf
  driver = sql
}
passdb {
  args = /etc/dovecot/dovecot-master-users-password
  driver = passwd-file
  master = yes
}
plugin {
  acl = vfile
  acl_shared_dict = proxy::acl
  auth_socket_path = /var/run/dovecot/auth-master
  quota = dict:user::proxy::quotadict
  quota_rule = *:storage=1G
  quota_warning = storage=85%% quota-warning 85 %u
  quota_warning2 = storage=90%% quota-warning 90 %u
  quota_warning3 = storage=95%% quota-warning 95 %u
  sieve = /%Lh/sieve/dovecot.sieve
  sieve_default = /var/vmail/sieve/dovecot.sieve
  sieve_dir = /%Lh/sieve
  sieve_global_dir = /var/vmail/sieve
}
protocols = pop3 imap sieve lmtp
service auth {
  unix_listener /var/spool/postfix/private/dovecot-auth {
    group = postfix
    mode = 0666
    user = postfix
  }
  unix_listener auth-master {
    group = vmail
    mode = 0666
    user = vmail
  }
  unix_listener auth-userdb {
    group = vmail
    mode = 0660
    user = vmail
  }
}
service dict {
  unix_listener dict {
    group = vmail
    mode = 0660
    user = vmail
  }
}
service imap-login {
  process_limit = 500
  service_count = 1
}
service lmtp {
  executable = lmtp -L
  inet_listener lmtp {
    port = 24
  }
  process_min_avail = 5
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0600
    user = postfix
  }
  user = vmail
}
service pop3-login {
  service_count = 1
}
service quota-warning {
  executable = script /usr/local/bin/dovecot-quota-warning.sh
  unix_listener quota-warning {
    group = vmail
    mode = 0660
    user = vmail
  }
}
ssl_ca = </etc/pki/tls/certs/geotrust_intermediario.crt
ssl_cert = </etc/pki/tls/certs/geotrust_publickey_2014.crt
ssl_key = </etc/pki/tls/private/privatekey_copaco_com_py.key
ssl_key_password = m45t3r
userdb {
  args = /etc/dovecot/dovecot-mysql.conf
  driver = sql
}
protocol lda {
  auth_socket_path = /var/run/dovecot/auth-master
  lda_mailbox_autocreate = yes
  log_path = /var/log/dovecot-sieve.log
  mail_plugins = quota sieve
  postmaster_address = root
}
protocol lmtp {
  info_log_path = /var/log/dovecot-lmtp.log
  lmtp_save_to_detail_mailbox = yes
  mail_plugins = quota sieve
  postmaster_address = postmaster
  recipient_delimiter = +
}
protocol imap {
  imap_client_workarounds = tb-extra-mailbox-sep
  mail_plugins = quota imap_quota
}
protocol pop3 {
  mail_plugins = quota
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  pop3_uidl_format = %08Xu%08Xv
}

4

Re: Error: dict quota: Quota update failed, it's now desynced

Any error message in /var/log/dovecot.log after restart Dovecot service?

WARNING: Please do NOT filter log with 'grep', just show us original log without filter. And what's the log before and after the line "Unconfigured dictionary name 'quota'" and "Error: dict quota: Quota update failed, it's now desynced"?