I try chmod and chown but permissions was ok.
ZhangHuangbin wrote:jorge wrote:doveadm(postmaster@imagik.com.br): Error: dict-client: Commit failed: Deinit
Segmentation fault
Does it work if you try commands below first?
chown -R vmail:vmail /var/vmail/vmail1/imagik.com.br/p/o/s/postmaster-2014.01.29.18.21.53/
chmod -R 0700 /var/vmail/vmail1/imagik.com.br/p/o/s/postmaster-2014.01.29.18.21.53/
I use ldap backend and i removed IREDADMIN\used_quota.
Also, another way to recalculate quota is: Delete record in SQL table "iredadmin.used_quota" (for SQL backends, it's "vmail.used_quota"). Dovecot will calculate the quota automatically.
When i executed the command again i received the same error:
doveadm -D quota recalc -A
Debug: Loading modules from directory: /usr/local/lib/dovecot
Debug: Module loaded: /usr/local/lib/dovecot/lib01_acl_plugin.so
Debug: Module loaded: /usr/local/lib/dovecot/lib10_quota_plugin.so
Debug: Module loaded: /usr/local/lib/dovecot/lib20_mailbox_alias_plugin.so
Debug: Loading modules from directory: /usr/local/lib/dovecot/doveadm
Debug: Module loaded: /usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so
Debug: Skipping module doveadm_expire_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/lib10_doveadm_expire_plugin.so: Undefined symbol "expire_set_lookup" (this is usually intentional, so just ignore this message)
Debug: Module loaded: /usr/local/lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so
Debug: Module loaded: /usr/local/lib/dovecot/doveadm/lib10_doveadm_sieve_plugin.so
Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so: Undefined symbol "fts_filter_filter" (this is usually intentional, so just ignore this message)
doveadm(postmaster@imagik.com.br): Debug: Added userdb setting: mail=maildir:~/Maildir/
doveadm(postmaster@imagik.com.br): Debug: Added userdb setting: plugin/master_user=postmaster@imagik.com.br
doveadm(postmaster@imagik.com.br): Debug: Added userdb setting: plugin/quota_rule=*:bytes=524288000
doveadm(postmaster@imagik.com.br): Debug: Effective uid=2000, gid=2000, home=/var/vmail/vmail1/imagik.com.br/p/o/s/postmaster-2014.01.29.18.21.53/
doveadm(postmaster@imagik.com.br): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
doveadm(postmaster@imagik.com.br): Debug: Quota rule: root=user mailbox=* bytes=524288000 messages=0
doveadm(postmaster@imagik.com.br): Debug: Quota warning: bytes=524288000 (100%) messages=0 reverse=no command=quota-warning 100 postmaster@imagik.com.br
doveadm(postmaster@imagik.com.br): Debug: Quota warning: bytes=498073600 (95%) messages=0 reverse=no command=quota-warning 95 postmaster@imagik.com.br
doveadm(postmaster@imagik.com.br): Debug: Quota warning: bytes=471859200 (90%) messages=0 reverse=no command=quota-warning 90 postmaster@imagik.com.br
doveadm(postmaster@imagik.com.br): Debug: Quota warning: bytes=445644800 (85%) messages=0 reverse=no command=quota-warning 85 postmaster@imagik.com.br
doveadm(postmaster@imagik.com.br): Debug: Quota grace: root=user bytes=52428800 (10%)
doveadm(postmaster@imagik.com.br): Debug: dict quota: user=postmaster@imagik.com.br, uri=proxy::quotadict, noenforcing=0
doveadm(postmaster@imagik.com.br): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir/
doveadm(postmaster@imagik.com.br): Debug: maildir++: root=/var/vmail/vmail1/imagik.com.br/p/o/s/postmaster-2014.01.29.18.21.53//Maildir, index=, indexpvt=, control=, inbox=/var/vmail/vmail1/imagik.com.br/p/o/s/postmaster-2014.01.29.18.21.53//Maildir, alt=
doveadm(postmaster@imagik.com.br): Debug: acl: initializing backend with data: vfile
doveadm(postmaster@imagik.com.br): Debug: acl: acl username = postmaster@imagik.com.br
doveadm(postmaster@imagik.com.br): Debug: acl: owner = 1
doveadm(postmaster@imagik.com.br): Debug: acl vfile: Global ACLs disabled
doveadm(postmaster@imagik.com.br): Debug: Namespace : type=shared, prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:%Lh/Maildir/:INDEX=%Lh/Maildir/Shared/%u
doveadm(postmaster@imagik.com.br): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
doveadm(postmaster@imagik.com.br): Debug: acl: initializing backend with data: vfile
doveadm(postmaster@imagik.com.br): Debug: acl: acl username = postmaster@imagik.com.br
doveadm(postmaster@imagik.com.br): Debug: acl: owner = 0
doveadm(postmaster@imagik.com.br): Debug: acl vfile: Global ACLs disabled
doveadm(postmaster@imagik.com.br): Debug: acl vfile: file /var/vmail/vmail1/imagik.com.br/p/o/s/postmaster-2014.01.29.18.21.53//Maildir/dovecot-acl not found
doveadm(postmaster@imagik.com.br): Debug: acl vfile: file /var/vmail/vmail1/imagik.com.br/p/o/s/postmaster-2014.01.29.18.21.53//Maildir/.Drafts/dovecot-acl not found
doveadm(postmaster@imagik.com.br): Debug: acl vfile: file /var/vmail/vmail1/imagik.com.br/p/o/s/postmaster-2014.01.29.18.21.53//Maildir/.Junk/dovecot-acl not found
doveadm(postmaster@imagik.com.br): Debug: acl vfile: file /var/vmail/vmail1/imagik.com.br/p/o/s/postmaster-2014.01.29.18.21.53//Maildir/.Sent/dovecot-acl not found
doveadm(postmaster@imagik.com.br): Debug: acl vfile: file /var/vmail/vmail1/imagik.com.br/p/o/s/postmaster-2014.01.29.18.21.53//Maildir/.Trash/dovecot-acl not found
doveadm(postmaster@imagik.com.br): Debug: quota: quota_over_flag check: STORAGE ret=1 value=2152 limit=512000
Segmentation fault