Corruption of Dovecot index files while migrating account to a new server

albatroz

Well-Known Member
Mar 6, 2003
401
6
168
Virtual Orbis / Peru
cPanel Access Level
Root Administrator
Twitter
Hello,
I have migrated some domains to a new server and noticed the same error reported here
Mailboxes corrupting (dovecot.index file)

Is there any bug report around this issue?
It is the third time I notice the same issue so I discovered the relation.

BTW, this is the version of CPanel I am currently using: WHM 60.0 (build 36)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello,

In ticket 8265585, the "/home/user/mail/domain.tld/email-account/dovecot/" directory was owned by the root user. This prevented the "/scripts/remove_dovecot_index_files" script from cleaning the index files for the account.

Could you let us know how you are migrating the accounts to the new server? Correcting the step that resulted in the root ownership of that directory should prevent this from happening in the future.

Thank you.
 

renatoandrade

Member
Feb 20, 2014
22
3
53
cPanel Access Level
Root Administrator
If any user here has a problem with corruption in the search indexing of Rouncube I was able to find the solution for that.

Go to Folder in terminal
cd /home/user/mail/domain/userMail/
rm -Rfv dovecot*
rm -Rfv maildirfolder

If the sent folder is not indexing in the search, just do the same for the Sent folder

/home/user/mail/domain/userMail/.Sent

rm -Rfv dovecot*
rm -Rfv maildirfolder

After doing this, log in to the RoundCube again and click on the folders where the messages are, so that it automatically redoes the file indexing table, your webmail will be back 100%.
 
Thread starter Similar threads Forum Replies Date
B Email 6
D Email 19
S Email 3
T Email 0
S Email 5