summaryrefslogtreecommitdiffstats
path: root/roles/IMAP-proxy/templates/etc/dovecot/conf.d/auth-imap.conf.ext.j2
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-06-25 02:37:48 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:51:48 +0200
commit2a2333cdfb016bb884887f46fbcbfdce6e064d74 (patch)
treee85d7c802436e3c5615ee8eef2ca9c68cd5eb895 /roles/IMAP-proxy/templates/etc/dovecot/conf.d/auth-imap.conf.ext.j2
parente9e8ce2add2b7c020daa02228e506e7c02828c15 (diff)
Assume a DNS entry for each role.
E.g., ldap.fripost.org, ntp.fripost.org, etc. (Ideally the DNS zone would be provisioned by ansible, too.) It's a bit unclear how to index the subdomains (mx{1,2,3}, etc), though.
Diffstat (limited to 'roles/IMAP-proxy/templates/etc/dovecot/conf.d/auth-imap.conf.ext.j2')
-rw-r--r--roles/IMAP-proxy/templates/etc/dovecot/conf.d/auth-imap.conf.ext.j217
1 files changed, 0 insertions, 17 deletions
diff --git a/roles/IMAP-proxy/templates/etc/dovecot/conf.d/auth-imap.conf.ext.j2 b/roles/IMAP-proxy/templates/etc/dovecot/conf.d/auth-imap.conf.ext.j2
deleted file mode 100644
index 5e2b28c..0000000
--- a/roles/IMAP-proxy/templates/etc/dovecot/conf.d/auth-imap.conf.ext.j2
+++ /dev/null
@@ -1,17 +0,0 @@
-# Authentication via remote IMAP server. Included from auth.conf.
-#
-# <doc/wiki/PasswordDatabase.IMAP.txt>
-
-passdb {
- driver = imap
- args = host={{ IMAP }} port=143
- default_fields = userdb_imapc_user=%u userdb_imapc_password=%w
-}
-
-# "prefetch" user database means that the passdb already provided the
-# needed information and there's no need to do a separate userdb lookup.
-# <doc/wiki/UserDatabase.Prefetch.txt>
-userdb {
- driver = prefetch
- default_fields = home=/home/imapproxy/%d/%n
-}