Roundcube Community Forum

 

default port / Default server

Started by steve3764, March 07, 2024, 01:42:32 AM

Previous topic - Next topic

steve3764

Hi,
I probably going crazy.. but having no possibity to modify my " all paramateres" I've decided to install another fresh new Roudcubmail  on the server.
Installation seems to be OK
When I arrived to the testing page from the installer.. I could see :

Test SMTP config
Server : localhost
Port : 587
and

IMAP Server
Server Localhost
Port : 25

Except that I've configured into config.inc.php
$config['default_host'] = 'imap://mbox1.office.itx:343';
$config['smtp_host'] = 'ssl://mbox1.office.itx:1165';

I even tried
$config['default_port'] = 1165;
$config['smtp_host'] = 'ssl://mbox1.office.itx:1165';

NONE of these values above, are shown into the testing page  ( Only localhost and standard ports ? )
Does it really read my config.inc.php file ?
Even if the value are not placed correctly I should be able to see these values somewhere.. correct ?

Is that normal ??????  of course I cannot connect



JohnDoh

you have an usual looking config file. it appears to have values from before and after version 1.6 see this announcement about the changes https://roundcube.net/news/2022/07/28/roundcube-1.6.0-released. may be because you are using both old and new names the backwards compatibility stuff is getting confused and giving unexpected results
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

steve3764

Hi,
Apparently still the same problem..  However, I can see on : https://roundcube.net/news/2022/07/28/roundcube-1.6.0-released

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

Why should I use smtp_host : localhost:587  ?? the smtp_host is on a different server and the port is not a standard one

That won't work out ??
I cannot use Roundcube mail on a different machine then the email server ????

Regards,
Steve

SKaero

Quote from: steve3764 on March 13, 2024, 02:56:24 PM
    set "localhost:587" as a default for smtp_host

Why should I use smtp_host : localhost:587  ?? the smtp_host is on a different server and the port is not a standard one

That won't work out ??
I cannot use Roundcube mail on a different machine then the email server ????
There are just noting that the default value for smtp_host has been changed to "localhost:587" if you set a different value it would use that server and port for the SMTP connection.

steve3764

Hi,
I still have , on a new installation, the " installer" showing cannot connect to the database (  DSN (write):  NOT OK(SQLSTATE[HY000] [1698] Access denied for user 'roundcube'@'localhost')
Except  I"ve changed the for a database webmail2 Mysql webmail2 and passw: Webmail2 into the confg and I have the correct sentence into the config.in.php
$config['db_dsnw'] = 'mysql://webmail2:webmail2@localhost/webmail2';

It doesn't see it

I think that it doesn't like the memcache into Apache or the memcache.ini for the PHP.. But up to now, I don't succeed in changing this behaviour :-(

steve3764

Hi,
Now it seems to access the database
the installer show me that the IMAP.. is OK. It can access
smtp (on the same server ) not really

For smtp , Thunderbird ( which working )  is configured as :

server: mbox1.foo.net
Port 502
SSL/TLS
normal password
user:

On roundcube
$config['smtp_port'] = 502;
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';
$config['smtp_server'] = 'mbox1.foo.net';   ( I also tried : $config['smtp_server'] = 'ssl://mbox1.foo.net' )

but this is not working.. I don't know where to look for :-(

The log file says :

[proxy_fcgi:error] [pid 2379:tid 2438] (70007)The timeout specified has expired: [client 82.xx.xx.xx:56600] AH01075: Error dispatching request to : (polling)

That sounds really weird !!

SKaero

As @JohnDoh said above "smtp_server" and "smtp_port" are no longer config options you need to set it with "smtp_host" as noted here: https://roundcube.net/news/2022/07/28/roundcube-1.6.0-released