[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#42899] [PATCH v4 5/8] services: dovecot: Add 'mail-attribute-dict'
From: |
Alexey Abramov |
Subject: |
[bug#42899] [PATCH v4 5/8] services: dovecot: Add 'mail-attribute-dict' configuration option. |
Date: |
Tue, 8 Sep 2020 15:53:45 +0200 |
* gnu/services/mail.scm (dovecot-configuration): Define 'mail-attribute-dict'
directive to support IMAP METADATA extension.:
* doc/guix.texi (Mail Services): Document it.
---
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 61b65db35b..6d6912febf 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -18491,6 +18491,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.28.0
- [bug#42899] [PATCH v4 1/8] gnu: dovecot: Set moduledir to global directory., Alexey Abramov, 2020/09/08
- [bug#42899] [PATCH v4 2/8] services: dovecot: Use modules via symlink to system profile., Alexey Abramov, 2020/09/08
- [bug#42899] [PATCH v4 3/8] services: dovecot: Serialize global settings first., Alexey Abramov, 2020/09/08
- [bug#42899] [PATCH v4 6/8] services: dovecot: Add 'imap-metadata?' protocol configuration option., Alexey Abramov, 2020/09/08
- [bug#42899] [PATCH v4 8/8] services: dovecot: Add 'managesieve-sieve-capability' option., Alexey Abramov, 2020/09/08
- [bug#42899] [PATCH v4 4/8] services: dovecot: Only serialize settings with non-empty values., Alexey Abramov, 2020/09/08
- [bug#42899] [PATCH v4 5/8] services: dovecot: Add 'mail-attribute-dict' configuration option.,
Alexey Abramov <=
- [bug#42899] [PATCH v4 7/8] services: dovecot: Add 'managesieve-notify-capability' option., Alexey Abramov, 2020/09/08
- [bug#42899] [PATCH v4 1/8] gnu: dovecot: Set moduledir to global directory., Tobias Geerinckx-Rice, 2020/09/08