Directors and LMTP: mailAlternateAddress of same user

Paterakis E. Ioannis jpat at uoc.gr
Fri Oct 23 01:09:58 EEST 2020


Good evening everyone,

I'd like to paste a problem i experience the last days with a mail 
cluster system based on three dovecot servers and two directors in front 
of them. The Directors are proxying the auth requests to the dovecot 
servers below (LDAP). The protocols i use are imap/managesieve/lmtp.  
The setup works as intented, exept one detail. There are a lot of users 
that happen to have mailAlternateAddress attriutes with different e-mail 
addresses. The problem is that when a mail arrives to the lmtp of the 
directors, and the recipient is one of the mailalternateAddresses the 
same user has, director/lmtp doesn't recognise the real user of that 
e-mail address, and routes the e-mail to a different dovecot server than 
the real user is logged in, resulting in a corrupted .index.cache file.

I've searched around for a solution to this, and figured out that a 
special userdb {} section in the protocol lmtp {} section, with driver = 
ldap etc etc so that i 'd be able to "show" the correct user to the lmtp 
might work, but strangely that userdb {} setting looks like being 
ignored by lmtp.

Has any of you guys have an idea how will i be able to solve that issue 
because i get thousands of corrupted .index.cache files every day....


Thank you very much in advance,

Ioannis





More information about the dovecot mailing list