feat: add support for Dovecot IMAP/POP3 configuration

Introduces functionality to install and configure Dovecot alongside Postfix to provide IMAP/POP3 services.

Changes include:
- Added tasks to install Dovecot packages (core, imapd, pop3d, lmtpd).
- Added templates for main configuration and conf.d files (auth, master, ssl, mail).
- Defined default variables for protocols, SSL settings, and Maildir location.
- Enabled Postfix SASL and LMTP integration options.
- Added a handler to restart the Dovecot service.
- Updated README.md with the new configuration variables and usage instructions.
This commit is contained in:
2026-02-10 17:24:59 -03:00
parent 2861687888
commit 87ce53d1d3
12 changed files with 181 additions and 3 deletions

6
templates/10-ssl.conf.j2 Normal file
View File

@@ -0,0 +1,6 @@
# Dovecot SSL configuration
# Ansible managed: {{ ansible_managed }}
ssl = {{ dovecot_ssl }}
ssl_cert = {{ dovecot_ssl_cert }}
ssl_key = {{ dovecot_ssl_key }}