<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Le 13 sept. 2019 à 09:29, Gerben Wierda via dovecot <<a href="mailto:dovecot@dovecot.org" class="">dovecot@dovecot.org</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Nobody?<div class=""><br class=""><div style="" class=""><blockquote type="cite" class=""><div class="">On 10 Sep 2019, at 11:58, Gerben Wierda via dovecot <<a href="mailto:dovecot@dovecot.org" class="">dovecot@dovecot.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I am new to dovecot administration. I’ve read the Wiki but that hasn’t given me the understanding I need.<div class=""><br class=""></div><div class="">When I query my LDAP (on macOS) on a value for user ‘gerben’, I can get that:</div><div class=""><br class=""></div><div class=""><div class=""><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">dumbledore:~ gerben$ dscl /LDAPv3/127.0.0.1 -read /users/gerben GeneratedUID</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">GeneratedUID: 780D870E-6B00-478E-AB70-3D3307215A82</span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div></div></div><div class="">I would like to use that value in dovecot settings, e.g. something like</div><div class=""><br class=""></div><div class="">user_attrs = \<br class="">  =mail=<a href="maildir://Library/Server/Mail/Data/mail/%%7Bldap:GeneratedUID%7D" class="">maildir://Library/Server/Mail/Data/mail/%{ldap:GeneratedUID}</a><br class=""></div><div class=""><br class=""></div><div class="">Is this possible and if so what do I exactly need to do to get this working?</div></div></div></blockquote></div></div></div></div></blockquote></div><br class=""><div class="">As the answer is in the question, it is hard to give you any hint about what should be done.</div><div class=""><br class=""></div><div class="">What is wrong with </div><div class=""><br class=""></div><div class="">user_attrs = \<br class="">  =mail=<a href="maildir://Library/Server/Mail/Data/mail/%25%7Bldap:GeneratedUID%7D" class="">maildir://Library/Server/Mail/Data/mail/%{ldap:GeneratedUID}</a></div><div class=""><br class=""></div><div class="">Did you try it ? Have you got any issue with it ?</div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>