Roundcube Community Forum

 

Recent posts

#1
Roundcube Discussion / Re: Upgrade RC 1.5.1 => 1.6.9,...
Last post by utiltiy - Today at 08:27:48 AM
Quote from: JohnDoh on January 13, 2025, 04:23:54 PMI'm not certain about this but have a look at the `request_path` config var.

Thanky you @JohnDoh

Now it works with adding:
$config['request_path'] = '/';in my config.inc.php
#2
Roundcube Discussion / Re: Upgrade RC 1.5.1 => 1.6.9,...
Last post by JohnDoh - January 13, 2025, 04:23:54 PM
I'm not certain about this but have a look at the `request_path` config var. From the changelog:
QuoteAdd workaround for using Roundcube behind a reverse proxy with a subpath: 'request_path' option (#8738, #8770)
These are the linked issues:
https://github.com/roundcube/roundcubemail/issues/8738
https://github.com/roundcube/roundcubemail/issues/8770
#3
Roundcube Discussion / Upgrade RC 1.5.1 => 1.6.9, Rev...
Last post by utiltiy - January 13, 2025, 10:09:08 AM
Hi all,

i use Roundcube on a Proxmox Container with Debian / Testing a long time. Now aftern an upgrade to RC 1.6.9 works my Reverse Proxy Configuration not more.

When i call the local ip from the roundcube host with my browser works all as before after the upgrade, if i will connect over the proxy server to my internal roundcube host comes after the login an error message with denied access.

I use apache on both maschines (reverse and roundcube host)

What is the diffrent between these both versions with using reverse proxy?

My local config:
<VirtualHost *:443>

 ServerAdmin xxx@xxx.xx
 ServerName xxx.xxx.xxx.xx
 ServerAlias 192.168.1.154 mail
 
 DocumentRoot /var/lib/roundcube/public_html
 
 Protocols h2 http/1.1
 
 ErrorLog ${APACHE_LOG_DIR}/error.log
 SetEnvIf Remote_Addr "127\.0\.0\.1" dontlog
 CustomLog ${APACHE_LOG_DIR}/access.log combined env=!dontlog
 
 SSLEngine on
 SSLCertificateFile /opt/sslcert/fullchain.pem
 SSLCertificateKeyFile /opt/sslcert/privkey.pem
 
 Include /etc/phpmyadmin/apache.conf
 Include /etc/roundcube/apache.conf
 
 RewriteEngine On
 #RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/.*
 #RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [QSA,L,R=301]
 
 # rspamd
 RewriteRule ^/rspamd$ /rspamd/ [R,L]
 RewriteRule ^/rspamd/(.*) http://localhost:11334/$1 [P,L]
 ProxyPass "/rspamd" "http://localhost:11334"
 ProxyPassReverse "/rspamd" "http://localhost:11334"
 
</VirtualHost>

My reverse_proxy config:
<VirtualHost *:443>

   ServerAdmin xxx@xxx.xx
   ServerName xxx.xxx.xxx.xx

   SetEnvIf Request_URI ^/server-status$ dontlog
   CustomLog /var/log/apache2/access.log combined env=!dontlog
   ErrorLog /var/log/apache2/error.log
   LogLevel warn

   ModPagespeedEnableCachePurge on
   ModPagespeedPurgeMethod PURGE

   Protocols h2 http/1.1

   # LetsEncrypt
   SSLCertificateKeyFile /etc/letsencrypt/live/xxx.xxx.xxx.xx/privkey.pem
   SSLCertificateFile /etc/letsencrypt/live/xxx.xxx.xxx.xx/fullchain.pem

   SSLEngine on
   LimitXMLRequestBody 0
   LimitRequestBody 0

   RewriteEngine On

   ## roundcube mail
   #ProxyRequests Off
   ProxyPreserveHost On
   ProxyPass / http://192.168.178.1/roundcube/
   ProxyPassReverse / http://192.168.1.154/roundcube/

    <Proxy *>
        AuthUserFile /var/www/https/conf/.htpasswd
        AuthName EnterPassword
        AuthType Basic
        Require valid-user
        #Require all granted
    </Proxy>

</VirtualHost>
#4
General Discussion / Re: Nginx roundcube error
Last post by SKaero - January 11, 2025, 04:17:00 PM
Some browser is requesting a file that doesn't exist. It looks like the user browser is encoding "?s=" in the url so the file doesn't load. Bottom line there isn't anything wrong with Roundcube or Nginx the problem is on the end users browser side.
#5
General Discussion / Nginx roundcube error
Last post by Havouza15 - January 11, 2025, 03:06:34 AM
Have 1.6.7
Get these errors in the nginx error log. What can be wrong

025/01/11 08:56:43 [error] 99664#99664: *1712 open() "/opt/www/roundcubemail/skins/elastic/images/favicon.ico?s=1722764715" failed (2: No such file or directory), client: 104.164.173.181, server: mail.pissouri.org, request: "GET /mail/skins/elastic/images/favicon.ico%3Fs%3D1722764715 HTTP/1.1", host: "mail.pissouri.org"
2025/01/11 08:59:50 [error] 99664#99664: *1800 open() "/opt/www/roundcubemail/skins/elastic/images/favicon.ico?s=1722764715" failed (2: No such file or directory), client: 154.28.229.24, server: mail.mxmail.se, request: "GET /mail/skins/elastic/images/favicon.ico%3Fs%3D1722764715 HTTP/1.1", host: "mail.mxmail.se"
2025/01/11 08:59:50 [error] 99664#99664: *1800 open() "/opt/www/roundcubemail/skins/elastic/deps/bootstrap.min.css?s=1722764721" failed (2: No such file or directory), client: 154.28.229.24, server: mail.mxmail.se, request: "GET /mail/skins/elastic/deps/bootstrap.min.css%3Fs%3D1722764721 HTTP/1.1", host: "mail.mxmail.se"
2025/01/11 08:59:53 [error] 99664#99664: *1802 open() "/opt/www/roundcubemail/skins/elastic/images/favicon.ico?s=1722764715" failed (2: No such file or directory), client: 104.164.173.110, server: mail.pissouri.org, request: "GET /mail/skins/elastic/images/favicon.ico%3Fs%3D1722764715 HTTP/1.1", host: "mail.pissouri.org"
2025/01/11 08:59:56 [error] 99664#99664: *1803 open() "/opt/www/roundcubemail/skins/elastic/images/favicon.ico?s=1722764715" failed (2: No such file or directory), client: 104.164.173.211, server: _, request: "GET /mail/skins/elastic/images/favicon.ico%3Fs%3D1722764715 HTTP/1.1", host: "webmail.mxmail.se"
2025/01/11 08:59:56 [error] 99664#99664: *1806 open() "/opt/www/roundcubemail/skins/elastic/images/favicon.ico?s=1722764715" failed (2: No such file or directory), client: 104.164.173.14, server: mail.jv80.se, request: "GET /mail/skins/elastic/images/favicon.ico%3Fs%3D1722764715 HTTP/1.1", host: "mail.jv80.se"
2025/01/11 08:59:56 [error] 99664#99664: *1804 open() "/opt/www/roundcubemail/skins/elastic/images/favicon.ico?s=1722764715" failed (2: No such file or directory), client: 104.164.173.204, server: _, request: "GET /mail/skins/elastic/images/favicon.ico%3Fs%3D1722764715 HTTP/1.1", host: "mail.mxmail.pro"
2025/01/11 08:59:56 [error] 99664#99664: *1805 open() "/opt/www/roundcubemail/skins/elastic/images/favicon.ico?s=1722764715" failed (2: No such file or directory), client: 104.164.173.11, server: mail.mediasafe.pro, request: "GET /mail/skins/elastic/images/favicon.ico%3Fs%3D1722764715 HTTP/1.1", host: "mail.mediasafe.pro"
#6
Issues & Bugs / Re: How do I create email addr...
Last post by Sbuko@97 - January 10, 2025, 06:28:29 AM
How to create an email address
#7
Pending Issues / Roundcube unresponsive after c...
Last post by tlweb - January 10, 2025, 05:12:52 AM
Hi,

This is the first time i'm posting here. I've got a problem with Roundcibe 1.6.9 on PHP 8.1.

When i open an e-mail from ABN AMRO roundcube becomes completely unresponsive. The PHP stops responding and i can't open new instances in new browsers too.

I get this error in the log of roundcube:

[10-Jan-2025 10:49:51 +0100]: <ar25461d> PHP Error: cURL error 56: TCP connection reset by peer (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://www.abnamro.nl/favicon.ico in /var/www/html/roundcubemail-1.6.9/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 276 (GET /roundcube/?_task=utils&_action=modcss&_u=tmp-889c566a8bee81fcc88394de583c97f7.css&_c=message-htmlpart1&_p=v1)

Anyone has any idea why failing to fetch an image crashes the whole PHP? Seems like this should not happen.

Any help is greatly appreciated.

Kind regards,

Tom
#8
Theme Releases / Re: How to get the Sender colu...
Last post by orlovnv - January 10, 2025, 01:16:43 AM
I have same problem, is any solution?
#9
General Discussion / Re: Login fails with error: Co...
Last post by JohnDoh - January 08, 2025, 12:21:04 PM
The issue is that you are trying to connect to localhost and PHP cannot validate your cert because the hostname and the CN on the cert do not match. see https://github.com/roundcube/roundcubemail/wiki/FAQ#problems-connecting-imapsmtp-server-via-ssltls

Given you are connecting to localhost I don't think you need SSL/TLS because its the local interface.
#10
Old Style Plug-Ins / Re: Please test DNSBL Block fu...
Last post by gA2134afs - January 08, 2025, 12:01:26 PM
Anyone looking for similar plugin can use this: https://packagist.org/packages/nemavi/dnsbl
It was based on this code :)
Also thanks @rosali let me know your details can include in info :)