Dovecot installation on OpenSuse LEAP 15.5. Works fine via Thunderbird.
Roundcube install works great. Astonishing given my rusting skills.
But only until . . . I try to send email. Then RoundCube tells me smtp error(): connection to server failed.
Well, yeah, 'you're trying port 587, when I told you to use port 25. Whatareya, dense?'. Nah, yer just a machine, must be me.
Posted on Roundcube board, views but no replies.
Perhaps someone here knows what else I need to change besides:
~etc/roundcubemail/config.inc.php //$config['smtp_port'] = 587; $config['smtp_port'] = 25;
I don't find any other relevant referenced to SMTP port in RC configuration.
joe a skrev den 2023-11-25 20:17:
I don't find any other relevant referenced to SMTP port in RC configuration.
<?php
/* Local configuration for Roundcube Webmail */
$config['imap_host'] = 'ssl://localhost:993'; $config['smtp_host'] = 'ssl://localhost:465'; $config['smtp_log'] = false; $config['imap_conn_options'] = array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, ), ); $config['smtp_helo_host'] = 'localhost.example.org'; $config['smtp_conn_options'] = array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, ), );
if you prefer tls, then change smtp_host to 'tls://localhost:587'
more help needs error logs
settings that can be changed is in config/defaults.inc.php dont edit this file, change config/config.inc.php if settings need to be changed
On 11/25/2023 15:36:00, Benny Pedersen wrote:
joe a skrev den 2023-11-25 20:17:
I don't find any other relevant referenced to SMTP port in RC configuration.
<?php
/* Local configuration for Roundcube Webmail */
$config['imap_host'] = 'ssl://localhost:993'; $config['smtp_host'] = 'ssl://localhost:465'; $config['smtp_log'] = false; $config['imap_conn_options'] = array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, ), ); $config['smtp_helo_host'] = 'localhost.example.org'; $config['smtp_conn_options'] = array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, ), );
if you prefer tls, then change smtp_host to 'tls://localhost:587'
more help needs error logs
settings that can be changed is in config/defaults.inc.php dont edit this file, change config/config.inc.php if settings need to be changed
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Am I to understand that Roundcube will not do port 25, clear text? Is it not an option to not use encryption?
While that is not too difficult to deal with, it seems not needed in my case.
Thanks.
On 11/25/2023 14:17:34, joe a wrote:
Dovecot installation on OpenSuse LEAP 15.5. Works fine via Thunderbird.
Roundcube install works great. Astonishing given my rusting skills.
But only until . . . I try to send email. Then RoundCube tells me smtp error(): connection to server failed.
Well, yeah, 'you're trying port 587, when I told you to use port 25. Whatareya, dense?'. Nah, yer just a machine, must be me.
Posted on Roundcube board, views but no replies.
Perhaps someone here knows what else I need to change besides:
~etc/roundcubemail/config.inc.php //$config['smtp_port'] = 587; $config['smtp_port'] = 25;
I don't find any other relevant referenced to SMTP port in RC configuration.
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Turns out (reply to post on RoundCube site):
. . .
The 'smtp_port' option was removed in 1.6.0 and you should not change
defaults.inc.php. May be the issue is a partially updated config? From
the 1.6.0 release notes:
. . .
Make sure you don't have an old 'smpt_server' option in your
config.inc.php instead it should have $config['smtp_host'] = 'localhost:25';
I repaired the config file as suggested and it works a treat.
joe a skrev den 2023-11-25 22:20:
~etc/roundcubemail/config.inc.php //$config['smtp_port'] = 587; $config['smtp_port'] = 25;
dont use port 25 anyway from roundcube
Turns out (reply to post on RoundCube site): The 'smtp_port' option was removed in 1.6.0 and you should not change defaults.inc.php. May be the issue is a partially updated config? From the 1.6.0 release notes: . . . Make sure you don't have an old 'smpt_server' option in your config.inc.php instead it should have
$config['smtp_host'] = 'localhost:25';
bad advise with port 25 still
I repaired the config file as suggested and it works a treat.
openSUSE waiting for possible bug reports, port 25 is still not advised to use in roundcube
its not too late to learn more ?
On 11/26/2023 13:09:46, Benny Pedersen wrote:
joe a skrev den 2023-11-25 22:20:
~etc/roundcubemail/config.inc.php //$config['smtp_port'] = 587; $config['smtp_port'] = 25;
dont use port 25 anyway from roundcube
Turns out (reply to post on RoundCube site): The 'smtp_port' option was removed in 1.6.0 and you should not change defaults.inc.php. May be the issue is a partially updated config? From the 1.6.0 release notes: . . . Make sure you don't have an old 'smpt_server' option in your config.inc.php instead it should have
$config['smtp_host'] = 'localhost:25';
bad advise with port 25 still
Noted. In this case, I feel, perhaps wrongly, it is a minor potential hazard. (Not to be seen as a challenge, please, to white or grey hats, or worse).
I repaired the config file as suggested and it works a treat.
openSUSE waiting for possible bug reports, port 25 is still not advised to use in roundcube
I submitted a bug report. I was notified it was sent to package maintainer.
its not too late to learn more ?
Question or Statement?
Some say "never too late". A few of us strive to disprove that rule.
I will very often, when delving into "new to me" stuff, start with the simplest configurations and add "complexity" such as certificate related features later, to easy my learning pains.
participants (2)
-
Benny Pedersen
-
joe a