[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#42899] [PATCH v2 09/10] services: dovecot: Add 'managesieve-notify-
From: |
Alexey Abramov |
Subject: |
[bug#42899] [PATCH v2 09/10] services: dovecot: Add 'managesieve-notify-capability' option. |
Date: |
Tue, 18 Aug 2020 14:00:37 +0200 |
* doc/guix.texi (Mail Services): Document it.
* gnu/services/mail.scm (protocol-configuration): Define it.
Signed-off-by: Alexey Abramov <levenson@mmer.org>
---
doc/guix.texi | 9 +++++++++
gnu/services/mail.scm | 8 +++++++-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 5c3e706390..10d4861c4e 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -17524,6 +17524,15 @@ Defaults to @samp{#f}.
@end deftypevr
+@deftypevr {@code{protocol-configuration} parameter}
space-separated-string-list managesieve-notify-capabilities
+Report notify capabilities by the managesieve service upon a client
+connection. If left unassigned, these will be assigned dynamically
+according to what the Sieve interpreter supports by default (after login
+this may differ depending on the authenticated user).
+
+Defaults to @samp{()}.
+@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 ee710303e7..8b57b42dfe 100644
--- a/gnu/services/mail.scm
+++ b/gnu/services/mail.scm
@@ -354,7 +354,13 @@ address. NOTE: The username is compared
case-sensitively.")
"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."))
+setting.")
+ (managesieve-notify-capability
+ (space-separated-string-list '())
+ "Report NOTIFY capabilities by the ManageSieve service upon a client
+connection. If left unassigned, these will be assigned dynamically
+according to what the Sieve interpreter supports by default."))
+
(define (serialize-protocol-configuration field-name val)
(format #t "protocol ~a {\n" (protocol-configuration-name val))
--
2.27.0
- [bug#42899] [PATCH 07/10] services: dovecot: Add 'mail-attribute-dict' configuration 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