about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mail.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/mail.nix b/mail.nix
index 7db9243..d497f8e 100644
--- a/mail.nix
+++ b/mail.nix
@@ -31,6 +31,13 @@ in {
   services = {
     dovecot2 = {
       enable = true;
+      mailboxes = {
+        Archive.specialUse = "Archive";
+        Drafts.specialUse = "Drafts";
+        Junk.specialUse = "Junk";
+        Sent.specialUse = "Sent";
+        Trash.specialUse = "Trash";
+      };
       sslServerCert = "${certDir}/cert.pem";
       sslServerKey = "${certDir}/key.pem";
       sslCACert = "${certDir}/chain.pem";