From 05ee7bf1322ad25519317722561a3c25a9de9412 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 5 May 2022 22:51:01 +0200 Subject: surtr: ... --- hosts/surtr/email/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'hosts/surtr') diff --git a/hosts/surtr/email/default.nix b/hosts/surtr/email/default.nix index a4050802..f17337ff 100644 --- a/hosts/surtr/email/default.nix +++ b/hosts/surtr/email/default.nix @@ -294,8 +294,10 @@ in { in '' mail_home = /var/lib/mail/%u - first_valid_uid = ${config.users.users.dovecot2.uid} - first_valid_gid = ${config.users.groups.dovecot2.gid} + first_valid_uid = ${toString config.users.users.dovecot2.uid} + last_valid_uid = ${toString config.users.users.dovecot2.uid} + first_valid_gid = ${toString config.users.groups.dovecot2.gid} + last_valid_gid = ${toString config.users.groups.dovecot2.gid} local_name imap.bouncy.email { ssl_cert =