[Dovecot] lazy_expunge, 2 questions

Timo Sirainen tss at iki.fi
Tue Mar 1 20:02:06 EET 2011


On 1.3.2011, at 14.36, Hajo Locke wrote:

> do some tests with lazy_expunge
> i have 2 short questions.
> is it possible to set folder for expunged messages to read-only so no user is possible to really delete them?

Currently there's no easy way to do this. You can of course hide the lazy-expunge namespace from users by giving it a random name so users can't find it. A good proper solution would be a namespace-wide default ACL, but there's no support for that yet.

> i can use mdbox for expunged-folder. but would'nt it be more functional to use maildir to have possibility to delete separate mails?
> when using mdbox the clean up by cron would effect always multiple messages with different ages?

You could use maildir, but it would make expunging slower. Anyway, I don't really understand the problem. You can delete separate mails from mdbox just as well as from maildir. "doveadm purge" won't do anything to lazy-expunged messages, you first have to separately expunge them from there as well.



More information about the dovecot mailing list