Erik de Waard
2019-Oct-31 13:29 UTC
Broken uids: Director lmtp proxy able to change the destination address?
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 at mail.local) IMAP lookup: info at domain.nl doveadm director status info#domain.nl at 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 at 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20191031/acacaf69/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: backend.conf Type: application/octet-stream Size: 2346 bytes Desc: not available URL: <https://dovecot.org/pipermail/dovecot/attachments/20191031/acacaf69/attachment-0002.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: director.conf Type: application/octet-stream Size: 1657 bytes Desc: not available URL: <https://dovecot.org/pipermail/dovecot/attachments/20191031/acacaf69/attachment-0003.obj>