Solr with shared mailboxes

Ricardo Branco ricardo at
Tue Apr 26 16:26:16 UTC 2016

We are using passwd-file (

Do you mean passing 'user=XXX' in the extra fields, normalizing this across all the shared accounts?

Timo Sirainen wrote on 26/04/2016 16:45:
> On 26 Apr 2016, at 18:35, Ricardo Branco <ricardo at> 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