From 9234f1dddf3f1744c794667d3675f7f017047d66 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 5 May 2022 23:05:30 +0200 Subject: surtr: ... --- hosts/surtr/email/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'hosts/surtr/email/default.nix') diff --git a/hosts/surtr/email/default.nix b/hosts/surtr/email/default.nix index 0053b0f9..1ffc9eb2 100644 --- a/hosts/surtr/email/default.nix +++ b/hosts/surtr/email/default.nix @@ -137,13 +137,13 @@ in { recipient_canonical_classes = ["envelope_recipient" "header_recipient"]; virtual_mailbox_domains = ''pgsql:${pkgs.writeText "virtual_mailbox_domains.cf" '' - hosts = postgresql:///emails - dbname = emails + hosts = postgresql:///email + dbname = email query = SELECT domain FROM virtual_mailbox_domain WHERE domain = '%s' ''}''; virtual_mailbox_maps = ''pgsql:${pkgs.writeText "virtual_mailbox_maps.cf" '' - hosts = postgresql:///emails - dbname = emails + hosts = postgresql:///email + dbname = email query = SELECT mailbox FROM virtual_mailbox_mapping WHERE mailbox = '%s' ''}''; virtual_transport = "lmtp:unix:/run/postfix/dovecot-lmtp"; @@ -450,8 +450,6 @@ in { "imap.bouncy.email.key.pem:${config.security.acme.certs."imap.bouncy.email".directory}/key.pem" "imap.bouncy.email.pem:${config.security.acme.certs."imap.bouncy.email".directory}/fullchain.pem" ]; - - StateDirectory = "mail"; }; }; }; -- cgit v1.2.3