On 05 Dec 2015, at 20:40, Alessio Cecchi alessio@skye.it wrote:
Hi,
I’m running Dovecot 2.2.19 with Maildir as storage and LDA for delivery.
I noticed that if I set mailbox_list_index=yes and maildir_very_dirty_syncs=yes when I login via IMAP the STATUS command don’t “see” new messages in sub-folders (like Spam).
..
An importante note, my dovecot LDA configuration (on MX servers) don’t update index files:
protocol lda { mail_location = maildir:~/Maildir:INDEX=MEMORY mail_plugins = quota acl expire fts fts_solr zlib sieve }
This works as intended.. Fixing it would slow down the normal way people use Dovecot.
These because I need to filter incoming email via Sieve but since I cannot use LMTP (and Director) on MX (but I have Director for POP/IMAP access) the only way for not corrupting dovecot.index files is not update their on delivery emails.
I don't understand why you couldn't use LMTP+director. That's how it's normally done.
But reading http://wiki2.dovecot.org/MailLocation/Maildir this shouldn’t be a problem (Optimizations “maildir_very_dirty_syncs=yes” … It's still safe to deliver new mails to new/ …) since MX deliver new emails in new/.
I updated the wiki.