> On 16/03/2021 11:44 Marc <marc at f1-outsourcing.eu> wrote:
>
>
> Is there an equivalent for expunged messages of this:
>
> doveadm search -u testtest mailbox '*' DELETED
DELETED = "Message has flag \Deleted"
So no. If the message is actually expunged, and you have not ran `doveadm
purge`, it should be found under the mdbox_deleted driver.
I am not sure what you are doing wrong.
buildbot at 093c9b8e58bb:/buildslave$ sudo doveadm save -u testuser
Subject: first
first
.
buildbot at 093c9b8e58bb:/buildslave$ sudo doveadm mailbox status -u testuser
"messages vsize" INBOX
INBOX messages=1 vsize=28
buildbot at 093c9b8e58bb:/buildslave$ sudo doveadm expunge -u testuser subject
"first" mailbox INBOX
buildbot at 093c9b8e58bb:/buildslave$ sudo doveadm mailbox status -u testuser
"messages vsize" INBOX
INBOX messages=0 vsize=0
buildbot at 093c9b8e58bb:/buildslave$ sudo doveadm -o
mail_location=mdbox_deleted:/home/vmail/testuser/Mail mailbox status -u testuser
"messages vsize" INBOX
INBOX messages=1 vsize=28
buildbot at 093c9b8e58bb:/buildslave$ sudo doveadm purge -u testuser
buildbot at 093c9b8e58bb:/buildslave$ sudo doveadm -o
mail_location=mdbox_deleted:/home/vmail/testuser/Mail mailbox status -u testuser
"messages vsize" INBOX
INBOX messages=0 vsize=0
buildbot at 093c9b8e58bb:/buildslave$
Aki