From 4dfed29ff7c1322a2b26fd3d4e2c2f8132b0ffe9 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 7 Jan 2015 17:24:51 +0100 Subject: [PATCH] Enable dovecot auth cache --- root/etc/e-smith/db/configuration/defaults/dovecot/PassDBArgs | 1 + root/etc/e-smith/templates/etc/dovecot/dovecot.conf/014AuthCache | 1 + 2 files changed, 2 insertions(+) create mode 100644 root/etc/e-smith/db/configuration/defaults/dovecot/PassDBArgs create mode 100644 root/etc/e-smith/templates/etc/dovecot/dovecot.conf/014AuthCache diff --git a/root/etc/e-smith/db/configuration/defaults/dovecot/PassDBArgs b/root/etc/e-smith/db/configuration/defaults/dovecot/PassDBArgs new file mode 100644 index 0000000..723796a --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/dovecot/PassDBArgs @@ -0,0 +1 @@ +cache_key=%n%r%l diff --git a/root/etc/e-smith/templates/etc/dovecot/dovecot.conf/014AuthCache b/root/etc/e-smith/templates/etc/dovecot/dovecot.conf/014AuthCache new file mode 100644 index 0000000..04309c3 --- /dev/null +++ b/root/etc/e-smith/templates/etc/dovecot/dovecot.conf/014AuthCache @@ -0,0 +1 @@ +auth_cache_size = { $dovecot{'AuthCacheSize'} || '5242880' }