From a0f78133f604c1f96421e38dc0d8c6b1c547868f Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Sun, 3 Sep 2023 22:53:06 +0200 Subject: [PATCH] mail: automatically subscribe to all important mailboxes and expunge spam --- modules/mail.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/mail.nix b/modules/mail.nix index 3b2c371..9a3560e 100644 --- a/modules/mail.nix +++ b/modules/mail.nix @@ -168,19 +168,20 @@ in }; mailboxes = { Spam = { - auto = "create"; + auto = "subscribe"; specialUse = "Junk"; + autoexpunge = "60d"; }; Sent = { - auto = "create"; + auto = "subscribe"; specialUse = "Sent"; }; Drafts = { - auto = "create"; + auto = "subscribe"; specialUse = "Drafts"; }; Trash = { - auto = "create"; + auto = "subscribe"; specialUse = "Trash"; }; };