From ea3af337b2ccce1e76de8d8c93b557c4282b75d6 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 6 May 2022 08:49:46 +0200 Subject: surtr: ... --- hosts/surtr/dns/zones/email.bouncy.soa | 3 ++- hosts/surtr/email/default.nix | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'hosts/surtr') diff --git a/hosts/surtr/dns/zones/email.bouncy.soa b/hosts/surtr/dns/zones/email.bouncy.soa index 96ae4013..77ac7064 100644 --- a/hosts/surtr/dns/zones/email.bouncy.soa +++ b/hosts/surtr/dns/zones/email.bouncy.soa @@ -1,7 +1,7 @@ $ORIGIN bouncy.email. $TTL 3600 @ IN SOA ns.yggdrasil.li. root.yggdrasil.li. ( - 2022050505 ; serial + 2022050600 ; serial 10800 ; refresh 3600 ; retry 604800 ; expire @@ -56,3 +56,4 @@ imap IN TXT "v=spf1 redirect=bouncy.email" _acme-challenge.imap IN NS ns.yggdrasil.li. _imaps._tcp IN SRV 5 0 993 imap.bouncy.email. +_sieve._tcp IN SRV 5 0 4190 imap.bouncy.email. diff --git a/hosts/surtr/email/default.nix b/hosts/surtr/email/default.nix index de8ea04b..009c13c5 100644 --- a/hosts/surtr/email/default.nix +++ b/hosts/surtr/email/default.nix @@ -380,13 +380,16 @@ in { } plugin { - quota = maildir + quota = count + quota2 = fs quota_rule = *:storage=1GB quota_rule2 = Trash:storage=+10%% quota_status_overquota = "552 5.2.2 Mailbox is full" quota_status_success = DUNNO quota_status_nouser = DUNNO quota_grace = 10%% + quota_max_mail_size = ${config.services.postfix.config.message_size_limit} + quota_vsizes = yes } protocol imap { @@ -403,7 +406,6 @@ in { service managesieve-login { inet_listener sieve { port = 4190 - ssl = yes } } -- cgit v1.2.3