is there a way to run doveadm expunge with exception?

Aki Tuomi aki.tuomi at open-xchange.com
Sun Aug 9 09:52:41 EEST 2020


> On 09/08/2020 00:42 teacup <angel at racequeen.ph> wrote:
> 
>  
> is there a way to run this command but with exception to not delete the
> FLAGGED email?
> 
> doveadm expunge -u user at email.com mailbox Inbox SENTBEFORE 90d
> 
> Sent from: http://dovecot.2317879.n4.nabble.com/

doveadm expunge -u user at email.com mailbox Inbox SENTBEFORE 90d NOT FLAGGED

should work.

Aki


More information about the dovecot mailing list