Static uid and gid in Dovecot
edoput opened this issue · comments
Edoardo Putti commented
uidNumber and gidNumber are only significant if mentioned in the user_attrs item in /etc/dovecot/dovecot-ldap.conf. If these are virtual accounts (authentication, including homeDirectory, uidNumber, gidNumber are used elsewhere), I recommend you leave these unset in user_attrs, and instead use
user_global_uid = dovecot
user_global_gid = mail
Instead of the hack I think we can set this two variables in /etc/dovecot/dovecot-ldap.conf
.
A draft in #8