<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Should I use full folder path, or relative to the user's home?</div><div><br></div><div>I have tried both:</div><div><br></div><div>doveadm force-resync -u gandalf /home/gandalf/Maildir/.Sent</div><div>doveadm force-resync -u gandalf Sent<br></div><div><br></div><div>There was no error message, but /home/gandalf/Maildir/.Sent/.imap was not created, and thunderbird still did not show the new messages.</div><div><br></div><div>Also, when I try to open an old message from the Sent folder, thunderbird displays nothing (even not an error message) and the dovecot server logs something like this (fqdn and ip addresses replaced):</div><div><br>Jan 17 07:44:33 imap-login: Info: Login: user=<gandalf>, method=PLAIN, rip=1.1.1.1, lip=1.1.1.1 mpid=91975, TLS, session=<CpahwaZ/vr/B4SFL><br>Jan 17 07:44:33 imap(gandalf)<91975><CpahwaZ/vr/B4SFL>: Error: Mailbox Sent: UID=12685: read(/home/gandalf/Maildir/.Sent/cur/<a href="http://1547303831.M917864P1881.fqdn.com">1547303831.M917864P1881.fqdn.com</a>,S=9617,W=9782:2,) failed: Cached message size larger than expected (9617 > 17, box=Sent, UID=12685) (read reason=mail stream)<br>Jan 17 07:44:33 imap(gandalf)<91975><CpahwaZ/vr/B4SFL>: Error: Corrupted record in index cache file /home/gandalf/Maildir/.Sent/dovecot.index.cache: UID 12685: Broken physical size in mailbox Sent: read(/home/gandalf/Maildir/.Sent/cur/<a href="http://1547303831.M917864P1881.fqdn.com">1547303831.M917864P1881.fqdn.com</a>,S=9617,W=9782:2,) failed: Cached message size larger than expected (9617 > 17, box=Sent, UID=12685)<br>Jan 17 07:44:33 imap(gandalf)<91975><CpahwaZ/vr/B4SFL>: Error: Mailbox Sent: UID=12685: read(/home/gandalf/Maildir/.Sent/cur/<a href="http://1547303831.M917864P1881.fqdn.com">1547303831.M917864P1881.fqdn.com</a>,S=9617,W=9782:2,) failed: Cached message size larger than expected (9617 > 17, box=Sent, UID=12685)<br>Jan 17 07:44:33 imap(gandalf)<91975><CpahwaZ/vr/B4SFL>: Info: FETCH failed: Internal error occurred. Refer to server log for more information. [2019-01-17 07:44:33] in=279 out=507265 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0</div><div><br></div><div>Most interestingly, I can open any other message in many other folders. But the Sent folder is still wrong.</div><div><br></div><div>Any other idea?<br></div><div><br></div><div> Laszlo</div><div><br></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Sami Ketola <<a href="mailto:sami.ketola@dovecot.fi">sami.ketola@dovecot.fi</a>> ezt írta (időpont: 2019. jan. 17., Cs, 13:09):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
doveadm force-resync -u user FOLDER<br>
<br>
Sami<br>
<br>
> On 17 Jan 2019, at 13.32, Les <<a href="mailto:nagylzs@gmail.com" target="_blank">nagylzs@gmail.com</a>> wrote:<br>
> <br>
> <br>
> Hello,<br>
> <br>
> I have several users with Maildir format. After upgrading from 2.2 to 2.3, some directories could not be opened from thunderbird. The server log shows all kinds of errors including these:<br>
> <br>
> Corrupted record in index cache file /home/user01/Maildir/.Elk&APw-ld&APY-tt/dovecot.index.cache: UID 2802: Broken physical size in mailbox <br>
> Cached message size larger than expected (18 > 17, box=Sent, UID=2802)<br>
> <br>
> While trying to fix the problem, I have accidentally deleted some of the index/cache directories. In particular, Maildir/.Sent/.imap and Maildir/.Sent/cur/.imap folders were deleted, but all of the mail message files are there. When I try to open the "Sent" folder from thunderbird, it does not show all of the messages. It only shows messages until 2019.01.12. If I send out an email from thunderbird, then a new message is copied into the Maildir/.Sent/ folder, but it is not visible from thunderbird. I have already tried to unsubscribe + subscribe to the Sent folder, but it did not work - it re-downloads all messages until 2019.01.12, but not after that.<br>
> <br>
> Can I somehow regenerate the index files, force dovecot to recreated .imap foder, and force thunderbird to re-download and show all of the files somehow?<br>
> <br>
> Thank you,<br>
> <br>
> Laszlo<br>
> <br>
<br>
</blockquote></div>