Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to use a dedicated config file #183

Open
nicofrand opened this issue Sep 22, 2023 · 1 comment
Open

Impossible to use a dedicated config file #183

nicofrand opened this issue Sep 22, 2023 · 1 comment

Comments

@nicofrand
Copy link

nicofrand commented Sep 22, 2023

Describe the bug

While trying to use a different configuration file (the disclaimer states I can use config/local.inc.php) I saw that the file is not read at all.

To confirm it I put (and then removed ofc) file_put_contents("/tmp/test-roundcube-config.txt", "config file read"); at the beginning of config/config.inc.php and file_put_contents("/tmp/test-roundcube-local.txt", "local config file read"); in config/local.inc.php (with the same rights) and only /tmp/test-roundcube-config.txt was created.

Context

I use nicofrand.eu as the yunohost root path but misc.nicofrand.eu/webmail for Roundcube.

When using misc.nicofrand.eu.inc.php instead of local.inc.php, the file is read (my custom IMAP configuration still does not though).

Expected behavior

The disclaimer to be right about the filename to use. Maybe even create an empty file with the domain on which roundcube was installed?

Steps to reproduce

In config/config.inc.php I had to add $config['include_host_config'] = true; (https://github.com/roundcube/roundcubemail/wiki/Configuration%3A-Multi-Domain-Setup).

@CodeShakingSheep
Copy link
Member

Just want to add that I had to manually modify permissions for the custom config file manually using chmod g+w <DOMAIN>.inc.php to make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants