summaryrefslogtreecommitdiffstats
path: root/roles/IMAP/files/etc/dovecot/dovecot-dict-auth.conf.ext
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2017-06-02 14:25:21 +0200
committerGuilhem Moulin <guilhem@fripost.org>2017-06-05 16:44:46 +0200
commitb7a7ceb88ed5b44959920cde170bc6aaa83026bb (patch)
tree57b529319a012b73d1f2b460c2484220e5203b7c /roles/IMAP/files/etc/dovecot/dovecot-dict-auth.conf.ext
parent1395cc86969823d9972517833c614becba8660a0 (diff)
dovecot: enable user iteration and add a cronjob for `doveadm purge -A`
Diffstat (limited to 'roles/IMAP/files/etc/dovecot/dovecot-dict-auth.conf.ext')
-rw-r--r--roles/IMAP/files/etc/dovecot/dovecot-dict-auth.conf.ext12
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/IMAP/files/etc/dovecot/dovecot-dict-auth.conf.ext b/roles/IMAP/files/etc/dovecot/dovecot-dict-auth.conf.ext
new file mode 100644
index 0000000..ecd7134
--- /dev/null
+++ b/roles/IMAP/files/etc/dovecot/dovecot-dict-auth.conf.ext
@@ -0,0 +1,12 @@
+# This file is commonly accessed via passdb {} or userdb {} section in
+# conf.d/auth-dict.conf.ext
+
+# Dictionary URI
+uri = proxy:/var/run/dovecot/auth-proxy:
+
+# Username iteration prefix. Keys under this are assumed to contain usernames.
+iterate_prefix = userdb/
+
+# Should iteration be disabled for this userdb? If this userdb acts only as a
+# cache there's no reason to try to iterate the (partial & duplicate) users.
+iterate_disable = no