From 6e05920cef3afe0f0e3dde936a4b07a27b2c1ca3 Mon Sep 17 00:00:00 2001 From: Alexey Abramov Date: Tue, 8 Sep 2020 15:53:47 +0200 Subject: [PATCH] =?UTF-8?q?services:=20dovecot:=20Add=20=E2=80=98managesie?= =?UTF-8?q?ve-notify-capability=E2=80=99=20option.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/services/mail.scm (protocol-configuration): Add a ‘managesieve-notify-capability’ field. * doc/guix.texi (Mail Services): Document it. Signed-off-by: Tobias Geerinckx-Rice --- 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 49d4ef8473..2e5141d3bb 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -20083,6 +20083,15 @@ Defaults to @samp{#f}. @end deftypevr +@deftypevr {@code{protocol-configuration} parameter} space-separated-string-list managesieve-notify-capabilities +Which NOTIFY capabilities to report to clients that first connect to +the ManageSieve service, before authentication. These may differ from the +capabilities offered to authenticated users. If this field is left empty, +report what the Sieve interpreter supports by default. + +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 b45bf836a9..762662c58c 100644 --- a/gnu/services/mail.scm +++ b/gnu/services/mail.scm @@ -364,7 +364,13 @@ (define-configuration protocol-configuration and annotations over IMAP. If this is @samp{#t}, you must also specify a dictionary @i{via} the -@code{mail-attribute-dict} setting.")) +@code{mail-attribute-dict} setting.") + (managesieve-notify-capability + (space-separated-string-list '()) + "Which NOTIFY capabilities to report to clients that first connect to +the ManageSieve service, before authentication. These may differ from the +capabilities offered to authenticated users. If this field is left empty, +report what the Sieve interpreter supports by default.")) (define (serialize-protocol-configuration field-name val) (format #t "protocol ~a {\n" (protocol-configuration-name val))