[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#42899] [PATCH v3 7/9] services: dovecot: Add 'imap-metadata?' proto
From: |
Alexey Abramov |
Subject: |
[bug#42899] [PATCH v3 7/9] services: dovecot: Add 'imap-metadata?' protocol configuration option. |
Date: |
Thu, 27 Aug 2020 17:17:41 +0200 |
* gnu/services/mail.scm (protocol-configuration): Define the option to be able
to activate the IMAP METADATA commands over the imap protocol.
* doc/guix.texi (Mail Services): Document it.
---
doc/guix.texi | 11 +++++++++++
gnu/services/mail.scm | 8 +++++++-
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index f2124560ae..f46854480b 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -17540,6 +17540,17 @@ This is used by imap (for shared users) and lda.
It defaults to @samp{"/var/run/dovecot/auth-userdb"}.
@end deftypevr
+@deftypevr {@code{protocol-configuration} parameter} boolean imap-metadata?
+Activate the commands of @code{IMAP METADATA} extension
+@uref{https://tools.ietf.org/html/rfc5464,RFC@tie{}5464}.
+
+If activated, a dictionary needs to be configured, via the
+@code{mail-attribute-dict} setting.
+
+Defaults to @samp{#f}.
+
+@end deftypevr
+
@deftypevr {@code{protocol-configuration} parameter}
space-separated-string-list mail-plugins
Space separated list of plugins to load.
@end deftypevr
diff --git a/gnu/services/mail.scm b/gnu/services/mail.scm
index d8df5c82e4..ee710303e7 100644
--- a/gnu/services/mail.scm
+++ b/gnu/services/mail.scm
@@ -348,7 +348,13 @@ This is used by imap (for shared users) and lda.")
(mail-max-userip-connections
(non-negative-integer 10)
"Maximum number of IMAP connections allowed for a user from each IP
-address. NOTE: The username is compared case-sensitively."))
+address. NOTE: The username is compared case-sensitively.")
+ (imap-metadata?
+ (boolean #f)
+ "Activate the commands of @code{IMAP METADATA} extension
+@uref{https://tools.ietf.org/html/rfc5464, RFC@tie{}5464}. If activated, a
+dictionary needs to be configured, via the @code{mail-attribute-dict}
+setting."))
(define (serialize-protocol-configuration field-name val)
(format #t "protocol ~a {\n" (protocol-configuration-name val))
--
2.28.0
- [bug#42899] [PATCH v2 09/10] services: dovecot: Add 'managesieve-notify-capability' option., (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
- [bug#42899] [PATCH v3 3/9] gnu: dovecot-pigeonhole: Add new variable., Alexey Abramov, 2020/08/27
- [bug#42899] [PATCH v3 7/9] services: dovecot: Add 'imap-metadata?' protocol configuration option.,
Alexey Abramov <=
- [bug#42899] [PATCH v3 2/9] services: dovecot: Use modules via symlink to system profile., Alexey Abramov, 2020/08/27
- [bug#42899] [PATCH v3 9/9] services: dovecot: Add 'managesieve-sieve-capability' option., Alexey Abramov, 2020/08/27
- [bug#42899] [PATCH v3 5/9] services: dovecot: Only serialize settings with non-empty values., Alexey Abramov, 2020/08/27
- [bug#42899] [PATCH v3 6/9] services: dovecot: Add 'mail-attribute-dict' configuration option., Alexey Abramov, 2020/08/27
- [bug#42899] [PATCH v3 4/9] services: dovecot: Serialize global settings first., Alexey Abramov, 2020/08/27
- [bug#42899] [PATCH v3 8/9] services: dovecot: Add 'managesieve-notify-capability' option., Alexey Abramov, 2020/08/27