On Tue, 24 Dec 2019 at 08:04, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:> > On 23/12/2019 22:17 Michael < ml at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20191224/163e4629/attachment-0001.html>
On Tue, 24 Dec 2019 at 09:28, Philip Colmer <philip.colmer at linaro.org> wrote:> > 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 > >I've completed the work to update Postfix and Dovecot to use LMTP and the test message is now being delivered with UNSEEN=1, so thank you for the suggestions and comments provided. Regards Philip -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20191224/4a7d4cec/attachment.html>
<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> <br> </div> <blockquote type="cite"> <div> On 24/12/2019 12:26 Philip Colmer <philip.colmer@linaro.org> wrote: </div> <div> <br> </div> <div> <br> </div> <div dir="ltr"> <div dir="ltr"> <br> </div> <br> <div class="gmail_quote"> <div class="gmail_attr" dir="ltr"> On Tue, 24 Dec 2019 at 09:28, Philip Colmer < <a href="mailto:philip.colmer@linaro.org">philip.colmer@linaro.org</a>> wrote: <br> </div> <blockquote> <div dir="ltr"> <div dir="ltr"> <div dir="ltr"> <div dir="ltr"> <div dir="ltr"> <br> </div> <div class="gmail_quote"> <div> 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 ... </div> <div> <br> </div> <div> Philip </div> <div> <br> </div> </div> </div> </div> </div> </div> </blockquote> <div> <br> </div> <div> I've completed the work to update Postfix and Dovecot to use LMTP and the test message is now being delivered with UNSEEN=1, so thank you for the suggestions and comments provided. </div> <div> <br> </div> <div> Regards </div> <div> <br> </div> <div> Philip </div> <div> <br> </div> </div> </div> </blockquote> <div> <br> </div> <div> This is because you are not using dovecot-lda / lmtp for delivery. Either use those, or set mailbox_list_index=no. </div> <div> <br> </div> <div> Status uses list index, when available, to optimize status lookups. </div> <div class="io-ox-signature"> <pre>--- Aki Tuomi</pre> </div> </body> </html>