dovecot: respect the mailDirectory base for LDAP home directories
This change is safe, if you have not altered the default value of the `mailserver.mailDirectory` setting.
This commit is contained in:
parent
6a78dc3375
commit
7cb61e6e3a
3 changed files with 40 additions and 2 deletions
|
@ -356,7 +356,7 @@ in
|
|||
userdb {
|
||||
driver = ldap
|
||||
args = ${ldapConfFile}
|
||||
default_fields = home=/var/vmail/ldap/%{user} uid=${toString cfg.vmailUID} gid=${toString cfg.vmailUID}
|
||||
default_fields = home=${cfg.mailDirectory}/ldap/%{user} uid=${toString cfg.vmailUID} gid=${toString cfg.vmailUID}
|
||||
}
|
||||
''}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue