From 4b59f7a4cfe0f84e2084f01671982b7713a534aa Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 23 May 2016 00:28:37 +0200 Subject: Dovecot imapc: don't hardcode the master IMAP server's IP. --- roles/IMAP-proxy/files/etc/dovecot/conf.d/20-imapc.conf | 17 ----------------- .../files/etc/dovecot/conf.d/auth-imap.conf.ext | 17 ----------------- 2 files changed, 34 deletions(-) delete mode 100644 roles/IMAP-proxy/files/etc/dovecot/conf.d/20-imapc.conf delete mode 100644 roles/IMAP-proxy/files/etc/dovecot/conf.d/auth-imap.conf.ext (limited to 'roles/IMAP-proxy/files/etc/dovecot') 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. -# -# - -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. -# -userdb { - driver = prefetch - default_fields = home=/var/lib/imapproxy/%d/%n -} -- cgit v1.2.3