Hi,

Director -> Backends -> NFS setup.

Problem:
Broken dovecot-uidlists because of our postfix LMTP delivery using a different address than the IMAP client lookups

 Error: Mailbox INBOX: Broken file dovecot-uidlist line 169: Invalid data:

example:
LMTP delivery: lmtp(info#domain.nl@mail.local)
IMAP lookup: info@domain.nl

doveadm director status info#domain.nl@mail.local
Current: 10.0.10.223 (expires 2019-11-01 08:52:42)
Hashed: 10.0.10.223
Initial config: 10.0.10.223

doveadm director status info@domain.nl
Current: 10.0.10.113 (expires 2019-11-01 13:47:27)
Hashed: 10.0.10.113
Initial config: 10.0.10.113

On the backends these would write to the same NFS maildir:

Now Director would assign these addresses to different backend servers and thus result in the expected corrupted control files. 

at this time i'm unable to reconfigure the Postfix LMTP delivery in a way that these use the same lookup format.

Questions:

1. Disable LMTP updating dovecot-uidlist and indexes.
Perhaps using Maildir:CONTROL=/dev/null :INDEX=MEMORY for lmtp-sql.conf?

2. Since i'm using director/proxy is it possible to rewrite the address using SQL in the passdb query?

3. What would be the best settings to avoid corruption in this broken setup.