summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-02-25 18:58:08 +0000
committerLudovic Courtès <ludo@gnu.org>2023-03-03 17:55:34 +0100
commitc6cbce9ad8ee5fa7b51d8abea83ddc3dd07fa3c6 (patch)
treea86abf8194a63c5aa44dc2b5d96f153cda4aa4f2 /doc
parentbe1435d6687d6597e09676c2d6edd286cc4d5ad8 (diff)
services: mail: Deprecate 'dovecot-service' procedure.
* doc/guix.texi (Mail Services): Replace 'dovecot-service' with 'dovecot-service-type'. * gnu/services/mail.scm (dovecot-service-type): Set default value. (dovecot-service): Deprecate procedure. * gnu/tests/mail.scm (%dovecot-os): Use dovecot-service-type. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi13
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index dabd71f18ce..af15894d49f 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -24709,9 +24709,10 @@ in the subsections below.
24709 24709
24710@subsubheading Dovecot Service 24710@subsubheading Dovecot Service
24711 24711
24712@deffn {Scheme Procedure} dovecot-service [#:config (dovecot-configuration)] 24712@defvar dovecot-service-type
24713Return a service that runs the Dovecot IMAP/POP3/LMTP mail server. 24713Type for the service that runs the Dovecot IMAP/POP3/LMTP mail server,
24714@end deffn 24714whose value is a @code{<dovecot-configuration>} object.
24715@end defvar
24715 24716
24716By default, Dovecot does not need much configuration; the default 24717By default, Dovecot does not need much configuration; the default
24717configuration object created by @code{(dovecot-configuration)} will 24718configuration object created by @code{(dovecot-configuration)} will
@@ -24726,9 +24727,9 @@ For example, to specify that mail is located at @code{maildir~/.mail},
24726one would instantiate the Dovecot service like this: 24727one would instantiate the Dovecot service like this:
24727 24728
24728@lisp 24729@lisp
24729(dovecot-service #:config 24730(service dovecot-service-type
24730 (dovecot-configuration 24731 (dovecot-configuration
24731 (mail-location "maildir:~/.mail"))) 24732 (mail-location "maildir:~/.mail")))
24732@end lisp 24733@end lisp
24733 24734
24734The available configuration parameters follow. Each parameter 24735The available configuration parameters follow. Each parameter