On Tue, 24 Dec 2019 at 08:04, Aki Tuomi <aki.tuomi@open-xchange.com> wrote:
On 23/12/2019 22:17 Michael < ml@hemathor.de> wrote:
On Monday, December 23, 2019 11:22:27 AM CET, Sami Ketola wrote:
change your configuration to use some more optimized mailbox format and configure postfix to deliver over dovecot-lda or lmtp.
or, since you already use doveadm, tell dovecot to index your mailbox manually before your 'doveadm status' command:
doveadm -v index -q -u local-it-support INBOX
greetings...
dovecot updates indexes automatically when mailbox is opened. If mailbox_list_index=yes deliveries should be done using dovecot-lda or lmtp, or set mailbox_list_index=no.
Consider the following scenario:
- mailbox_list_index=yes
- I send a test mail
- delivery is made by Postfix straight to mbox
- after delivery is made, I run "doveadm -v index -q -u local-it-support INBOX"
If I then run "doveadm mailbox status -u local-it-support all INBOX", what would expect "unseen" to be? 0 or 1?
Personally, I would expect it to be 1, but it isn't. It is 0.
I'm working on switching over to getting Postfix to deliver via lmtp but the above seems to me to be a good manual workflow to emulate what should be happening and it concerns me that Dovecot still says there are no unseen messages ...
Philip