How to delete all emails
How to delete all emails
Found descriptions how to clean all mailboxes on dovecot but it doesn't work on vesta
doveadm expunge -A mailbox '*' not seen not since 1d
doveadm expunge -A mailbox '*' seen not since 1d
or
root@frdr log]# doveadm expunge -A mailbox Trash savedbefore 90d
doveadm(root): Error: User listing returned failure
doveadm: Error: Failed to iterate through some users
in a dovecot.log
Aug 19 14:24:44 auth-worker(15034): Error: passwd-file: User iteration isn't currently supported with %variable paths
How to purge all mailboxes?
doveadm expunge -A mailbox '*' not seen not since 1d
doveadm expunge -A mailbox '*' seen not since 1d
or
root@frdr log]# doveadm expunge -A mailbox Trash savedbefore 90d
doveadm(root): Error: User listing returned failure
doveadm: Error: Failed to iterate through some users
in a dovecot.log
Aug 19 14:24:44 auth-worker(15034): Error: passwd-file: User iteration isn't currently supported with %variable paths
How to purge all mailboxes?
Re: How to delete all emails
If i would be you i would go for the easiest solution which is just delete the email account and re-create same account again it will not take more then 1 minute. I know this is a silly solution but save you a lot time then banging your on google.