Gerben Wierda
2019-Sep-10 09:58 UTC
New to dovecot admin, question about using LDAP for user-specific values
I am new to dovecot administration. I?ve read the Wiki but that hasn?t given me the understanding I need. When I query my LDAP (on macOS) on a value for user ?gerben?, I can get that: dumbledore:~ gerben$ dscl /LDAPv3/127.0.0.1 -read /users/gerben GeneratedUID GeneratedUID: 780D870E-6B00-478E-AB70-3D3307215A82 I would like to use that value in dovecot settings, e.g. something like user_attrs = \ =mail=maildir://Library/Server/Mail/Data/mail/%{ldap:GeneratedUID} Is this possible and if so what do I exactly need to do to get this working? Gerben Wierda Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/> Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/> Architecture for Real Enterprises <https://www.infoworld.com/blog/architecture-for-real-enterprises/> at InfoWorld On Slippery Ice <https://eapj.org/on-slippery-ice/> at EAPJ -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190910/d57bf570/attachment.html>
Gerben Wierda
2019-Sep-13 07:29 UTC
New to dovecot admin, question about using LDAP for user-specific values
Nobody?> On 10 Sep 2019, at 11:58, Gerben Wierda via dovecot <dovecot at dovecot.org> wrote: > > I am new to dovecot administration. I?ve read the Wiki but that hasn?t given me the understanding I need. > > When I query my LDAP (on macOS) on a value for user ?gerben?, I can get that: > > dumbledore:~ gerben$ dscl /LDAPv3/127.0.0.1 -read /users/gerben GeneratedUID > GeneratedUID: 780D870E-6B00-478E-AB70-3D3307215A82 > > I would like to use that value in dovecot settings, e.g. something like > > user_attrs = \ > =mail=maildir://Library/Server/Mail/Data/mail/%{ldap:GeneratedUID} <maildir://Library/Server/Mail/Data/mail/%%7Bldap:GeneratedUID%7D> > > Is this possible and if so what do I exactly need to do to get this working? > > Gerben Wierda > Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/> > Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/> > Architecture for Real Enterprises <https://www.infoworld.com/blog/architecture-for-real-enterprises/> at InfoWorld > On Slippery Ice <https://eapj.org/on-slippery-ice/> at EAPJ >-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190913/bf24c276/attachment.html>
Jean-Daniel Dupas
2019-Sep-13 09:51 UTC
New to dovecot admin, question about using LDAP for user-specific values
> Le 13 sept. 2019 ? 09:29, Gerben Wierda via dovecot <dovecot at dovecot.org> a ?crit : > > Nobody? > >> On 10 Sep 2019, at 11:58, Gerben Wierda via dovecot <dovecot at dovecot.org <mailto:dovecot at dovecot.org>> wrote: >> >> I am new to dovecot administration. I?ve read the Wiki but that hasn?t given me the understanding I need. >> >> When I query my LDAP (on macOS) on a value for user ?gerben?, I can get that: >> >> dumbledore:~ gerben$ dscl /LDAPv3/127.0.0.1 -read /users/gerben GeneratedUID >> GeneratedUID: 780D870E-6B00-478E-AB70-3D3307215A82 >> >> I would like to use that value in dovecot settings, e.g. something like >> >> user_attrs = \ >> =mail=maildir://Library/Server/Mail/Data/mail/%{ldap:GeneratedUID} <maildir://Library/Server/Mail/Data/mail/%%7Bldap:GeneratedUID%7D> >> >> Is this possible and if so what do I exactly need to do to get this working?As the answer is in the question, it is hard to give you any hint about what should be done. What is wrong with user_attrs = \ =mail=maildir://Library/Server/Mail/Data/mail/%{ldap:GeneratedUID} <maildir://Library/Server/Mail/Data/mail/%25%7Bldap:GeneratedUID%7D> Did you try it ? Have you got any issue with it ? -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190913/81788fe2/attachment.html>
Seemingly Similar Threads
- New to dovecot admin, question about using LDAP for user-specific values
- New to dovecot admin, question about using LDAP for user-specific values
- New to dovecot admin, question about using LDAP for user-specific values
- Is it possible to create and use some lookup table to replace (for instance) %u in mail_location?
- Is it safe to mix dovecot import/backup/sync between dovecot versions 2.2.30.2 and 2.3.7.1?