Inbox unread count
The unread message count on the sidebar seems to be easily confused. The mailbox I set up for testing is consistently showing (1) when the mailbox is empty.
Is there any way to manually set the count to zero? I had a look at the Postgres modoboa tables but could not find anything obvious.
@msssltd the counter is known to be buggy but in your cases, I guess you do not have expunged you mailbox? (try to compress it)
Thanks for the suggestion @tonioo.
I got to the bottom of this in the end. One of my tests was to telnet to the server on port 25 and send a mail by typing SMTP commands in the console. In this case the headers are incomplete and the mail is caught by amavis. Releasing the message to the inbox, using the webmail front end, causes the inbox unread counter to increment but the message is hidden within the webmail client. I was able to read the message and correct the counter, using a traditional client/server IMAP client (Apple mail).
i got sometimes a '-1' thats also funny
Faulty behaviour here, too. When I have a bunch of new test mails in my inbox and I delete them, the counter grows negatively, see screenshot. Only when I change folders and return to inbox, the counter is correctly computed.
