From ddcc8c65e30a9ca3b56e25466e749cb100b28510 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 22 Oct 2022 19:33:45 +0200 Subject: ... --- hosts/surtr/email/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'hosts/surtr/email') 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 { in '' mail_home = /var/lib/mail/%u + mail_plugins = $mail_plugins quota + first_valid_uid = ${toString config.users.users.dovecot2.uid} last_valid_uid = ${toString config.users.users.dovecot2.uid} first_valid_gid = ${toString config.users.groups.dovecot2.gid} @@ -473,9 +475,10 @@ in { result_failure = return-fail result_internalfail = return-fail } + + mail_plugins = $mail_plugins sieve } - mail_plugins = $mail_plugins quota mailbox_list_index = yes postmaster_address = postmaster@yggdrasil.li recipient_delimiter = @@ -732,7 +735,7 @@ in { cp ${pkgs.writeText "mta-sts.txt" '' version: STSv1 mode: enforce - max_age: 604800 + max_age: 2419200 mx: mailin.bouncy.email ''} $out/.well-known/mta-sts.txt ''; -- cgit v1.2.3