diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-05-05 23:05:30 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-05-05 23:05:30 +0200 |
commit | 9234f1dddf3f1744c794667d3675f7f017047d66 (patch) | |
tree | 0b5f3ce3db571ac45d87ee5523b54475fa8db6ca /hosts/surtr/email | |
parent | 819c5114b2f9062c9e55cc8f714d5a7f945b1480 (diff) | |
download | nixos-9234f1dddf3f1744c794667d3675f7f017047d66.tar nixos-9234f1dddf3f1744c794667d3675f7f017047d66.tar.gz nixos-9234f1dddf3f1744c794667d3675f7f017047d66.tar.bz2 nixos-9234f1dddf3f1744c794667d3675f7f017047d66.tar.xz nixos-9234f1dddf3f1744c794667d3675f7f017047d66.zip |
surtr: ...
Diffstat (limited to 'hosts/surtr/email')
-rw-r--r-- | hosts/surtr/email/default.nix | 10 |
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 | }; |