smtp error connection to server Roundcube

for now is errror

[17-Apr-2024 07:26:01 UTC] PHP Warning: strtotime(): Invalid date.timezone value 'Host', we selected the timezone 'UTC' for now. in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/session/db.php on line 126
[17-Apr-2024 07:26:01 UTC] PHP Warning: strtotime(): Invalid date.timezone value 'Host', we selected the timezone 'UTC' for now. in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/session/db.php on line 128
[17-Apr-2024 07:26:04 UTC] PHP Warning: strtotime(): Invalid date.timezone value 'Host', we selected the timezone 'UTC' for now. in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/session/db.php on line 126
[17-Apr-2024 07:26:04 UTC] PHP Warning: strtotime(): Invalid date.timezone value 'Host', we selected the timezone 'UTC' for now. in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/session/db.php on line 128
[17-Apr-2024 07:26:04 UTC] PHP Warning: date(): Invalid date.timezone value 'Host', we selected the timezone 'UTC' for now. in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/rcube_utils.php on line 1525
[17-Apr-2024 07:26:04 +0000]: <81lldm1u> IMAP Error: Login failed for [email protected] against localhost from 182.0.0.0. Could not connect to localhost:143: Cannot assign requested address in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/rcube_imap.php on line 211 (POST /roundcube/?_task=login&_action=login)
[17-Apr-2024 07:26:04 UTC] PHP Fatal error: Uncaught Exception: DateTime::__construct(): Invalid date.timezone value 'Host', we selected the timezone 'UTC' for now. in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/rcube_user.php:526
Stack trace:
#0 /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/rcube_user.php(526): DateTime->__construct()
#1 /var/www/html/roundcubemail-1.6.6/program/include/rcmail.php(782): rcube_user->failed_login()
#2 /var/www/html/roundcubemail-1.6.6/index.php(119): rcmail->login()
#3 {main}
thrown in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/rcube_user.php on line 526
 
[17-Apr-2024 07:56:37 UTC] PHP Warning: strtotime(): Invalid date.timezone value 'Host', we selected the timezone 'UTC' for now. in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/session/db.php on line 126
[17-Apr-2024 07:56:37 UTC] PHP Warning: strtotime(): Invalid date.timezone value 'Host', we selected the timezone 'UTC' for now. in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/session/db.php on line 128
[17-Apr-2024 07:56:41 UTC] PHP Warning: strtotime(): Invalid date.timezone value 'Host', we selected the timezone 'UTC' for now. in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/session/db.php on line 126
[17-Apr-2024 07:56:41 UTC] PHP Warning: strtotime(): Invalid date.timezone value 'Host', we selected the timezone 'UTC' for now. in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/session/db.php on line 128
[17-Apr-2024 07:56:41 UTC] PHP Warning: date(): Invalid date.timezone value 'Host', we selected the timezone 'UTC' for now. in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/rcube_utils.php on line 1525
[17-Apr-2024 07:56:41 +0000]: <81lldm1u> IMAP Error: Login failed for [email protected] against localhost from 182.x.x.75 Could not connect to localhost:143: Cannot assign requested address in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/rcube_imap.php on line 211 (POST /roundcube/?_task=login&_action=login)
[17-Apr-2024 07:57:05 UTC] PHP Warning: strtotime(): Invalid date.timezone value 'Host', we selected the timezone 'UTC' for now. in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/session/db.php on line 126
[17-Apr-2024 07:57:05 UTC] PHP Warning: strtotime(): Invalid date.timezone value 'Host', we selected the timezone 'UTC' for now. in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/session/db.php on line 128
[17-Apr-2024 07:57:05 UTC] PHP Warning: date(): Invalid date.timezone value 'Host', we selected the timezone 'UTC' for now. in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/rcube_utils.php on line 1525
[17-Apr-2024 07:57:05 +0000]: <81lldm1u> IMAP Error: Login failed for [email protected] against localhost from 182.x.x.75 Could not connect to localhost:143: Cannot assign requested address in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/rcube_imap.php on line 211 (POST /roundcube/?_task=login&_action=login)
[17-Apr-2024 07:57:19 UTC] PHP Warning: strtotime(): Invalid date.timezone value 'Host', we selected the timezone 'UTC' for now. in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/session/db.php on line 126
[17-Apr-2024 07:57:19 UTC] PHP Warning: strtotime(): Invalid date.timezone value 'Host', we selected the timezone 'UTC' for now. in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/session/db.php on line 128
[17-Apr-2024 07:57:19 UTC] PHP Warning: date(): Invalid date.timezone value 'Host', we selected the timezone 'UTC' for now. in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/rcube_utils.php on line 1525
[17-Apr-2024 07:57:19 +0000]: <81lldm1u> IMAP Error: Login failed for [email protected] against localhost from 182.x.x.75. Could not connect to localhost:143: Cannot assign requested address in /var/www/html/roundcubemail-1.6.6/program/lib/Roundcube/rcube_imap.php on line 211 (POST /roundcube/?_task=login&_action=login)
 
Seems there are at least 2 issues.
One is only a warning which is the invalid date/timezone. This might be wrongly configured in the Directadmin options.conf so check the php_timezone= setting in there.
Also check your servers date/timezone and set it correctly.

However, this is only generating a warning. The problem is the error.
Login failed for [email protected] against localhost from 182.x.x.75. Could not connect to localhost:143:
It looks here as if roundcube is not running on localhost.

Can you post your /etc/hosts file content here?
 
Back
Top