<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="">Nobody?<div class=""><br class=""><div style=""><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 class=""><br class=""><div class="">
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 10px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">Gerben Wierda<br class=""><a href="https://ea.rna.nl/the-book/" class="">Chess and the Art of Enterprise Architecture</a><br class=""><a href="https://ea.rna.nl/the-book-edition-iii/" class="">Mastering ArchiMate</a><br class=""><a href="https://www.infoworld.com/blog/architecture-for-real-enterprises/" class="">Architecture for Real Enterprises</a> at InfoWorld<br class=""><a href="https://eapj.org/on-slippery-ice/" class="">On Slippery Ice</a> at EAPJ</div>

</div>
<br class=""></div></div></div></blockquote></div><br class=""></div></body></html>