On Mon, 2011-05-16 at 14:08 +0200, Osvaldo Alvarez Pozo wrote: > But if I erase mail from Mozilla Thunderbird then I find no mail with > ref count=0 and doveadm purge does nothing. doveadm purge only purges mails that have been expunged. So I guess your TB has only marked mails \Deleted, but not actually expunged anything.