From 0d6eb69266535c1570b8b85c9e88872de34626e5 Mon Sep 17 00:00:00 2001 From: Alexey Abramov Date: Tue, 8 Sep 2020 15:53:48 +0200 Subject: [PATCH] =?UTF-8?q?services:=20dovecot:=20Add=20=E2=80=98managesie?= =?UTF-8?q?ve-sieve-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-sieve-capability’ field. * doc/guix.texi (Mail Services): Document it. Signed-off-by: Tobias Geerinckx-Rice --- doc/guix.texi | 10 ++++++++++ gnu/services/mail.scm | 6 ++++++ 2 files changed, 16 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 2e5141d3bb..0947b9f028 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -20092,6 +20092,16 @@ report what the Sieve interpreter supports by default. Defaults to @samp{()}. @end deftypevr +@deftypevr {@code{protocol-configuration} parameter} space-separated-string-list managesieve-sieve-capability +Which SIEVE 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 762662c58c..72dc123f41 100644 --- a/gnu/services/mail.scm +++ b/gnu/services/mail.scm @@ -370,6 +370,12 @@ (define-configuration protocol-configuration "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.") + (managesieve-sieve-capability + (space-separated-string-list '()) + "Which SIEVE 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)