I have a postfix server using an IMAP with TLS to retrieve my emails.
It feels rather slow and becomes slower as time passes, even though I try to limit the number of emails I have to just a few hundred (362 at the moment.)
Looking in the Maildir/cur
folder on my server, I could a total of 853 emails. However, if I ignore files that end with ",S" or ",RS", then the total is 362. Exactly what I see when Thunderbird starts (it shows me the count in the status bar at the bottom.)
Looking at those emails with ",S" or ",RS" at the end of the filename, they are all spam emails. In Thunderbird, I do not see any of those emails.
Why would Thunderbird / Postfix not delete those emails when I empty my Trash folder? Looking at the dates, some of those files are as old as 2013. So really, Thunderbird or Postfix have a problem on that one?!