Username:
TITLE
Roundcube config.local.php not read
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Product version: Plesk Obsidian 18.0.65.2
OS version: AlmaLinux 9.5 x86_64
Build date: 2024/11/22 08:00
Revision: 738ea4038904b53a068e522aa7c64390f4f29d5f
PROBLEM DESCRIPTION
As the release notes for Plesk Obsidian 18.0.65 indicated:
Unfortunately, it doesn't seem that any customizations in this file are being read.
I have found Resolved - Roundcube config.local.php on the forums, but this doesn't solve my issue.
STEPS TO REPRODUCE
ACTUAL RESULT
Most obvious issues:
EXPECTED RESULT
I expect the local custom configuration to be loaded correctly.
ANY ADDITIONAL INFORMATION
Permissions:
Content of file /usr/share/psa-roundcube/config/config.inc.php :
Content of file /usr/share/psa-roundcube/config/config.local.php (note: I have redacted comment line and server hostname) :
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Help with sorting out
TITLE
Roundcube config.local.php not read
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Product version: Plesk Obsidian 18.0.65.2
OS version: AlmaLinux 9.5 x86_64
Build date: 2024/11/22 08:00
Revision: 738ea4038904b53a068e522aa7c64390f4f29d5f
PROBLEM DESCRIPTION
As the release notes for Plesk Obsidian 18.0.65 indicated:
Added the separate/usr/share/psa-roundcube/config/config.local.php
file to the Roundcube webmail configuration. This file can be used to store customer’s customizations, so that they would not be lost when updating Roundcube. (PPPM-14193)
Unfortunately, it doesn't seem that any customizations in this file are being read.
I have found Resolved - Roundcube config.local.php on the forums, but this doesn't solve my issue.
STEPS TO REPRODUCE
- (Re)install Roundcube 1.6.9.x on AlmaLinux 9 with Plesk Obsidian 18.0.65 or higher.
- Create PHP file /usr/share/psa-roundcube/config/config.local.php with for example:
PHP:$config['plugins'] = array('archive', 'managesieve', 'markasjunk', 'show_additional_headers', 'zipdownload');
- Login to webmail for any domain on the server.
- Notice that the 'Archive' doesn't appear in the menu bar for a selected message. The 'archive' plugin should automatically provide this. It's also still possible to change passwords through Roundcube ('set_password' is not included in the new plugins array)
ACTUAL RESULT
Most obvious issues:
- The 'Archive' doesn't appear in the menu bar for a selected message. The 'archive' plugin should automatically provide this.
- It's also still possible to change passwords through Roundcube (even though 'set_password' is not included in the new plugins array used in
config.local.php
)
EXPECTED RESULT
I expect the local custom configuration to be loaded correctly.
ANY ADDITIONAL INFORMATION
Permissions:
Bash:
ls -l /usr/share/psa-roundcube/config/
total 80
-rw-r-----. 1 root roundcube_sysgroup 461 Nov 12 10:27 config.inc.php
-rw-r-----. 1 root roundcube_sysgroup 346 Dec 10 14:57 config.local.php
-rw-r-----. 1 root roundcube_sysgroup 65292 Oct 29 15:24 defaults.inc.php
-rw-r--r--. 1 root root 2806 Oct 29 15:24 mimetypes.php
-rw-r--r--. 1 root root 687 Oct 29 15:24 php.ini.tpl
Content of file /usr/share/psa-roundcube/config/config.inc.php :
PHP:
<?php
// Copyright 1999-2024. WebPros International GmbH. All rights reserved.
// Do not modify this file, as your changes would be lost on Plesk update.
// Edit /usr/share/psa-roundcube/config/config.local.php instead.
$config = array();
$config['db_dsnw'] = 'mysql://roundcube:DdLhSY389fETc9@localhost/roundcubemail';
if (is_readable('/usr/share/psa-roundcube/config/config.local.php')) {
include '/usr/share/psa-roundcube/config/config.local.php';
}
Content of file /usr/share/psa-roundcube/config/config.local.php (note: I have redacted comment line and server hostname) :
PHP:
<?php
# Comment line
$config['force_https'] = true;
$config['use_https'] = false;
$config['smtp_port'] = 587;
$config['smtp_server'] = 'tls://server.example.com';
$config['plugins'] = array('archive', 'attachment_reminder', 'hide_blockquote', 'managesieve', 'markasjunk', 'show_additional_headers', 'zipdownload');
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Help with sorting out