summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-05-06 08:49:46 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2022-05-06 08:49:46 +0200
commitea3af337b2ccce1e76de8d8c93b557c4282b75d6 (patch)
tree5cd72fb33bb223557e57f1273eb5b3c3dd9cec8d /hosts
parent7b1044eb94621cc07e2b201bb9242d24dea1af6d (diff)
downloadnixos-ea3af337b2ccce1e76de8d8c93b557c4282b75d6.tar
nixos-ea3af337b2ccce1e76de8d8c93b557c4282b75d6.tar.gz
nixos-ea3af337b2ccce1e76de8d8c93b557c4282b75d6.tar.bz2
nixos-ea3af337b2ccce1e76de8d8c93b557c4282b75d6.tar.xz
nixos-ea3af337b2ccce1e76de8d8c93b557c4282b75d6.zip
surtr: ...
Diffstat (limited to 'hosts')
-rw-r--r--hosts/surtr/dns/zones/email.bouncy.soa3
-rw-r--r--hosts/surtr/email/default.nix6
2 files changed, 6 insertions, 3 deletions
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 @@
1$ORIGIN bouncy.email. 1$ORIGIN bouncy.email.
2$TTL 3600 2$TTL 3600
3@ IN SOA ns.yggdrasil.li. root.yggdrasil.li. ( 3@ IN SOA ns.yggdrasil.li. root.yggdrasil.li. (
4 2022050505 ; serial 4 2022050600 ; serial
5 10800 ; refresh 5 10800 ; refresh
6 3600 ; retry 6 3600 ; retry
7 604800 ; expire 7 604800 ; expire
@@ -56,3 +56,4 @@ imap IN TXT "v=spf1 redirect=bouncy.email"
56_acme-challenge.imap IN NS ns.yggdrasil.li. 56_acme-challenge.imap IN NS ns.yggdrasil.li.
57 57
58_imaps._tcp IN SRV 5 0 993 imap.bouncy.email. 58_imaps._tcp IN SRV 5 0 993 imap.bouncy.email.
59_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 {
380 } 380 }
381 381
382 plugin { 382 plugin {
383 quota = maildir 383 quota = count
384 quota2 = fs
384 quota_rule = *:storage=1GB 385 quota_rule = *:storage=1GB
385 quota_rule2 = Trash:storage=+10%% 386 quota_rule2 = Trash:storage=+10%%
386 quota_status_overquota = "552 5.2.2 Mailbox is full" 387 quota_status_overquota = "552 5.2.2 Mailbox is full"
387 quota_status_success = DUNNO 388 quota_status_success = DUNNO
388 quota_status_nouser = DUNNO 389 quota_status_nouser = DUNNO
389 quota_grace = 10%% 390 quota_grace = 10%%
391 quota_max_mail_size = ${config.services.postfix.config.message_size_limit}
392 quota_vsizes = yes
390 } 393 }
391 394
392 protocol imap { 395 protocol imap {
@@ -403,7 +406,6 @@ in {
403 service managesieve-login { 406 service managesieve-login {
404 inet_listener sieve { 407 inet_listener sieve {
405 port = 4190 408 port = 4190
406 ssl = yes
407 } 409 }
408 } 410 }
409 411