From 12691706e9ce409db2ee01d0b701211c6ad1ca52 Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Sun, 10 Nov 2019 08:51:48 +0000
Subject: [PATCH] Roundcube config updates for 1.4.0

Sets the default skin to Elastic, and points MIME magic files at the
correct system-wide locations.
---
 roles/mail/templates/roundcube/config.inc.php | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/roles/mail/templates/roundcube/config.inc.php b/roles/mail/templates/roundcube/config.inc.php
index d354cc36..159b9a7d 100644
--- a/roles/mail/templates/roundcube/config.inc.php
+++ b/roles/mail/templates/roundcube/config.inc.php
@@ -95,7 +95,7 @@ $config['des_key'] = '{{ roundcube_secret }}';
 //$config['cipher_method'] = 'AES-256-CBC';
 
 // skin name: folder from skins/
-$config['skin'] = 'larry';
+$config['skin'] = 'elastic';
 $config['skin_logo'] = '/images/r_logo.png';
 
 // Session cookie settings.
@@ -110,6 +110,10 @@ $config['password_charset'] = 'UTF-8';
 // Use this charset as fallback for message decoding
 $config['default_charset'] = 'UTF-8';
 
+// Use the system-wide mime.types and magic files.
+$config['mime_magic'] = '/etc/apache2/magic';
+$config['mime_types'] = '/etc/mime.types';
+
 // Do not leak the Roundcube version.
 $config['useragent'] = 'Roundcube Webmail';
 
@@ -167,3 +171,5 @@ $config['prefer_html'] = false;
 $config['logout_purge'] = true;
 $config['logout_expunge'] = true;
 
+// Reply-all goes to list if mailing list is detected.
+$config['reply_all_mode'] = 1;
-- 
GitLab