Sent emails (folder) corrupted after upgrade
Posted: Mon 13. Nov 2023, 18:14
STOP - Please read the next lines carefully!
1) Please fill out the post template below completely!
2) The members of this forum provide their valuable time to help! In return, please provide as much information as possible and be specific in your error description. Posts that show little initiative will probably not get good responses!
You may remove this top portion of the post template.
However, do not remove the following post template under any circumstances.
---------------------------------------------------------------------------
I'm sure the cause of the problem is within KeyHelp
(Problems not related to KeyHelp belong in the Offtopic forum)
Server operating system + version
(e.g. Ubuntu 20.04)
Debian 11
Server virtualization technology used
(e.g. none, OpenVZ, KVM, XEN, etc.)
KVM
KeyHelp version + build number
(e.g. 22.0 - Build 2366)
23.2.1.
Problem description / error messages
After being couple versions behind ( I think 23.0) I did upgrade of Keyhelp last night each after each version until latest. Now, all email's in Sent folder seem to be corrupted and also I have messages like these in mail.log:
Error: Mailbox Sent: Deleting corrupted cache record uid=167: UID 167: Broken physical size in mailbox Sent: read(/var/mail/vhosts/domain.com/user/.Sent/cur/1698341191.M538489P3782925.mx2,S=11484,W=11697:2,S) failed: Cached message size larger than expected (11484 > 3713, box=Sent, UID=167)
I tried to delete user(s) dovecot* cache files and restarting Dovecot but that did not help. Also, Roundcube can not display Sent messages folder and all new messages that are being sent are not visible there. New messages being sent are stored on server in Sent folder, they are not corrupted (but still can not be seen by Roundcube)
Did something major changed that could make this happen ?
This is what I mean by corrupted and how one email from Sent looks when I open it in text editor: https://i.imgur.com/SlSFoud.png
Expected result
Actual result
Steps to reproduce
Additional information
(e.g. recent changes to the server, excerpts from log files (/var/log/*, /var/log/keyhelp/php-error.log, etc.))
1) Please fill out the post template below completely!
2) The members of this forum provide their valuable time to help! In return, please provide as much information as possible and be specific in your error description. Posts that show little initiative will probably not get good responses!
You may remove this top portion of the post template.
However, do not remove the following post template under any circumstances.
---------------------------------------------------------------------------
I'm sure the cause of the problem is within KeyHelp
(Problems not related to KeyHelp belong in the Offtopic forum)
Server operating system + version
(e.g. Ubuntu 20.04)
Debian 11
Server virtualization technology used
(e.g. none, OpenVZ, KVM, XEN, etc.)
KVM
KeyHelp version + build number
(e.g. 22.0 - Build 2366)
23.2.1.
Problem description / error messages
After being couple versions behind ( I think 23.0) I did upgrade of Keyhelp last night each after each version until latest. Now, all email's in Sent folder seem to be corrupted and also I have messages like these in mail.log:
Error: Mailbox Sent: Deleting corrupted cache record uid=167: UID 167: Broken physical size in mailbox Sent: read(/var/mail/vhosts/domain.com/user/.Sent/cur/1698341191.M538489P3782925.mx2,S=11484,W=11697:2,S) failed: Cached message size larger than expected (11484 > 3713, box=Sent, UID=167)
I tried to delete user(s) dovecot* cache files and restarting Dovecot but that did not help. Also, Roundcube can not display Sent messages folder and all new messages that are being sent are not visible there. New messages being sent are stored on server in Sent folder, they are not corrupted (but still can not be seen by Roundcube)
Did something major changed that could make this happen ?
This is what I mean by corrupted and how one email from Sent looks when I open it in text editor: https://i.imgur.com/SlSFoud.png
Expected result
Actual result
Steps to reproduce
Additional information
(e.g. recent changes to the server, excerpts from log files (/var/log/*, /var/log/keyhelp/php-error.log, etc.))