Bugzilla – Bug 1217496
Roundcube smtp error() due to obsolete configuration option.
Last modified: 2024-01-29 12:39:27 UTC
Installed Roundcube 1.6.4 via YAST. Seemed to work well after basic configuration. Later found sending email via Roundcube configured for port 25 would fail. Enabled debug and confirmed Roundcube was attempting to communicate to SMTP via port 587. Relevant Configuration (being ignored): /etc/roundcubemail/config.inc.php //$config['smtp_port'] = 587; $config['smtp_port'] = 25; Cause and Resolution per Roundcube discussion list: ------ "The 'smtp_port' option was removed in 1.6.0 . . . May be the issue is a partially updated config? From the 1.6.0 release notes: [Quote] SMTP: - renamed smtp_server to smtp_host - removed smtp_port option (non-standard port can be set via smtp_host) - set "localhost:587" as a default for smtp_host [/Quote] Make sure you don't have an old 'smtp_server' option in your config.inc.php instead it should have `$config['smtp_host'] = 'localhost:25';'" ------- Per my own testing, altering /etc/roundcubemail/config.inc.php as suggested resolved the issue.
assigning to package maintainer
Can you please give some background information? What is the exact package name? (rpm -q) From which repository does this package come from? (rpm -qi | grep Distribution)
As requested - Hope this helps. ~# rpm -q dovecot23 dovecot23-2.3.21-lp155.128.1.x86_64 ~# rpm -qi dovecot23 | grep Distribution Distribution: server:mail / 15.5 flitch:/home/joea #
As requested, hope this helps. ~# rpm -q dovecot23 dovecot23-2.3.21-lp155.128.1.x86_64 ~# rpm -qi dovecot23 | grep Distribution Distribution: server:mail / 15.5
Thanks. But the Bug talks about Roundcube. If the issue is with dovecot23, we need to re-assign. Can you please re-check?
Sorry for the confusion. ~# rpm -q roundcubemail roundcubemail-1.6.4-bp155.2.6.1.noarch ~# rpm -qi roundcubemail | grep Distribution Distribution: SUSE Linux Enterprise 15
Thanks for the feedback. I checked the package (available in openSUSE:Backports:SLE-15-SP5:Update/roundcubemail aka https://build.opensuse.org/package/show/openSUSE:Maintenance:18166/roundcubemail.openSUSE_Backports_SLE-15-SP5_Update ) and also the released binary RPM (available in http://download.opensuse.org/update/leap/15.5/backports/noarch/roundcubemail-1.6.4-bp155.2.6.1.noarch.rpm ). What wonders me: we ship the official config.php(.sample), that is also provided by Roundcube upstream. There is no 'smtp_port' config option in the whole config sub-directory. My suspicion would be an upgraded Roundcubemail package. But you are talking about a new installation via Yast, so I have currently not a single idea how this can happen. Can you please verify that this is really a fresh installation and not an update/upgrade?
I'm certain it was a fresh install via YAST. Please allow me a few days to install a fresh 15.5 on a new VM and install those packages and look it over.
Checked a fresh install of LEAP 15.5, actually about 3 days old, dovecot and roundcube. /etc/roundcubemail/config.inc.php appears correct "out of the box". The /etc/roundcubemail/config.inc.php in my installation contains different and less verbose comments than the "fresh" one. Further /etc/roundcubemail/config.inc.php.sample, on my machine, very closely, perhaps exactly, compares to the fresh install and differs from /etc/roundcubemail/config.inc.php on my machine as in the former citation. So, I must conclude in agreement with you, that this is a case of either ID1oT syndrome, or, PEBKAC syndrome. I understand it to be quite common, virtually identical in meaning and occur with greater frequency as the meat sacks and neural net content age out. Must have copied and pasted some example from earlier versions of roundcube found in the wilderness. I really should have checked against the sample before raising this (so-called) bug. Sorry for the inconvenience. And the poor attempts at humor. joe a.
No worries. Something similar happens to me often enough as well ;-) I'm just happy that we could clarify the problem quickly without a real problem. Enjoy your Roundcube installation!
Closing.