From 819c5114b2f9062c9e55cc8f714d5a7f945b1480 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 5 May 2022 23:03:34 +0200 Subject: surtr: ... --- hosts/surtr/email/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hosts/surtr') diff --git a/hosts/surtr/email/default.nix b/hosts/surtr/email/default.nix index f17337ff..0053b0f9 100644 --- a/hosts/surtr/email/default.nix +++ b/hosts/surtr/email/default.nix @@ -137,12 +137,12 @@ in { recipient_canonical_classes = ["envelope_recipient" "header_recipient"]; virtual_mailbox_domains = ''pgsql:${pkgs.writeText "virtual_mailbox_domains.cf" '' - hosts = postgresql://localhost + hosts = postgresql:///emails dbname = emails query = SELECT domain FROM virtual_mailbox_domain WHERE domain = '%s' ''}''; virtual_mailbox_maps = ''pgsql:${pkgs.writeText "virtual_mailbox_maps.cf" '' - hosts = postgresql://localhost + hosts = postgresql:///emails dbname = emails query = SELECT mailbox FROM virtual_mailbox_mapping WHERE mailbox = '%s' ''}''; -- cgit v1.2.3