Recent posts
#1
Roundcube Discussion / Upgrade RC 1.5.1 => 1.6.9, Rev...
Last post by utiltiy - Today at 10:09:08 AMHi 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:
My reverse_proxy config:
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:
Code Select
<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:
Code Select
<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>
#2
General Discussion / Re: Nginx roundcube error
Last post by SKaero - January 11, 2025, 04:17:00 PMSome 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.
#3
General Discussion / Nginx roundcube error
Last post by Havouza15 - January 11, 2025, 03:06:34 AMHave 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"
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"
#4
Issues & Bugs / Re: How do I create email addr...
Last post by Sbuko@97 - January 10, 2025, 06:28:29 AMHow to create an email address
#5
Pending Issues / Roundcube unresponsive after c...
Last post by tlweb - January 10, 2025, 05:12:52 AMHi,
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
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
#6
Theme Releases / Re: How to get the Sender colu...
Last post by orlovnv - January 10, 2025, 01:16:43 AMI have same problem, is any solution?
#7
General Discussion / Re: Login fails with error: Co...
Last post by JohnDoh - January 08, 2025, 12:21:04 PMThe 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.
Given you are connecting to localhost I don't think you need SSL/TLS because its the local interface.
#8
Old Style Plug-Ins / Re: Please test DNSBL Block fu...
Last post by gA2134afs - January 08, 2025, 12:01:26 PMAnyone 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
It was based on this code
Also thanks @rosali let me know your details can include in info
#9
General Discussion / Sending e-mails fail with erro...
Last post by cmonty14 - January 07, 2025, 08:45:57 PMHi,
I have completed setup of self-hosted mailserver based on Dovecot, Postfix and Nginx.
Using a mail client I can receive and send e-mails.
Then I deployed roundcube by installing these Debian packages:
roundcube
roundcube-core
roundcube-pgsql
I can open roundcube WebUI entering this URL: webmail.mydomain.com.
When I try to send an e-mail, I get this error message:
[08-Jan-2025 01:17:18 +0000]: <au41b3b7> PHP Error: fsockopen(): Unable to connect to ssl://localhost:465 (Unknown error) (POST /?_task=mail&_unlock=loading1736299038458&_framed=1&_action=send)
[08-Jan-2025 01:17:18 UTC] PHP Deprecated: Creation of dynamic property PEAR_Error::$callback is deprecated in /usr/share/php/PEAR.php on line 905
[08-Jan-2025 01:17:18 +0000]: <au41b3b7> PHP Error: Failed to connect socket: fsockopen(): Unable to connect to ssl://localhost:465 (Unknown error) (POST /?_task=mail&_unlock=loading1736299038458&_framed=1&_action=send)
[08-Jan-2025 01:17:18 +0000]: <au41b3b7> SMTP Error: Connection failed: (Code: -1) in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1787 (POST /?_task=mail&_unlock=loading1736299038458&_framed=1&_action=send)
root@mail:~# nano /etc/roundcube/config.inc.php
The error is related to my roundcube configuration:
$config = [];
// Do not set db_dsnw here, use dpkg-reconfigure roundcube-core to configure database!
include("/etc/roundcube/debian-db-roundcube.php");
// IMAP host chosen to perform the log-in.
// See defaults.inc.php for the option description.
//$config['imap_host'] = 'localhost:993';
$config['imap_host'] = 'localhost:143';
// SMTP server host (for sending mails).
// See defaults.inc.php for the option description.
$config['smtp_host'] = 'localhost:465';
After modifying the config by disabling certificate validation the error is not reproducible.
$config['smtp_conn_options'] = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
),
);
However I want to use SMTPS: 465/tcp that is working with any other mail client.
Please advise how to fix this issue.
THX
I have completed setup of self-hosted mailserver based on Dovecot, Postfix and Nginx.
Using a mail client I can receive and send e-mails.
Then I deployed roundcube by installing these Debian packages:
roundcube
roundcube-core
roundcube-pgsql
I can open roundcube WebUI entering this URL: webmail.mydomain.com.
When I try to send an e-mail, I get this error message:
[08-Jan-2025 01:17:18 +0000]: <au41b3b7> PHP Error: fsockopen(): Unable to connect to ssl://localhost:465 (Unknown error) (POST /?_task=mail&_unlock=loading1736299038458&_framed=1&_action=send)
[08-Jan-2025 01:17:18 UTC] PHP Deprecated: Creation of dynamic property PEAR_Error::$callback is deprecated in /usr/share/php/PEAR.php on line 905
[08-Jan-2025 01:17:18 +0000]: <au41b3b7> PHP Error: Failed to connect socket: fsockopen(): Unable to connect to ssl://localhost:465 (Unknown error) (POST /?_task=mail&_unlock=loading1736299038458&_framed=1&_action=send)
[08-Jan-2025 01:17:18 +0000]: <au41b3b7> SMTP Error: Connection failed: (Code: -1) in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1787 (POST /?_task=mail&_unlock=loading1736299038458&_framed=1&_action=send)
root@mail:~# nano /etc/roundcube/config.inc.php
The error is related to my roundcube configuration:
$config = [];
// Do not set db_dsnw here, use dpkg-reconfigure roundcube-core to configure database!
include("/etc/roundcube/debian-db-roundcube.php");
// IMAP host chosen to perform the log-in.
// See defaults.inc.php for the option description.
//$config['imap_host'] = 'localhost:993';
$config['imap_host'] = 'localhost:143';
// SMTP server host (for sending mails).
// See defaults.inc.php for the option description.
$config['smtp_host'] = 'localhost:465';
After modifying the config by disabling certificate validation the error is not reproducible.
$config['smtp_conn_options'] = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
),
);
However I want to use SMTPS: 465/tcp that is working with any other mail client.
Please advise how to fix this issue.
THX
#10
General Discussion / Login fails with error: Could ...
Last post by cmonty14 - January 07, 2025, 08:38:53 PMHi,
I have completed setup of self-hosted mailserver based on Dovecot, Postfix and Nginx.
Using a mail client I can receive and send e-mails.
Then I deployed roundcube by installing these Debian packages:
roundcube
roundcube-core
roundcube-pgsql
I can open roundcube WebUI entering this URL: webmail.mydomain.com.
When I try to authenticate using username and password, I get this error message:
[08-Jan-2025 00:51:27 +0000]: <bsmdnvvt> IMAP Error: Login failed for thomas@mydomain.com against localhost from 5.56.204.204. Could not connect to ssl://localhost:993: Unknown reason in /usr/share/roundcube/program/lib/Roundcube/rcube_imap.php on line 211 (POST /?_task=login&_action=login)
The error is related to my roundcube configuration:
$config = [];
// Do not set db_dsnw here, use dpkg-reconfigure roundcube-core to configure database!
include("/etc/roundcube/debian-db-roundcube.php");
// IMAP host chosen to perform the log-in.
// See defaults.inc.php for the option description.
$config['imap_host'] = 'localhost:993';
After modifying this config
//$config['imap_host'] = 'localhost:993';
$config['imap_host'] = 'localhost:143';
the error is not reproducible.
However I want to use IMAPS: 993/tcp that is working with any other mail client.
Please advise how to fix this issue.
THX
I have completed setup of self-hosted mailserver based on Dovecot, Postfix and Nginx.
Using a mail client I can receive and send e-mails.
Then I deployed roundcube by installing these Debian packages:
roundcube
roundcube-core
roundcube-pgsql
I can open roundcube WebUI entering this URL: webmail.mydomain.com.
When I try to authenticate using username and password, I get this error message:
[08-Jan-2025 00:51:27 +0000]: <bsmdnvvt> IMAP Error: Login failed for thomas@mydomain.com against localhost from 5.56.204.204. Could not connect to ssl://localhost:993: Unknown reason in /usr/share/roundcube/program/lib/Roundcube/rcube_imap.php on line 211 (POST /?_task=login&_action=login)
The error is related to my roundcube configuration:
$config = [];
// Do not set db_dsnw here, use dpkg-reconfigure roundcube-core to configure database!
include("/etc/roundcube/debian-db-roundcube.php");
// IMAP host chosen to perform the log-in.
// See defaults.inc.php for the option description.
$config['imap_host'] = 'localhost:993';
After modifying this config
//$config['imap_host'] = 'localhost:993';
$config['imap_host'] = 'localhost:143';
the error is not reproducible.
However I want to use IMAPS: 993/tcp that is working with any other mail client.
Please advise how to fix this issue.
THX