Files
ansible_role_mail/templates/dovecot.conf.j2
Luciano Giacchetta d61a4ddcef
All checks were successful
Molecule Tests / molecule-tests (pull_request) Successful in 7m18s
fix: Dovecot in Debian Trixie => 2.4 has add / deprecated configurations
2026-03-11 12:40:37 -03:00

18 lines
475 B
Django/Jinja

# Dovecot configuration file
# Ansible managed: {{ ansible_managed }}
{% if dovecot_major_version is defined and dovecot_major_version is version('2.4', '>=') %}
dovecot_config_version = 2.4.0
dovecot_storage_version = 2.4.0
{% endif %}
protocols = {{ dovecot_protocols }}
{% if dovecot_imap_capability | default('') | length > 0 %}
protocol imap {
imap_capability = {{ dovecot_imap_capability }}
}
{% endif %}
# Dictionary of configuration files
!include conf.d/*.conf