Skip to main content

Unable to delete email from webmail

Comments

5 comments

  • cPanelLauren
    Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved. Thanks!
    0
  • sevenokve
    Hi @cPanelLauren ! Did you find a solution for this particular issue? I have the exact same error (Server error: UID MOVE: IMAP session state is inconsistent, please relogin.) when I try to delete messages in a particular email account with Roundcube. I've also tried to delete the messages with Horde, but it shows another error: An error occurred while moving messages from "Inbox" to "Trash". This is what the server said: The IMAP server closed the connection. IMAP error reported by the server. It happens in a specific email account within the same cPanel user. The only difference I've managed to find between that email account and the rest (from the same cPanel user) is that in that account, the storage used is way higher than the average Joe. About 15 GB. For the rest, everything seems to be exactly the same. If you have any news, please let me know. I've checked online all the way around and haven't found anything useful so far. Regards.
    0
  • joabk
    Hey @sevenokve I had a similar problem and for me, it was affecting a domain that had mdbox which heaps all emails in one file. I did a conversion to maildir and am no longer getting the error. You can also try to recreate the SQLite DB files in the /etc directory. Back them up by renaming them with mv /etc/[user].rcube.db for all the DBs corresponding to the affected user and the system will create new ones next time you log in.
    0
  • cPanelLauren
    There are a few cases like this I see in the ticket system as well where the account data had become corrupted. Also noted by the errors as follows in the maillog at /var/log/maillog Error: mdbox rebuild: Failed to fix file /home/$USER/mail/domain.tld/mailuser/storage/m.XXX
    Possibly moving to maildir could be a solution, restoring from a backup may also be - the only alternate would be to manually remove the files via SSH
    0
  • sevenokve
    Hi @joabk and @cPanelLauren Converting to maildir did the trick for me. It took a while since the account was quite heavy, but at the end it did work just fine. So, for anyone else who is having the same issue, converting from mdbox to maildir may work. If it doesn't try the other methods provided by joabk or cPanelLauren. Thanks for the help guys. :)
    0

Please sign in to leave a comment.