summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/surtr/email/default.nix10
1 files changed, 4 insertions, 6 deletions
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 {
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:///emails 140 hosts = postgresql:///email
141 dbname = emails 141 dbname = email
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:///emails 145 hosts = postgresql:///email
146 dbname = emails 146 dbname = email
147 query = SELECT mailbox FROM virtual_mailbox_mapping WHERE mailbox = '%s' 147 query = SELECT mailbox FROM virtual_mailbox_mapping WHERE mailbox = '%s'
148 ''}''; 148 ''}'';
149 virtual_transport = "lmtp:unix:/run/postfix/dovecot-lmtp"; 149 virtual_transport = "lmtp:unix:/run/postfix/dovecot-lmtp";
@@ -450,8 +450,6 @@ in {
450 "imap.bouncy.email.key.pem:${config.security.acme.certs."imap.bouncy.email".directory}/key.pem" 450 "imap.bouncy.email.key.pem:${config.security.acme.certs."imap.bouncy.email".directory}/key.pem"
451 "imap.bouncy.email.pem:${config.security.acme.certs."imap.bouncy.email".directory}/fullchain.pem" 451 "imap.bouncy.email.pem:${config.security.acme.certs."imap.bouncy.email".directory}/fullchain.pem"
452 ]; 452 ];
453
454 StateDirectory = "mail";
455 }; 453 };
456 }; 454 };
457 }; 455 };