config/mail: add dovecot service for POP3
This commit is contained in:
parent
55d084bcfc
commit
a553bd2aee
1 changed files with 14 additions and 1 deletions
|
@ -56,4 +56,17 @@ match from any auth for any action \"relay\"
|
|||
(config-file
|
||||
(opensmtpd-config #:domain domain
|
||||
#:aliases aliases
|
||||
#:dkim-selector dkim-selector))))))
|
||||
#:dkim-selector dkim-selector))))
|
||||
|
||||
(service dovecot-service-type
|
||||
(dovecot-configuration
|
||||
(mail-location "maildir:~/mail")
|
||||
(ssl-cert (string-append "<" (cert-file domain)))
|
||||
(ssl-key (string-append "<" (key-file domain)))
|
||||
(protocols (list (protocol-configuration (name "pop3"))))
|
||||
(services (list (service-configuration
|
||||
(kind "pop3-login")
|
||||
(listeners
|
||||
;; Disable TLS-only port.
|
||||
(list (inet-listener-configuration
|
||||
(protocol "pop3s") (port 0)))))))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue