I moved to a new server, hestiacp is running already on the new server.
Now I copied over (scp) one backup (from say user1) from old to the new server and restored that backup.
The domain from user1 is still hosted on old provider so I’ve changed on their dashboard all DNS entries with the the ip from old server to my ip from the new server.
Everything looks ok but when I login to roundcube now I can see all the old emails but I can’t see the content of all those emails.
Here is the dovecot log - what I can see there is still the domain from my old hestia domain/server on many mail files, e.g.
still Error: Mailbox INBOX: UID=2115: read(/home/baeckerei/mail/domain_from_user.de/info/cur/1701162695.M673499P3941921.*****cp.my_old_hestia_domain.de******
# tail -f /var/log/dovecot.log
Dec 01 13:52:11 imap(info@domain_from_user.de)<645454><31uePHILMOx/AAAB>: Error: Mailbox INBOX: UID=2115: read(/home/baeckerei/mail/domain_from_user.de/info/cur/1701162695.M673499P3941921.cp.my_old_hestia_domain.de,S=88498,W=90293:2,S) failed: Cached message size larger than expected (88498 > 11272, box=INBOX, UID=2115) (read reason=mail stream)
Dec 01 13:52:11 imap(info@domain_from_user.de)<645453><1UCePHILJOx/AAAB>: Info: Disconnected: Logged out in=437 out=1346 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 01 13:52:11 imap(info@domain_from_user.de)<645454><31uePHILMOx/AAAB>: Error: Mailbox INBOX: Deleting corrupted cache record uid=2115: UID 2115: Broken physical size in mailbox INBOX: read(/home/baeckerei/mail/domain_from_user.de/info/cur/1701162695.M673499P3941921.cp.my_old_hestia_domain.de,S=88498,W=90293:2,S) failed: Cached message size larger than expected (88498 > 11272, box=INBOX, UID=2115)
Dec 01 13:52:11 imap(info@domain_from_user.de)<645454><31uePHILMOx/AAAB>: Error: Mailbox INBOX: UID=2115: read(/home/baeckerei/mail/domain_from_user.de/info/cur/1701162695.M673499P3941921.cp.my_old_hestia_domain.de,S=88498,W=90293:2,S) failed: Cached message size larger than expected (88498 > 11272, box=INBOX, UID=2115)
Dec 01 13:52:11 imap(info@domain_from_user.de)<645454><31uePHILMOx/AAAB>: Info: Disconnected: FETCH failed: Mailbox INBOX: UID=2115: read(/home/baeckerei/mail/domain_from_user.de/info/cur/1701162695.M673499P3941921.cp.my_old_hestia_domain.de,S=88498,W=90293:2,S) failed: Cached message size larger than expected (88498 > 11272, box=INBOX, UID=2115) in=746 out=82145 deleted=0 expunged=0 trashed=0 hdr_count=129 hdr_bytes=44341 body_count=0 body_bytes=0
Dec 01 13:52:17 imap-login: Info: Login: user=<info@domain_from_user.de>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=645458, secured, session=<uQQAPXILPux/AAAB>
Dec 01 13:52:17 imap(info@domain_from_user.de)<645458><uQQAPXILPux/AAAB>: Error: Mailbox INBOX: UID=2106: read(/home/baeckerei/mail/domain_from_user.de/info/cur/1701010887.M883423P3564250.cp.my_old_hestia_domain.de,S=134545,W=137021:2,S) failed: Cached message size larger than expected (134545 > 17684, box=INBOX, UID=2106) (read reason=mail stream)
Dec 01 13:52:17 imap(info@domain_from_user.de)<645458><uQQAPXILPux/AAAB>: Error: Mailbox INBOX: Deleting corrupted cache record uid=2106: UID 2106: Broken physical size in mailbox INBOX: read(/home/baeckerei/mail/domain_from_user.de/info/cur/1701010887.M883423P3564250.cp.my_old_hestia_domain.de,S=134545,W=137021:2,S) failed: Cached message size larger than expected (134545 > 17684, box=INBOX, UID=2106)
Dec 01 13:52:17 imap(info@domain_from_user.de)<645458><uQQAPXILPux/AAAB>: Error: Mailbox INBOX: UID=2106: read(/home/baeckerei/mail/domain_from_user.de/info/cur/1701010887.M883423P3564250.cp.my_old_hestia_domain.de,S=134545,W=137021:2,S) failed: Cached message size larger than expected (134545 > 17684, box=INBOX, UID=2106)
Dec 01 13:52:17 imap(info@domain_from_user.de)<645458><uQQAPXILPux/AAAB>: Info: Disconnected: FETCH failed: Mailbox INBOX: UID=2106: read(/home/baeckerei/mail/domain_from_user.de/info/cur/1701010887.M883423P3564250.cp.my_old_hestia_domain.de,S=134545,W=137021:2,S) failed: Cached message size larger than expected (134545 > 17684, box=INBOX, UID=2106) in=634 out=2594 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=601 body_count=0 body_bytes=0
Dec 01 13:53:11 imap-login: Info: Login: user=<info@domain_from_user.de>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=645465, secured, session=<iHsxQHILvN1/AAAB>
Dec 01 13:53:11 imap(info@domain_from_user.de)<645465><iHsxQHILvN1/AAAB>: Info: Disconnected: Logged out in=211 out=1178 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
^C
I did a diff doveconf -n
diff from old server (left) to the new hestia server (right).
Looks like I’ve added the zlib plugin there. So is this the reason I can’t read the old mails?