Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • WP Guardian
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • WP Guardian
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • WP Guardian
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • WP Guardian
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

Mailbox access error on Plesk for Linux: Panic: file mail-index-sync-keywords.c: assertion failed

 
cachecpanelcpanel to pleskdovecotemail

Symptoms

  • A mailbox was migrated from cPanel to Plesk.

  • Inbox or Sent folders can be empty, but mails exist on the server.

  • The following error may be displayed in the Thunderbird mail client
  • The following errors may appear in the /var/log/maillog file in an attempt to access mailbox via Thunderbird, send an email to the Plesk server, or when accessing a specific directory in the mailbox:

    server dovecot: service=imap, [email protected], ip=[203.0.113.2]. Panic: file mail-index-sync-keywords.c: line 228 (keywords_update_records): assertion failed: (data_offset >= sizeof(struct mail_index_record))
    server dovecot: service=imap, [email protected], ip=[203.0.113.2]. Error: Raw backtrace:
    ...


    hostname dovecot: service=imap, [email protected], ip=[127.0.0.1]. Fatal: master: service(imap): child 24963 killed with signal 6


    hostname dovecot: service=imap, [email protected], ip=[127.0.0.1]. Error: Corrupted record in index cache file /var/qmail/mailnames/example.com/johndoe/Maildir/dovecot.index.cache: UID 70: Broken physical size in mailbox INBOX


    Error: Mailbox INBOX: UID=68: read(/var/qmail/mailnames/example.com/johndoe/Maildir/cur/1323171020.15581.example.com,S=7620:2,RS) failed: Cached message size smaller than expected (7620 < 7660, box=INBOX, UID=68) (read reason=)

  • The following error could be displayed on a side of the Thunderbird mailclient.

    The STAT command did not succeed. Error getting message number and sizes. Mail server ns1.pleskserver22.nl responded: [SYS/TEMP] external error occurred. Refer to server log for more information.

Cause

Corrupted Dovecot index file.

Resolution

  1. Connect to the server via SSH.

  2. Rename the /var/qmail/mailnames/example.com/johndoe/Maildir/dovecot.index file:

    # mv /var/qmail/mailnames/example.com/johndoe/Maildir/dovecot.index /var/qmail/mailnames/example.com/johndoe/Maildir/dovecot.index.back

  3. Move the dovecot.index file in the directory to which the access is not possible or folder is empty e.g. "Sent":

    # mv /var/qmail/mailnames/example.com/johndoe/Maildir/.Sent/dovecot.index /var/qmail/mailnames/example.com/johndoe/Maildir/.Sent/dovecot.index.back

  4. Access the mailbox via webmail to regenerate the dovecot.index files.

Read the full article
Related Posts

WebPros Announces the Promotion of Jesse Asklund to Chief Product Officer

Read More »

Hosting Control Panels of 2024 – The Definitive Guide

Read More »

After WordCamp Asia 2023

Read More »
Knowledge Base

Can’t access mail: Warning: Inotify instance limit for user exceeded

Read More »

Email header analysis reports SPF failed for localhost IP on mail sent from Plesk hosted mailbox: SPF Authentication : SPF Failed for IP – 127.0.0.1

Read More »

Mail delivery does not work: do not list domain in BOTH mydestination and virtual_mailbox_domains

Read More »

Unable to send mail from Plesk server: deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)

Read More »

Hosting Wiki

  • Server Redundancy
  • QMAIL
  • Dovecot
  • Sendmail
  • Linux Containers
  • CacheFly
  • Bare Metal Server
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • cPanel/WHM
  • Plesk
  • Web Server
  • DNS Server
  • SSH
  • Email Autoresponder
  • Mailing Lists
  • Email Alias
  • Email Virus Protection
  • Email Forwarding
  • Webmail
  • IMAP
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family