[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#42899] [PATCH v2 07/10] services: dovecot: Add 'mail-attribute-dict
From: |
Alexey Abramov |
Subject: |
[bug#42899] [PATCH v2 07/10] services: dovecot: Add 'mail-attribute-dict' configuration option. |
Date: |
Tue, 18 Aug 2020 14:00:35 +0200 |
* gnu/services/mail.scm (dovecot-configuration): Define 'mail-attribute-dict'
directive to support IMAP METADATA extension.:
* doc/guix.texi (Mail Services): Document it.
Signed-off-by: Alexey Abramov <levenson@mmer.org>
---
doc/guix.texi | 15 +++++++++++++++
gnu/services/mail.scm | 11 +++++++++++
2 files changed, 26 insertions(+)
diff --git a/doc/guix.texi b/doc/guix.texi
index 9f803fdbac..bbdbdf70e1 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -18211,6 +18211,21 @@ could allow a user to delete others' mailboxes, or
@code{ln -s
@samp{""}.
@end deftypevr
+@deftypevr {@code{dovecot-configuration} parameter} string mail-attribute-dict
+Activate the metadata storage of @code{IMAP METADATA} extension
+@uref{https://tools.ietf.org/html/rfc5464,RFC@tie{}5464}. The goal of
+the METADATA extension is to provide a means for clients to set and
+retrieve 'annotations' or 'metadata' on an IMAP server. The annotations
+can be associated with specific mailboxes or the server as a whole. The
+server can choose to support only server annotations or both server and
+mailbox annotations. For example, a general comment being added to a
+mailbox may have an entry name of '/comment' and a value of 'Really
+useful mailbox'
+
+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 6e166af2be..d8df5c82e4 100644
--- a/gnu/services/mail.scm
+++ b/gnu/services/mail.scm
@@ -1130,6 +1130,17 @@ disabled.")
@samp{mdbox-rotate-size}. This setting currently works only in Linux
with some file systems (ext4, xfs).")
+ (mail-attribute-dict
+ (string "")
+ "Activate the metadata storage of @code{IMAP METADATA} extension
+@uref{https://tools.ietf.org/html/rfc5464, RFC@tie{}5464}. The goal of the
+METADATA extension is to provide a means for clients to set and retrieve
+'annotations' or 'metadata' on an IMAP server. The annotations can be
+associated with specific mailboxes or the server as a whole. The server can
+choose to support only server annotations or both server and mailbox
+annotations. For example, a general comment being added to a mailbox may have
+an entry name of '/comment' and a value of 'Really useful mailbox'")
+
(mail-attachment-dir
(string "")
"sdbox and mdbox support saving mail attachments to external files,
--
2.27.0
- [bug#42899] [PATCH 09/10] services: dovecot: Add 'managesieve-notify-capability' configuration., (continued)
[bug#42899] [PATCH v2 01/10] gnu: dovecot: Add lucene library to support fts indexing., Efraim Flashner, 2020/08/23
[bug#42899] [PATCH 00/10] Dovecot improvements. Add support for pigeonhole., Efraim Flashner, 2020/08/23
[bug#42899] [PATCH v3 1/9] gnu: dovecot: Set moduledir to global directory., Alexey Abramov, 2020/08/27