Solr with shared mailboxes

Timo Sirainen tss at iki.fi
Tue Apr 26 15:45:59 UTC 2016


On 26 Apr 2016, at 18:35, Ricardo Branco <ricardo at wenn.com> wrote:
> 
> We have multiple logins assigned to single mailboxes, so we can give one login to different devices.
> 
> Does this cause a problem with mailbox guids in solr or is the ID stored within the indexes and not related to username.

It causes Solr indexes to be duplicated. There should always be a single unique userID for a user. You can map the login username to userID by returning "user" in passdb and userdb lookups. If you want to preserve the login username in logs, you can use %{auth_user} in mail_log_prefix and login_log_format_elements.



More information about the dovecot mailing list