summaryrefslogtreecommitdiff
path: root/hosts/surtr/email
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-05-05 23:03:34 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2022-05-05 23:03:34 +0200
commit819c5114b2f9062c9e55cc8f714d5a7f945b1480 (patch)
treee2d84e707f150edab317c71b130cc5d3a5f80a5e /hosts/surtr/email
parent05ee7bf1322ad25519317722561a3c25a9de9412 (diff)
downloadnixos-819c5114b2f9062c9e55cc8f714d5a7f945b1480.tar
nixos-819c5114b2f9062c9e55cc8f714d5a7f945b1480.tar.gz
nixos-819c5114b2f9062c9e55cc8f714d5a7f945b1480.tar.bz2
nixos-819c5114b2f9062c9e55cc8f714d5a7f945b1480.tar.xz
nixos-819c5114b2f9062c9e55cc8f714d5a7f945b1480.zip
surtr: ...
Diffstat (limited to 'hosts/surtr/email')
-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 ''}'';