|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
7fe9170 |
diff -up ./config/defaults.inc.php.rpm ./config/defaults.inc.php
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
b010eaa |
--- ./config/defaults.inc.php.rpm 2022-03-06 21:32:08.000000000 +0100
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
b010eaa |
+++ ./config/defaults.inc.php 2022-03-07 11:48:41.252956405 +0100
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
b010eaa |
@@ -525,11 +525,11 @@ $config['user_aliases'] = false;
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
f38d059 |
// use this folder to store log files
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
f38d059 |
// must be writeable for the user who runs PHP process (Apache user if mod_php is being used)
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
// This is used by the 'file' log driver.
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
-$config['log_dir'] = RCUBE_INSTALL_PATH . 'logs/';
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
+$config['log_dir'] = '/var/log/roundcubemail/';
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
def9060 |
// Location of temporary saved files such as attachments and cache files
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
f38d059 |
// must be writeable for the user who runs PHP process (Apache user if mod_php is being used)
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
-$config['temp_dir'] = RCUBE_INSTALL_PATH . 'temp/';
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
15e66d0 |
+$config['temp_dir'] = '/var/lib/roundcubemail/temp/';
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
// expire files in temp_dir after 48 hours
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
// possible units: s, m, h, d, w
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
b010eaa |
@@ -763,7 +763,7 @@ $config['mime_magic'] = null;
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
// This is used to derive mime-types from the filename extension or vice versa.
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
// Such a file is usually part of the apache webserver. If you don't find a file named mime.types on your system,
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
// download it from http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
-$config['mime_types'] = null;
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
+$config['mime_types'] = '/etc/mime.types';
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
f38d059 |
// path to imagemagick identify binary (if not set we'll use Imagick or GD extensions)
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
$config['im_identify_path'] = null;
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
b010eaa |
@@ -1452,3 +1452,7 @@ $config['message_show_email'] = false;
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
56ffb44 |
// 0 - Reply-All always
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
56ffb44 |
// 1 - Reply-List if mailing list is detected
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
56ffb44 |
$config['reply_all_mode'] = 0;
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
56ffb44 |
+
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
dffd307 |
+// Keys directory for all users.
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
dffd307 |
+// Must be writeable by PHP process, and not in the web server document root
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
15e66d0 |
+$config['enigma_pgp_homedir'] = '/var/lib/roundcubemail/enigma';
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
7fe9170 |
diff -up ./plugins/enigma/config.inc.php.dist.rpm ./plugins/enigma/config.inc.php.dist
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
b010eaa |
--- ./plugins/enigma/config.inc.php.dist.rpm 2022-03-06 21:32:08.000000000 +0100
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
b010eaa |
+++ ./plugins/enigma/config.inc.php.dist 2022-03-07 11:48:41.252956405 +0100
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
56ffb44 |
@@ -12,10 +12,6 @@ $config['enigma_smime_driver'] = 'phpssl
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
56ffb44 |
// Enables logging of enigma operations (including Crypt_GPG debug info)
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
56ffb44 |
$config['enigma_debug'] = false;
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
56ffb44 |
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
dffd307 |
-// REQUIRED! Keys directory for all users.
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
dffd307 |
-// Must be writeable by PHP process, and not in the web server document root
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
56ffb44 |
-$config['enigma_pgp_homedir'] = null;
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
56ffb44 |
-
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
56ffb44 |
// Location of gpg binary. By default it will be auto-detected.
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
56ffb44 |
// This is also a way to force gpg2 use if there are both 1.x and 2.x on the system.
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
56ffb44 |
$config['enigma_pgp_binary'] = '';
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
7fe9170 |
diff -up ./program/include/iniset.php.rpm ./program/include/iniset.php
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
b010eaa |
--- ./program/include/iniset.php.rpm 2022-03-06 21:32:09.000000000 +0100
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
b010eaa |
+++ ./program/include/iniset.php 2022-03-07 11:49:54.668718920 +0100
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
b010eaa |
@@ -32,7 +32,7 @@ if (!defined('INSTALL_PATH')) {
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
}
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
if (!defined('RCMAIL_CONFIG_DIR')) {
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
920f09c |
- define('RCMAIL_CONFIG_DIR', getenv('ROUNDCUBE_CONFIG_DIR') ?: (INSTALL_PATH . 'config'));
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
+ define('RCMAIL_CONFIG_DIR', '/etc/roundcubemail');
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
}
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
if (!defined('RCUBE_LOCALIZATION_DIR')) {
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
b010eaa |
@@ -40,7 +40,7 @@ if (!defined('RCUBE_LOCALIZATION_DIR'))
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
}
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
define('RCUBE_INSTALL_PATH', INSTALL_PATH);
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
-define('RCUBE_CONFIG_DIR', RCMAIL_CONFIG_DIR.'/');
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
+define('RCUBE_CONFIG_DIR', '/etc/roundcubemail/');
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
def9060 |
// Show basic error message on fatal PHP error
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
b010eaa |
register_shutdown_function('rcmail_error_handler');
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
7fe9170 |
diff -up ./program/lib/Roundcube/bootstrap.php.rpm ./program/lib/Roundcube/bootstrap.php
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
b010eaa |
--- ./program/lib/Roundcube/bootstrap.php.rpm 2022-03-06 21:32:09.000000000 +0100
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
b010eaa |
+++ ./program/lib/Roundcube/bootstrap.php 2022-03-07 11:48:41.252956405 +0100
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
920f09c |
@@ -71,7 +71,7 @@ if (!defined('RCUBE_INSTALL_PATH')) {
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
}
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
if (!defined('RCUBE_CONFIG_DIR')) {
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
- define('RCUBE_CONFIG_DIR', RCUBE_INSTALL_PATH . 'config/');
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
+ define('RCUBE_CONFIG_DIR', '/etc/roundcubemail/');
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
}
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
|
|
![](https://seccdn.libravatar.org/avatar/dab0ef12e09c9a7e3b50832f55629bb97b1efcfb1bbd9200bf1054f22fc18a78?s=16&d=retro) |
0fe0630 |
if (!defined('RCUBE_PLUGINS_DIR')) {
|