Recent posts
#91
General Discussion / Re: Im confused from updating ...
Last post by dea75 - November 03, 2025, 04:30:23 PMOhhh good !
it works like a charm !
I'll try the various functions but everything seems to be working as it should.
However, I think Roundcube should specify recommended nginx settings. I found very little about this, and all the settings were tied to older versions (from at least a few years ago).
Thanks again!
it works like a charm !
I'll try the various functions but everything seems to be working as it should.
However, I think Roundcube should specify recommended nginx settings. I found very little about this, and all the settings were tied to older versions (from at least a few years ago).
Thanks again!
#92
General Discussion / Re: Im confused from updating ...
Last post by SKaero - November 03, 2025, 10:49:19 AMThe error log shows that nginx is not spiting the path information so the issue is the nginx config not permissions.
Looking at your full config:
I think this block is capturing all the requests, lets remove it.
You can remove these since the change in 1.7 they are no longer in the public directly and therefore can't be accessed anyways.
This block would only look at paths that end in .php, the problem is the static.php file paths don't end that way "/var/www/html/public_html/static.php/skins/elastic/deps/bootstrap.min.css" so lets replace with the block below.
This block comes from alec's post and it looks for .php anywhere in the request path and I modified the fastcgi_pass to point to your unix socket. Try that and see if it works or gives you any different errors.
Looking at your full config:
Code Select
root /var/www/html/public_html;
index index.php;
location / {
try_files $uri $uri/ /index.php?q=$uri&$args;
}
location ~ ^/(README.md|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ {
deny all;
}
location ~ ^/(config|temp|logs|SQL|bin)/ {
deny all;
}
location ~ /\. {
deny all;
access_log off;
log_not_found off;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
include fastcgi_params;
}
I think this block is capturing all the requests, lets remove it.
Code Select
location / {
try_files $uri $uri/ /index.php?q=$uri&$args;
}
You can remove these since the change in 1.7 they are no longer in the public directly and therefore can't be accessed anyways.
Code Select
location ~ ^/(README.md|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ {
deny all;
}
location ~ ^/(config|temp|logs|SQL|bin)/ {
deny all;
}
This block would only look at paths that end in .php, the problem is the static.php file paths don't end that way "/var/www/html/public_html/static.php/skins/elastic/deps/bootstrap.min.css" so lets replace with the block below.
Code Select
location ~ \.php$ {
try_files $uri =404;
fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
include fastcgi_params;
}
This block comes from alec's post and it looks for .php anywhere in the request path and I modified the fastcgi_pass to point to your unix socket. Try that and see if it works or gives you any different errors.
Code Select
location ~ \.php(/.+)?$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
}
#93
General Discussion / Re: How to restore deleted mai...
Last post by showfer - November 03, 2025, 08:17:48 AMSee reply #1 above from JohnDoh: ask your email provider if they have a backup.
Quote from: JohnDoh on September 12, 2011, 10:55:20 AMboth roundcube and squirrelmail are just mail clients so they wont really help you. your best chance is to contact your mail provider as soon as possible and ask if they can restore the emails from backups.
#94
Pending Issues / Re: Cross Site Scripting detec...
Last post by berrypatrick01 - November 03, 2025, 05:52:38 AMHi SKaero,
Our WAF configuration is the standard AWS set.
We have implemented the following fix which works when sending new emails:
$config['htmleditor'] = 1;
$config['dont_override'] = ['htmleditor'];
However, this is not working for saving drafts or editing as new existing emails.
Please can you advise if there is a workaround for this?
Our WAF configuration is the standard AWS set.
We have implemented the following fix which works when sending new emails:
$config['htmleditor'] = 1;
$config['dont_override'] = ['htmleditor'];
However, this is not working for saving drafts or editing as new existing emails.
Please can you advise if there is a workaround for this?
#95
General Discussion / Re: How to restore deleted mai...
Last post by selrat26 - November 03, 2025, 03:18:17 AMHi All,
I have deleted the emails accidently. Is there any options are availabel to restore ? I have celared fromt he trash folders too
Your help will be much appreciated
I have deleted the emails accidently. Is there any options are availabel to restore ? I have celared fromt he trash folders too
Your help will be much appreciated
#96
General Discussion / Re: Skin options
Last post by redwbl - November 02, 2025, 06:09:14 PM+1
I'm no help, but came here looking for the same.
I'm no help, but came here looking for the same.
#97
General Discussion / Re: Im confused from updating ...
Last post by dea75 - November 02, 2025, 04:12:42 PM.... version 1.6.11 works perfectly.
The roundcube directory has owner www-data, upgrade to 1.7.beta done by "install-to.sh in /bin", as usual.
The roundcube directory has owner www-data, upgrade to 1.7.beta done by "install-to.sh in /bin", as usual.
#98
General Discussion / Re: Im confused from updating ...
Last post by Dmitry42 - November 02, 2025, 12:46:39 PMwhat about file access rights to files and folders in /var/www/html/ ?
#99
Release Discussion / Re: changing mail host > no co...
Last post by turbo - November 01, 2025, 11:23:12 PMQuote from: SKaero on November 01, 2025, 01:18:40 PMIf you changed the mail_host in the database before you logged in it shouldn't have created a new user since it looks for that match to find a user record. Turning off the "auto_create_user" if it can't find a matching username and mail host the login will fail.
that is exactly what I did and in the order I listed. BUT I found my mistake! The new host in the config file was tls://hostname.com and I entered this the exact same way; tls://hostname.com and that incorrect entry created the new user.
As I tried it again today, entering in the config file tls://hostname.com and in the database only hostname.com everything was working fine. Addressbooks were accessible.
Just wanted to finish this up.
Thank you for your time and help.
#100
Release Discussion / Re: changing mail host > no co...
Last post by SKaero - November 01, 2025, 01:18:40 PMIf you changed the mail_host in the database before you logged in it shouldn't have created a new user since it looks for that match to find a user record. Turning off the "auto_create_user" if it can't find a matching username and mail host the login will fail.