[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: services: dovecot: Add ‘mail-attribute-dict’ configuration option
From: |
guix-commits |
Subject: |
01/02: services: dovecot: Add ‘mail-attribute-dict’ configuration option. |
Date: |
Thu, 6 May 2021 05:12:28 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 5b5c50961fc3c2c95cb97796369ec918cbff064f
Author: Alexey Abramov <levenson@mmer.org>
AuthorDate: Tue Sep 8 15:53:45 2020 +0200
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>
---
doc/guix.texi | 11 +++++++++++
gnu/services/mail.scm | 8 ++++++++
2 files changed, 19 insertions(+)
diff --git a/doc/guix.texi b/doc/guix.texi
index ae130e6..2e00e38 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -20768,6 +20768,17 @@ could allow a user to delete others' mailboxes, or
@code{ln -s
@samp{""}.
@end deftypevr
+@deftypevr {@code{dovecot-configuration} parameter} string mail-attribute-dict
+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}.
+
+Defaults to @samp{""}.
+
+@end deftypevr
+
@deftypevr {@code{dovecot-configuration} parameter} boolean
mail-full-filesystem-access?
Allow full file system access to clients. There's no access checks
other than what the operating system does for the active UID/GID@. It
diff --git a/gnu/services/mail.scm b/gnu/services/mail.scm
index 81f692e..26e631f 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,