2026-02-10 17:24:59 -03:00
|
|
|
# Dovecot authentication configuration
|
|
|
|
|
# Ansible managed: {{ ansible_managed }}
|
|
|
|
|
|
2026-03-11 12:40:37 -03:00
|
|
|
{% if dovecot_major_version is defined and dovecot_major_version is version('2.4', '>=') %}
|
|
|
|
|
auth_allow_cleartext = {{ 'no' if dovecot_ssl == 'required' else 'yes' }}
|
|
|
|
|
{% else %}
|
2026-02-10 17:24:59 -03:00
|
|
|
disable_plaintext_auth = {{ 'yes' if dovecot_ssl == 'required' else 'no' }}
|
2026-03-11 12:40:37 -03:00
|
|
|
{% endif %}
|
2026-02-10 17:24:59 -03:00
|
|
|
auth_mechanisms = {{ dovecot_auth_mechanisms }}
|
|
|
|
|
|
2026-02-10 17:51:23 -03:00
|
|
|
!include auth-dovecot-users.conf.ext
|
2026-02-10 17:24:59 -03:00
|
|
|
!include auth-system.conf.ext
|