27 Aug
2010
27 Aug
'10
2:40 p.m.
On 27.8.2010, at 5.59, Noel Butler wrote:
I've asked if it can avoid touching the index files before (see a thread as recent as a few weeks back),
You can avoid touching indexes:
protocol lda { mail_location = maildir:~/Maildir:INDEX=MEMORY }
But you still have the problem of dovecot-uidlist file that gets updated. Well .. maybe you could do something ugly like:
protocol lda { mail_location = maildir:~/Maildir:INDEX=MEMORY:CONTROL=/tmp/controls/%u }
And then once in a while rm -rf /tmp/controls, but I don't know how badly that'll work out. I guess it's possible that LDA even goes and scans through the existing cur/ directory to build a new dovecot-uidlist.