K9 Mail Android Cannot See or View E-mails Disappear after reading - with Dovecot server. Solution

This actually only happened after an e-mail server ran out of space due to run away log files.  Normal Desktop clients were not affected.   It appeared to be a bug in K9 mail but even reinstalling/wiping all settings did not fix it (read e-mails would still not reappear).

This is moreso a bug in Dovecot where it probably messes up the index files.

How do you fix this in Dovecot/your e-mail server?

You need to delete the dovecot index and related files so they can be rebuilt.  Note if you have a lot of e-mails and a Desktop client this will force it to redownload all e-mails (possibly thousands or more for some users).  But it is the only way I could fix the issue in my K9 Mail Android client.

cd /var/spool/mail/yourdomain/youraccount/Maildir/.yourfolder

#Backup dovecot files

mkdir 00-dovecotbk

#delete dovecot files

rm -rf dovecot.*

 


Tags:

android, mails, dovecot, server, solutionthis, desktop, appeared, reinstalling, wiping, settings, reappear, moreso, messes, index, delete, rebuilt, redownload, users, var, spool, yourdomain, youraccount, maildir, yourfolder, mkdir, dovecotbk, rm, rf,

Latest Articles

  • Recommended SFP+ to RJ45 Adapter Module for Switch Juniper Cisco Ubiquiti TP-Link etc...
  • Bad Power Supply Issue Story Diagnosing Troubleshooting
  • Getting started with AI (Artificial Intelligence) in Linux / Ubuntu using by deploying LLM (Language Learing Models) using Ollama LLMA
  • microk8s kubernetes how to install OpenEBS
  • Flash LSI MegaRAID 2208 to IT mode in Linux Mint/Debian/Ubuntu
  • LSI MegaRAID in Linux Ubuntu / Centos Tutorial Setup Guide megacli
  • Convert-im6.q16: attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/413. convert-im6.q16: no images defined `pts-time.jpg' @ error/convert.c/ConvertImageCommand/3258. solution ImageMagick P
  • Apache PHP sending expires header solution cannot use cache with CDN
  • How to install virt-manager in Mint 22/Ubuntu 22
  • Infiniband Guide
  • python mysql install error: /bin/sh: 1: mysql_config: not found /bin/sh: 1: mariadb_config: not found /bin/sh: 1: mysql_config: not found mysql_config --version
  • FreePBX 17 How To Add a Trunk
  • Docker Container Onboot Policy - How to make sure a container is always running
  • FreePBX 17 How To Add Phones / Extensions and Register
  • Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes. solution
  • Cisco How To Use a Third Party SIP Phone (eg. Avaya, 3CX)
  • Cisco Unified Communication Manager (CUCM) - How To Add Phones
  • pptp / pptpd not working in DD-WRT iptables / router
  • systemd-journald high memory usage solution
  • How to Install FreePBX 17 in Linux Debian Ubuntu Mint Guide