smtp error (-1) error after updating roundcubemail-1.6.0

Nova Web LTD

Verified User
Joined
Jan 23, 2014
Messages
41
yesterday i updated roundcubemail and the server gave this error:

smtp error (-1) connection to server failed

With no apparent motion, he doesn't like the updated version.

The roundecube logs are:

[09-Aug-2022 09:35:37 +0200]: <avtl4m6p> PHP Error: Connection refused (POST / rou /? _ Task = mail & _unlock = loading1660030538936 & _framed = 1 & _action = send)
[09-Aug-2022 09:35:37 +0200]: <avtl4m6p> PHP Error: Failed to connect socket: Connection refused (POST / rou /? _ Task = mail & _unlock = loading1660030538936 & _framed = 1 & _action = send)
[09-Aug-2022 09:35:37 +0200]: <avtl4m6p> SMTP Error: Connection failed: (Code: -1) in /var/www/html/rou/program/lib/Roundcube/rcube.php on line 1795 (POST / rou /? _ task = mail & _unlock = loading1660030538936 & _framed = 1 & _action = send)

I only partially solved i dowgrade the version to roundecube 1.5.3 which works and not from this error.
If I put the version 1.6.0 the webmail doesn't work.
Checks carried out:

1 - disabled the firewall (done)
2 - active exim check (done)
3 $ config ['smtp_port'] = 465; (done)

Any other ideas? thank you
 
yesterday i updated roundcubemail and the server gave this error:

smtp error (-1) connection to server failed

With no apparent motion, he doesn't like the updated version.

The roundecube logs are:

[09-Aug-2022 09:35:37 +0200]: <avtl4m6p> PHP Error: Connection refused (POST / rou /? _ Task = mail & _unlock = loading1660030538936 & _framed = 1 & _action = send)
[09-Aug-2022 09:35:37 +0200]: <avtl4m6p> PHP Error: Failed to connect socket: Connection refused (POST / rou /? _ Task = mail & _unlock = loading1660030538936 & _framed = 1 & _action = send)
[09-Aug-2022 09:35:37 +0200]: <avtl4m6p> SMTP Error: Connection failed: (Code: -1) in /var/www/html/rou/program/lib/Roundcube/rcube.php on line 1795 (POST / rou /? _ task = mail & _unlock = loading1660030538936 & _framed = 1 & _action = send)

I only partially solved i dowgrade the version to roundecube 1.5.3 which works and not from this error.
If I put the version 1.6.0 the webmail doesn't work.
Checks carried out:

1 - disabled the firewall (done)
2 - active exim check (done)
3 $ config ['smtp_port'] = 465; (done)

Any other ideas? thank you
Maybe its about the missing missing themes in the new update, try here:

Then there was another issue about wrong links with exim:

 
Last edited:
Hi

i have done update 1.6.0. i received an smtp error.

to resolve this issue

php1_release 7.3 was made.

Build exim version 4.96 has been made

the error has been fixed and is running smoothly
 
Same error, symlink exists and didn't help:
[17-Jan-2023 11:42:23 +0200]: <uc29p7cc> PHP Error: Connection refused (POST /roundcube/?_task=mail&_unlock=loading1673948537799&_framed=1&_action=send)
[17-Jan-2023 11:42:23 +0200]: <uc29p7cc> PHP Error: Failed to connect socket: Connection refused (POST /roundcube/?_task=mail&_unlock=loading1673948537799&_framed=1&_action=send)
[17-Jan-2023 11:42:23 +0200]: <uc29p7cc> SMTP Error: Connection failed: (Code: -1) in /var/www/html/roundcubemail-1.6.0/program/lib/Roundcube/rcube.php on line 1795 (POST /roundcube/?_task=mail&_unlock=loading1673948537799&_framed=1&_action=send)

Cloudlinux 8.7, default DA php-fpm 8.1, nginx+apache, channel: current
 
solved by adding to /etc/hosts:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
there was only record for IPv6, but I don't use IPv6
 
localhost4 localhost4.localdomain4
Those are probably not needed, I never use them. Probably because from the old days localhost.localdomain was expected to be ipv4. But it can't do harm.
But indeed localhost localhost.localdomain should be present.
And with ip6 same for localhost6
::1 localhost which could be accompanied by localhost6.localdomain6.

However maybe that should become localhost.localdomain to as Chrome wants to have that remove too:
Currently, "localhost6" and "localhost6.localdomain6" host names resolve to the IPV6 loopback address ::1 only, bypassing native DNS, and corresponding origins are treated as secured. The goal of this entry is to remove this non-standard behavior.

As you can read here:
 
@Richard G I just copied it from working almalinux 8.7 installed yesterday, IPv4 line was missing after DA install on clean Cloudlinux OS (from cloudlinux iso-image)
 
Back
Top