Permalink
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (33 sloc) 1.47 KB
---
dovecot_shared_root: "{{ apnscp_shared_root }}/dovecot"
dovecot_virtual_rundir: "{{ apnscp_filesystem_template }}/siteinfo/var/run/dovecot"
dovecot_relocatable_paths:
- dest: /usr/lib64/dovecot
src: "{{ dovecot_shared_root }}/lib64"
- dest: /usr/libexec/dovecot
src: "{{ dovecot_shared_root }}/libexec"
dovecot_conflicting_conf:
# Overrides userdb/passdb
- 10-auth.conf
# Mailbox namespace inbox=yes
- 10-mail.conf
dovecot_home: /etc/dovecot
config_file: "{{ dovecot_home }}/apnscp.conf"
postfix_auth_socket: /var/spool/postfix/private/auth
dovecot_conf_dir: "{{ dovecot_home }}/conf.d"
# In secure_mode each IMAP connection creates a separate
# process. SSL/TLS also creates a separate process
dovecot_secure_mode: "{{ not (has_low_memory | bool) }}"
# Enable stats module. Requires world-writeable socket.
dovecot_enable_stats: false
# Sieve for spam filtering
dovecot_sieve_dir: "/usr/lib64/dovecot/sieve"
dovecot_sieve_bindir: "/usr/libexec/dovecot/sieve"
# Root folder is prefixed with "INBOX"
dovecot_imap_root: INBOX.
# Messages pulled out of here are learned as Ham
dovecot_learn_ham_folder: "{{ dovecot_imap_root }}Spam"
# Messages sent here are learned as Spam
dovecot_learn_spam_folder: "{{ dovecot_learn_ham_folder }}"
dovecot_mail_plugins: "expire quota acl cgroup fts fts_lucene {{ dovecot_enable_stats | ternary('stats', None) }}"
dovecot_imap_plugins: "$mail_plugins imap_quota snarf imap_acl imap_sieve {{ dovecot_enable_stats | ternary('imap_stats', None) }}"