> On 04/01/2021 10:18 Alexander Rivanykov <screenie at gmx.at> wrote:
>
>
> Hello,
>
> I'm running a redundant mailsystem dovecot where i'm using dsync
to replicate maildata between both nodes.
> How do i properly delete mail data from a virtual user when it get's
removed from the db on both nodes?
> For usermanagement i'm using postfixadmin and can run a postdeletion
script and can login into both nodes and manually delete the mail data but
wonder if there is a better solution.
>
> Thanks,
> Alex
You can also use `doveadm expunge` to delete all mail, but manual rm -rf works
just as well.
Aki