Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed: Cached message size larger than expected #3258

Open
hazho opened this issue Jun 2, 2024 · 3 comments
Open

failed: Cached message size larger than expected #3258

hazho opened this issue Jun 2, 2024 · 3 comments

Comments

@hazho
Copy link

hazho commented Jun 2, 2024

Impacted versions

  • OS Type: Debian/Ubuntu,
  • OS Version: ubuntu 22+
  • Database Type: PostgreSQL
  • Database version: X.y
  • Modoboa: 2.2.0
  • installer used: Yes
  • Webserver: Nginx

Steps to reproduce

deleting large number of mailboxes, caused the following error to be raised, but only when the user scroll down the inbox (the query parameters: ?action=listmailbox&mbox=INBOX&scroll=true&page=2):

Jun 2 20:01:15 mail dovecot: imap([email protected])<791373><gnlzAOwZKOR/AAAB>: Disconnected: FETCH failed: Mailbox INBOX: UID=13: read(/srv/vmail/maildomain.com/user4/Maildir/cur/1708450224.M924417P472542.mail.maildomain.com,S=1749,W=1787:2,) failed: Cached message size larger than expected (1749 > 1744, box=INBOX, UID=13) (read reason=) in=816 out=28076 deleted=0 expunged=0 trashed=0 hdr_count=40 hdr_bytes=7926 body_count=0 body_bytes=0

Expected behavior

simply load the mailbox inboxes

Video/Screenshot link (optional)

getting the following
image

@tonioo
Copy link
Member

tonioo commented Jun 5, 2024

@hazho Have you enabled anything special in dovecot configuration? Or have you migrated from another system?

@hazho
Copy link
Author

hazho commented Jun 6, 2024

Not that I am aware of

@hazho Have you enabled anything special in dovecot configuration? Or have you migrated from another system?

@tonioo
Copy link
Member

tonioo commented Jun 6, 2024

Ok. It could be useful to understand how it happened but in the meantime, you can try to remove the corresponding cache file. (like explained here: https://www.plesk.com/kb/support/empty-inbox-is-shown-in-webmail-on-a-plesk-server-cached-message-size-larger-than-expected/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants