Introduction
Sometimes an email inbox may get corrupted, which causes some emails to not be viewable in Webmail. Rebuilding uidlist or Repairing the mailbox will repair this problem. This article describes how to repair a broken mailbox in the event all emails are not displayed.
Procedure
Utilize the "doveadm" utilize to force resync the inbox.
doveadm force-resync -u user@emaildomain.com INBOX
Note: Be sure to replace "user@emaildomain.com" with the broken mailbox user.
Additionally, you can rebuild all email accounts for the cPanel account with the following command.
uapi --output=json --user=cpaneluser Email list_pops | jq -r '.result.data[].email' | while read email; do doveadm force-resync -u "$email" INBOX ; done
Note: Be sure to replace "cpaneluser" with the desired cPanel account username.
Comments
0 comments
Article is closed for comments.