Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

How to delete all emails

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
usr999
Posts: 78
Joined: Sat Jul 25, 2015 3:37 pm

How to delete all emails
  • Quote

Post by usr999 » Sun Aug 19, 2018 12:29 pm

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?
Top

xorro
Posts: 87
Joined: Sun Nov 13, 2016 3:11 pm
Contact:
Contact xorro
Website Skype

Os: CentOS 6x
Web: apache + nginx
Re: How to delete all emails
  • Quote

Post by xorro » Thu Aug 30, 2018 4:25 pm

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.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password