File default-configuration.patch of Package roundcubemail-selfcontained
diff -ur roundcubemail-1.4.11.18/config/defaults.inc.php roundcubemail-1.4.11.18.default-configuration/config/defaults.inc.php
--- roundcubemail-1.4.11.18/config/defaults.inc.php 2021-09-01 10:16:03.000000000 +0200
+++ roundcubemail-1.4.11.18.default-configuration/config/defaults.inc.php 2021-09-01 11:06:27.948930836 +0200
@@ -692,7 +692,7 @@
// RewriteRule ^/roundcubemail/[a-zA-Z0-9]{16}/(.*) /roundcubemail/$1 [PT]
// Alias /roundcubemail /var/www/roundcubemail/
// Note: Use assets_path to not prevent the browser from caching assets
-$config['use_secure_urls'] = false;
+$config['use_secure_urls'] = true;
// Allows to define separate server/path for image/js/css files
// Warning: If the domain is different cross-domain access to some
@@ -701,11 +701,11 @@
// <FilesMatch ".(eot|ttf|woff)">
// Header set Access-Control-Allow-Origin "*"
// </FilesMatch>
-$config['assets_path'] = '';
+$config['assets_path'] = '/roundcubemail/assets/';
// While assets_path is for the browser, assets_dir informs
// PHP code about the location of asset files in filesystem
-$config['assets_dir'] = '';
+$config['assets_dir'] = '/usr/share/roundcubemail/public_html/assets/';
// ----------------------------------
@@ -797,7 +797,7 @@
// - 'enchant' - requires the PHP Enchant module
// - 'atd' - install your own After the Deadline server or check with the people at http://www.afterthedeadline.com before using their API
// You can connect to any other googie-compliant service by setting 'spellcheck_uri' accordingly.
-$config['spellcheck_engine'] = 'googie';
+$config['spellcheck_engine'] = 'pspell';
// For locally installed Nox Spell Server or After the Deadline services,
// please specify the URI to call it.
@@ -1195,7 +1195,7 @@
$config['display_next'] = true;
// Default messages listing mode. One of 'threads' or 'list'.
-$config['default_list_mode'] = 'list';
+$config['default_list_mode'] = 'threads';
// 0 - Do not expand threads
// 1 - Expand all threads automatically