El 27/09/18 a las 12:04, Aki Tuomi escribió:
You can. In passdb, return userdb_your_own_variable=value, in userdb you can omit the userdb_ prefix, except if you are using passwd-file.
I'm trying this. In the ldap configuration, I have:
pass_attrs = =userdb_user=%{ldap:mail},=userdb_quota_rule=%{ldap:quota:*:storage=10G},=userdb_uuid=%{ldap:entryUUID} user_attrs = =user=%{ldap:mail},=quota_rule=%{ldap:quota:*:storage=10G},=uuid=%{ldap:entryUUID}
and in my dovecot config I get:
mail_home =/mail/mailboxes/%L{uuid}
but when I get user fields I have:
field value uid vmail gid vmail home /mail/mailboxes/unsupported_variable_uuid mail mdbox:~/mdbox:INDEX=/mail/indexes/um.es/an/angel.luis quota_rule *:storage=10G uuid dc6c5cd6-bf4d-1030-8d28-d5b8647941b3
it seems I can't use this "uuid" variable in mail_home config.
Is it possible? Am I doing something wrong?
-- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 868888337