summaryrefslogtreecommitdiffstats
path: root/mail-server/dovecot.nix
diff options
context:
space:
mode:
Diffstat (limited to 'mail-server/dovecot.nix')
-rw-r--r--mail-server/dovecot.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail-server/dovecot.nix b/mail-server/dovecot.nix
index 6459846..a6251fd 100644
--- a/mail-server/dovecot.nix
+++ b/mail-server/dovecot.nix
@@ -90,7 +90,8 @@ let
setPwdInLdapConfFile = appendLdapBindPwd {
name = "ldap-conf-file";
file = ldapConfig;
- prefix = "dnpass = ";
+ prefix = ''dnpass = "'';
+ suffix = ''"'';
passwordFile = cfg.ldap.bind.passwordFile;
destination = ldapConfFile;
};