Aw: Re: deleting maildata from virtual users

Aki Tuomi aki.tuomi at open-xchange.com
Mon Jan 4 13:10:27 EET 2021


Shared folders go away if the user does not exist.

Aki

> On 04/01/2021 13:06 Alexander Rivanykov <screenie at gmx.at> wrote:
> 
> 
> Will this also take care of any dependencies?
>  For example if one of the folders are shared with other users?
>  
>  Thanks,
>  Alex
> Gesendet: Montag, 04. Januar 2021 um 09:30 Uhr
>  Von: "Aki Tuomi" <aki.tuomi at open-xchange.com>
>  An: "Alexander Rivanykov" <screenie at gmx.at>, dovecot at dovecot.org
>  Betreff: Re: deleting maildata from virtual users
> 
>  > 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


More information about the dovecot mailing list