summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorAlexey Abramov <levenson@mmer.org>2020-09-08 15:53:45 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-05-06 11:08:52 +0200
commit5b5c50961fc3c2c95cb97796369ec918cbff064f (patch)
tree4a96455252b29ca90befdd22a2101ebba8cf26b9 /gnu/services
parentba9db4c886beb355737c66e77b66890c34b8f470 (diff)
downloadguix-5b5c50961fc3c2c95cb97796369ec918cbff064f.tar.gz
services: dovecot: Add ‘mail-attribute-dict’ configuration option.
* gnu/services/mail.scm (dovecot-configuration): Define a
‘mail-attribute-dict’ directive for IMAP METADATA storage.
* doc/guix.texi (Mail Services): Document it.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/mail.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/services/mail.scm b/gnu/services/mail.scm
index 81f692e437..26e631fd9d 100644
--- a/gnu/services/mail.scm
+++ b/gnu/services/mail.scm
@@ -1133,6 +1133,14 @@ disabled.")
 @samp{mdbox-rotate-size}.  This setting currently works only in Linux
 with some file systems (ext4, xfs).")
 
+  (mail-attribute-dict
+   (string "")
+   "The location of a dictionary used to store @code{IMAP METADATA}
+as defined by @uref{https://tools.ietf.org/html/rfc5464, RFC@tie{}5464}.
+
+The IMAP METADATA commands are available only if the ``imap''
+protocol configuration's @code{imap-metadata?} field is @samp{#t}.")
+
   (mail-attachment-dir
    (string "")
    "sdbox and mdbox support saving mail attachments to external files,