Subject: [bug#66935] [PATCH 4/4] services: dovecot: Fix incorrect type for ssl? field.

From: Bruno Victal <[email-masked]>
Date: Sat, 4 Nov 2023 19:06:01 +0000

* gnu/services/mail.scm (inet-listener-configuration)[ssl?]: Change value type
to string. Change default value to "yes".
* doc/guix.texi: Update it.

Change-Id: I83ac8de275d7e410e218b5eb2b176fb45a42977e
---
 doc/guix.texi         | 2 +-
 gnu/services/mail.scm | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 5242e89104..ed5ee4e583 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -26674,7 +26674,7 @@ Mail Services
 @item @code{port} (type: non-negative-integer)
 The port on which to listen.
 
-@item @code{ssl?} (default: @code{#t}) (type: boolean)
+@item @code{ssl?} (default: @code{yes}) (type: string)
 Whether to use SSL for this service; @samp{yes}, @samp{no}, or
 @samp{required}.
 @end table
diff --git a/gnu/services/mail.scm b/gnu/services/mail.scm
index d4b050f73e..170c1f5dfc 100644
--- a/gnu/services/mail.scm
+++ b/gnu/services/mail.scm
@@ -269,7 +269,7 @@ (define-configuration inet-listener-configuration
    non-negative-integer
    "The port on which to listen.")
   (ssl?
-   (boolean #t)
+   (string "yes")
    "Whether to use SSL for this service; @samp{yes}, @samp{no}, or
 @samp{required}."))
 
-- 
2.41.0