‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Tuesday, March 17, 2020 11:46 AM, Aki Tuomi aki.tuomi@open-xchange.com wrote:
Try
doveadm -Dv expunge -u username\\@domain.com mailbox INBOX savedbefore 90
It might give insight what goes wrong.
Here would be the output but I still can't see where the problem is:
Debug: Loading modules from directory: /usr/lib/dovecot/modules Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so Debug: Loading modules from directory: /usr/lib/dovecot/modules/doveadm Debug: Skipping module doveadm_acl_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_acl_plugin.so: undefined symbol: acl_user_module (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_expire_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_expire_plugin.so: undefined symbol: expire_set_deinit (this is usually intentional, so just ignore this message) Debug: Module loaded: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_quota_plugin.so Debug: Module loaded: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_sieve_plugin.so Debug: Skipping module doveadm_fts_lucene_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_lucene_plugin.so: undefined symbol: lucene_index_iter_deinit (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_plugin.so: undefined symbol: fts_user_get_language_list (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/libdoveadm_mail_crypt_plugin.so: undefined symbol: mail_crypt_box_get_pvt_digests (this is usually intentional, so just ignore this message) doveadm(admin@domain.tld)<5312><>: Debug: auth USER input: admin@domain.tld home=/var/vmail/domain.tld/admin uid=150 gid=8 quota_rule=*:bytes=1024000000 doveadm(admin@domain.tld)<5312><>: Debug: Added userdb setting: plugin/quota_rule=*:bytes=1024000000 doveadm(admin@domain.tld): Debug: Effective uid=150, gid=8, home=/var/vmail/domain.tld/admin doveadm(admin@domain.tld): Debug: Quota root: name=User quota backend=maildir args= doveadm(admin@domain.tld): Debug: Quota rule: root=User quota mailbox=* bytes=1024000000 messages=0 doveadm(admin@domain.tld): Debug: Quota rule: root=User quota mailbox=INBOX.Trash bytes=+104857600 messages=0 doveadm(admin@domain.tld): Debug: Quota warning: bytes=972800000 (95%) messages=0 reverse=no command=quota-warning 95 admin@domain.tld doveadm(admin@domain.tld): Debug: Quota warning: bytes=819200000 (80%) messages=0 reverse=no command=quota-warning 80 admin@domain.tld doveadm(admin@domain.tld): Debug: Quota grace: root=User quota bytes=102400000 (10%) doveadm(admin@domain.tld): Debug: Namespace inbox: type=private, prefix=INBOX., sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/var/vmail/domain.tld/admin/Maildir doveadm(admin@domain.tld): Debug: maildir++: root=/var/vmail/domain.tld/admin/Maildir, index=, indexpvt=, control=, inbox=/var/vmail/domain.tld/admin/Maildir, alt= doveadm(admin@domain.tld): Debug: Namespace : type=private, prefix=, sep=, inbox=no, hidden=yes, list=no, subscriptions=no location=fail::LAYOUT=none doveadm(admin@domain.tld): Debug: none: root=, index=, indexpvt=, control=, inbox=, alt= doveadm(admin@domain.tld): Debug: quota: quota_over_flag check: quota_over_script unset - skipping doveadm(admin@domain.tld): Debug: Mailbox INBOX: Mailbox opened because: expunge