diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-10-22 19:33:45 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-10-22 19:33:45 +0200 |
commit | ddcc8c65e30a9ca3b56e25466e749cb100b28510 (patch) | |
tree | 869c782c4e5874d4d353d3cd82af5b0e2dfe9a45 /hosts/surtr/email/default.nix | |
parent | 0b7bd91465487426041c777a40de3be9f7407058 (diff) | |
download | nixos-ddcc8c65e30a9ca3b56e25466e749cb100b28510.tar nixos-ddcc8c65e30a9ca3b56e25466e749cb100b28510.tar.gz nixos-ddcc8c65e30a9ca3b56e25466e749cb100b28510.tar.bz2 nixos-ddcc8c65e30a9ca3b56e25466e749cb100b28510.tar.xz nixos-ddcc8c65e30a9ca3b56e25466e749cb100b28510.zip |
...
Diffstat (limited to 'hosts/surtr/email/default.nix')
-rw-r--r-- | hosts/surtr/email/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/hosts/surtr/email/default.nix b/hosts/surtr/email/default.nix index 2fe5b7f0..42b50c88 100644 --- a/hosts/surtr/email/default.nix +++ b/hosts/surtr/email/default.nix | |||
@@ -412,6 +412,8 @@ in { | |||
412 | in '' | 412 | in '' |
413 | mail_home = /var/lib/mail/%u | 413 | mail_home = /var/lib/mail/%u |
414 | 414 | ||
415 | mail_plugins = $mail_plugins quota | ||
416 | |||
415 | first_valid_uid = ${toString config.users.users.dovecot2.uid} | 417 | first_valid_uid = ${toString config.users.users.dovecot2.uid} |
416 | last_valid_uid = ${toString config.users.users.dovecot2.uid} | 418 | last_valid_uid = ${toString config.users.users.dovecot2.uid} |
417 | first_valid_gid = ${toString config.users.groups.dovecot2.gid} | 419 | first_valid_gid = ${toString config.users.groups.dovecot2.gid} |
@@ -473,9 +475,10 @@ in { | |||
473 | result_failure = return-fail | 475 | result_failure = return-fail |
474 | result_internalfail = return-fail | 476 | result_internalfail = return-fail |
475 | } | 477 | } |
478 | |||
479 | mail_plugins = $mail_plugins sieve | ||
476 | } | 480 | } |
477 | 481 | ||
478 | mail_plugins = $mail_plugins quota | ||
479 | mailbox_list_index = yes | 482 | mailbox_list_index = yes |
480 | postmaster_address = postmaster@yggdrasil.li | 483 | postmaster_address = postmaster@yggdrasil.li |
481 | recipient_delimiter = | 484 | recipient_delimiter = |
@@ -732,7 +735,7 @@ in { | |||
732 | cp ${pkgs.writeText "mta-sts.txt" '' | 735 | cp ${pkgs.writeText "mta-sts.txt" '' |
733 | version: STSv1 | 736 | version: STSv1 |
734 | mode: enforce | 737 | mode: enforce |
735 | max_age: 604800 | 738 | max_age: 2419200 |
736 | mx: mailin.bouncy.email | 739 | mx: mailin.bouncy.email |
737 | ''} $out/.well-known/mta-sts.txt | 740 | ''} $out/.well-known/mta-sts.txt |
738 | ''; | 741 | ''; |