On 26 Apr 2016, at 19:26, Ricardo Branco <rica...@wenn.com> wrote:
> 
> We are using passwd-file (http://wiki2.dovecot.org/AuthDatabase/PasswdFile).
> 
> Do you mean passing 'user=XXX' in the extra fields, normalizing this across 
> all the shared accounts?

Yes. Make sure you'll get the XXX user returned in the first line with:

doveadm auth lookup f...@example.com
doveadm user f...@example.com

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

Reply via email to