diff options
Diffstat (limited to 'hosts/surtr')
-rw-r--r-- | hosts/surtr/dns/zones/email.bouncy.soa | 3 | ||||
-rw-r--r-- | hosts/surtr/email/default.nix | 6 |
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 | ||