[Dovecot] Doveadm-Expunge v2.0.5

Kui Zhang kuizhang at gmail.com
Thu Oct 28 06:50:01 EEST 2010


Hello

Few questions regarding Doveadm-Expunge.

1.

I have lazy expunge configure with this name space: .EXPUNGED

Storage type: mdbox

doveadm -Dv expunge -u user at domain mailbox ".EXPUNGED/*" savedbefore 7d

I get some interesting outputs.

doveadm(user at domain): Debug: expunge: box=.EXPUNGED/INBOX/mon uid=791
doveadm(user at domain): Debug: expunge: box=.EXPUNGED/INBOX/mon uid=792
doveadm(user at domain): Debug: expunge: box=.EXPUNGED/INBOX/mon uid=793
....
doveadm(user at domain): Info: expunge: box=INBOX/mon, uid=196,
msgid=<E1OwJm4-0000j4-1l at domain>, size=1856
doveadm(user at domain): Info: expunge: box=INBOX/mon, uid=197,
msgid=<E1OwJmP-0000pr-4M at domain>, size=1756
doveadm(user at domain): Info: expunge: box=INBOX/mon, uid=198,
msgid=<E1OwJpP-0002Hp-Pu at domain>, size=1810
doveadm(user at domain): Info: expunge: box=INBOX/mon, uid=199,
msgid=<E1OwJqw-0002y7-AF at domain>, size=1766
doveadm(user at domain): Info: expunge: box=INBOX/mon, uid=200,
msgid=<E1OwJud-0004ba-Fe at domain>, size=1890
...

So what is the diff between "Debug: expunge" and "Info: expunge".
Anything done to "Info: expunge"? I am assuming the "debug: expunge"
are the only entries with actions. And "Info: expunge" is not doing
anything. I ran doveadm purge -u user at domain after. I did not notice
any missing emails. Sorry for the trivial question, I just want to
make sure not mail would disappear, all of sudden.

1.A.
Would not it be faster not to enumerate for large mailboxes (30-40GB -
Maildir)? Is it possible to add a switch, to select single user
expunge behavior?
ref: http://www.mail-archive.com/dovecot@dovecot.org/msg32322.html

2.
Also. expunge does not appear to remove empty mailboxes, is this a bug
or intentional? If intentional, why? Any way to automated removal of
empty mailboxes?


Thank you
KuiZ


More information about the dovecot mailing list