doveadm expunge not expunging anymore

Aki Tuomi aki.tuomi at open-xchange.com
Tue Mar 17 13:45:43 EET 2020


> On 17/03/2020 13:44 mabi <mabi at protonmail.ch> wrote:
> 
>  
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Tuesday, March 17, 2020 11:46 AM, Aki Tuomi <aki.tuomi at 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 at domain.tld)<5312><>: Debug: auth USER input: admin at domain.tld home=/var/vmail/domain.tld/admin uid=150 gid=8 quota_rule=*:bytes=1024000000
> doveadm(admin at domain.tld)<5312><>: Debug: Added userdb setting: plugin/quota_rule=*:bytes=1024000000
> doveadm(admin at domain.tld): Debug: Effective uid=150, gid=8, home=/var/vmail/domain.tld/admin
> doveadm(admin at domain.tld): Debug: Quota root: name=User quota backend=maildir args=
> doveadm(admin at domain.tld): Debug: Quota rule: root=User quota mailbox=* bytes=1024000000 messages=0
> doveadm(admin at domain.tld): Debug: Quota rule: root=User quota mailbox=INBOX.Trash bytes=+104857600 messages=0
> doveadm(admin at domain.tld): Debug: Quota warning: bytes=972800000 (95%) messages=0 reverse=no command=quota-warning 95 admin at domain.tld
> doveadm(admin at domain.tld): Debug: Quota warning: bytes=819200000 (80%) messages=0 reverse=no command=quota-warning 80 admin at domain.tld
> doveadm(admin at domain.tld): Debug: Quota grace: root=User quota bytes=102400000 (10%)
> doveadm(admin at 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 at domain.tld): Debug: maildir++: root=/var/vmail/domain.tld/admin/Maildir, index=, indexpvt=, control=, inbox=/var/vmail/domain.tld/admin/Maildir, alt=
> doveadm(admin at domain.tld): Debug: Namespace : type=private, prefix=, sep=, inbox=no, hidden=yes, list=no, subscriptions=no location=fail::LAYOUT=none
> doveadm(admin at domain.tld): Debug: none: root=, index=, indexpvt=, control=, inbox=, alt=
> doveadm(admin at domain.tld): Debug: quota: quota_over_flag check: quota_over_script unset - skipping
> doveadm(admin at domain.tld): Debug: Mailbox INBOX: Mailbox opened because: expunge

Does 

`doveadm search  -u username\\@domain.com  mailbox INBOX savedbefore 90`

return any mails?

How did you do the migration?

Aki


More information about the dovecot mailing list