summaryrefslogtreecommitdiffstats
path: root/roles/IMAP-proxy/files/etc/dovecot
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2016-05-23 00:28:37 +0200
committerGuilhem Moulin <guilhem@fripost.org>2016-05-23 01:07:18 +0200
commit4b59f7a4cfe0f84e2084f01671982b7713a534aa (patch)
treec45803940d32ccd2c1003e311ba28467b9d34a4e /roles/IMAP-proxy/files/etc/dovecot
parent7525e4c5dedea932491c80c3a5b597435a1e351f (diff)
Dovecot imapc: don't hardcode the master IMAP server's IP.
Diffstat (limited to 'roles/IMAP-proxy/files/etc/dovecot')
-rw-r--r--roles/IMAP-proxy/files/etc/dovecot/conf.d/20-imapc.conf17
-rw-r--r--roles/IMAP-proxy/files/etc/dovecot/conf.d/auth-imap.conf.ext17
2 files changed, 0 insertions, 34 deletions
diff --git a/roles/IMAP-proxy/files/etc/dovecot/conf.d/20-imapc.conf b/roles/IMAP-proxy/files/etc/dovecot/conf.d/20-imapc.conf
deleted file mode 100644
index 4c1cf8f..0000000
--- a/roles/IMAP-proxy/files/etc/dovecot/conf.d/20-imapc.conf
+++ /dev/null
@@ -1,17 +0,0 @@
-# Smart IMAP proxying with imapc storage
-#
-# http://dovecot.org/pipermail/dovecot/2011-January/056975.html
-# http://wiki2.dovecot.org/HowTo/ImapcProxy
-# http://wiki2.dovecot.org/Migration/Dsync
-
-imapc_host = localhost
-imapc_port = 993
-
-# Read multiple mails in parallel, improves performance
-mail_prefetch_count = 25
-
-# The list of valid features can be found there
-# http://hg.dovecot.org/dovecot-2.2/file/tip/src/lib-storage/index/imapc/imapc-settings.c
-# (in the struct 'imapc_feature_list imapc_feature_list')
-imapc_features = rfc822.size fetch-headers
-#imapc_features = rfc822.size fetch-headers search
diff --git a/roles/IMAP-proxy/files/etc/dovecot/conf.d/auth-imap.conf.ext b/roles/IMAP-proxy/files/etc/dovecot/conf.d/auth-imap.conf.ext
deleted file mode 100644
index ced2f80..0000000
--- a/roles/IMAP-proxy/files/etc/dovecot/conf.d/auth-imap.conf.ext
+++ /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=localhost port=993
- default_fields = 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=/var/lib/imapproxy/%d/%n
-}