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

  • 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
  • How To Install Cisco's CUCM (Cisco Unified Communication Manager) 12 Guide
  • Linux Ubuntu Redhat How To Extract Images from PDF
  • Linux and Windows Dual Boot Issue NIC Won't work After Booting Windows
  • Cisco CME How To Enable ACD hunt groups
  • How to install gns3 on Linux Ubuntu Mint
  • How to convert audio for Asterisk .wav format
  • Using Cisco CME Router with Asterisk as a dial-peer