On 06/06/2024 04:11 EEST Jason Hirsh via dovecot dovecot@dovecot.org wrote:
Begin forwarded message:
From: Jason Hirsh kasdivi@mac.com Subject: Can't Empty Inbox that is Over quota Date: June 3, 2024 at 8:15:53 PM EDT To: dovecot@dovecot.org
I have been trying to update my Postix/Dovecot/MySQL?Postfixadmin installation
I am currently on Dovecot. 2.3.2.1
I used the guide set forth in Purplehat.org http://purplehat.org/ which is what got me in trouble as I am in between with setup. (He went off to Maria-db and NGINX I stayed with Apache and MySQL
What has happened is may Dovecot Mailboxes are super super saturated. adI inadvertently allowed email from an alarm
Quota name Type Value Limit % User quota STORAGE 239754 5120 4682 User quota MESSAGE 882 -
I tried to empty with the command sudo doveadm expunge -A mailbox INBOX ALL
I get this error
Error: auth-master: userdb list: User listing returned failure doveadm: Error: Failed to iterate through some users.
Is there anyway I can remove Dovecot from my server and reinstalll it? It is so messed up I don’t care about losing data
um.. you have multiple issues.
First of all, try
sudo doveadm expunge -u targetuser mailbox INBOX ALL
-A means all users, and it only works if your userdb iteration works.
If you truly do not care about user data and want just get rid of it, you can just rm -rf /path/to/user/home
Aki