Good morning or afternoon.
I want to extend my dovecot configuration with a replication feature,
[found on the internet][1]. I am almost there, but I am stuck with a
situation where some configuration lines are not implemented within the
<dovecot-configuration> record. With most of them, I concluded that
they do not appear to be vital to the configuration and decided to not
include them in my implementation.
However, I must find a way to incorporate a "doveadm_password" key in my
implementation, without throwing away all the other nice code that I had
already written. Is it possible to somehow merge
<dovecot-configuration> and <opaque-dovecot-configuration> for a single
(service dovecot-service-type <merged-configuration>) call?
Here is my current top-level implementation of the
<dovecot-configuration>:
(define dovecot-configuration*
((@ (gnu services mail) dovecot-configuration)
(disable-plaintext-auth? #t)
(mail-location "maildir:~/Maildir")
(mail-plugins (list "notify"
"replication"))
(namespaces (list dovecot-namespace-marekpasnikowski))
(passdbs (list dovecot-passdb-passwd-file))
(protocols (list dovecot-protocol-imap
dovecot-protocol-lmtp))
(services (list dovecot-service-aggregator
dovecot-service-doveadm
dovecot-service-imap-login
dovecot-service-lmtp
dovecot-service-replicator))
(ssl? "required")
(ssl-cert dovecot-ssl-cert-path)
(ssl-key dovecot-ssl-key-path)
(ssl-min-protocol "TLSv1.2")
(userdbs (list dovecot-userdb-static-configuration))))
[1]: https://shoreup.co.uk/two-way-dovecot-server-replication/