summaryrefslogtreecommitdiff
path: root/hosts/surtr
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/surtr')
-rw-r--r--hosts/surtr/email/default.nix4
1 files changed, 2 insertions, 2 deletions
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 {
137 recipient_canonical_classes = ["envelope_recipient" "header_recipient"]; 137 recipient_canonical_classes = ["envelope_recipient" "header_recipient"];
138 138
139 virtual_mailbox_domains = ''pgsql:${pkgs.writeText "virtual_mailbox_domains.cf" '' 139 virtual_mailbox_domains = ''pgsql:${pkgs.writeText "virtual_mailbox_domains.cf" ''
140 hosts = postgresql://localhost 140 hosts = postgresql:///emails
141 dbname = emails 141 dbname = emails
142 query = SELECT domain FROM virtual_mailbox_domain WHERE domain = '%s' 142 query = SELECT domain FROM virtual_mailbox_domain WHERE domain = '%s'
143 ''}''; 143 ''}'';
144 virtual_mailbox_maps = ''pgsql:${pkgs.writeText "virtual_mailbox_maps.cf" '' 144 virtual_mailbox_maps = ''pgsql:${pkgs.writeText "virtual_mailbox_maps.cf" ''
145 hosts = postgresql://localhost 145 hosts = postgresql:///emails
146 dbname = emails 146 dbname = emails
147 query = SELECT mailbox FROM virtual_mailbox_mapping WHERE mailbox = '%s' 147 query = SELECT mailbox FROM virtual_mailbox_mapping WHERE mailbox = '%s'
148 ''}''; 148 ''}'';