I haven't seen the problem for a while, maybe two years. I use POP3 only, not IMAP. I run Kubuntu; currently I'm on 19.04.
Sometimes kmail crashes, and I wonder if the way I clean up is related to my not seeing duplicate filtered messages. When kmail crashes, I stop akonadi ("akonadictl stop") and look in the maildir structure like this:
cd .local/share/.local-mail.directory
ls */new/*S
The S indicates messages which have been Seen, and according to the Maildir specification the files should not be in a"new" subdirectory; they should have been moved to a "cur" subdirectory. I therefore move them while akonadi is stopped. E.g.,
mv -i wastebin/new/*S wastebin/cur
I then run "akonadictl fsck" and restart akonadi ("akonadictl start").
As I say, it's pure speculation that this is why I don't see duplicate messages now.
I haven't seen the problem for a while, maybe two years. I use POP3 only, not IMAP. I run Kubuntu; currently I'm on 19.04.
Sometimes kmail crashes, and I wonder if the way I clean up is related to my not seeing duplicate filtered messages. When kmail crashes, I stop akonadi ("akonadictl stop") and look in the maildir structure like this:
cd .local/ share/. local-mail. directory
ls */new/*S
The S indicates messages which have been Seen, and according to the Maildir specification the files should not be in a"new" subdirectory; they should have been moved to a "cur" subdirectory. I therefore move them while akonadi is stopped. E.g.,
mv -i wastebin/new/*S wastebin/cur
I then run "akonadictl fsck" and restart akonadi ("akonadictl start").
As I say, it's pure speculation that this is why I don't see duplicate messages now.