3-Implement-IMAP/POP #4

Merged
giacchetta merged 11 commits from 3-Implement-IMAP/POP into main 2026-02-11 22:40:10 +00:00
2 changed files with 13 additions and 0 deletions
Showing only changes of commit b4930c3c7d - Show all commits

View File

@@ -45,6 +45,13 @@ dovecot_enabled: true
# Protocols to enable (imap, pop3, lmtp)
dovecot_protocols: "imap pop3 lmtp"
# IMAP capability adjustments. Set to modify advertised IMAP capabilities.
# Use +CAPABILITY to add, -CAPABILITY to remove.
# Example: "+IMAP4rev1 -LITERAL+ -NOTIFY" removes modern extensions that
# might suppress standard untagged responses.
# Leave empty to use Dovecot defaults.
dovecot_imap_capability: ""
# Mail storage location. Using Maildir in the user's home directory.
dovecot_mail_location: "maildir:~/Maildir"

View File

@@ -2,6 +2,12 @@
# Ansible managed: {{ ansible_managed }}
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