From a348ad9cd88d2ae87a879d72453bc6ace03a6590 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 5 May 2022 19:42:27 +0200 Subject: ... --- hosts/surtr/email/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hosts/surtr/email') diff --git a/hosts/surtr/email/default.nix b/hosts/surtr/email/default.nix index eb4ec69e..b4ae5ffb 100644 --- a/hosts/surtr/email/default.nix +++ b/hosts/surtr/email/default.nix @@ -293,7 +293,7 @@ in { args = ${pkgs.writeText "dovecot-sql.conf" '' driver = pgsql connect = host=localhost dbname=email - user_query = SELECT mailbox AS user, quota_rule FROM mailbox WHERE mailbox = '%u' + user_query = SELECT user, quota_rule FROM imap_user WHERE user = '%u' ''} default_fields = uid=dovecot2 gid=dovecot2 } -- cgit v1.2.3