×


Webmail timeout issue in DirectAdmin

Session time-out is a sliding time-out that is reset for a user to the configured value each time they visit the server. The Application Idle time-out kicks in if there have been no requests to your application for that period of time.
The webmail timeout issue can occur in DirectAdmin if the timeout value is exceeded.
Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to fix errors relating to DirectAdmin.
In this context, we shall look into how to fix this timeout issue in webmail.

How to fix webmail timeout issue in DirectAdmin ?

Recently, one of our customers contacted us regarding a webmail timeout issue in the DirectAdmin server. Generally, the session has a maximum amount of time before they expire. By default, the timeout value is 10 mins.
When we browse in /webmail, it will refresh this time. But when we type a message, if it takes too long to load the session will expire.
As a result, it will end up displaying an error message.

Here, you will learn how to resolve this error message to our customers.

In order to fix this error message, we simply need to increase the timeout value. Here is how we do it.
1. First, we open the configuration file /var/www/html/webmail/inc/config.security.php in any text editor. For that, we run the below command.

vim /var/www/html/webmail/inc/config.security.php

2. After opening the file, we change the value as given below.

$idle_timeout = 15; //minutes

However, we can change it to any higher value as we wish. Finally, this must resolve the timeout issue.

In the newer webmail version, the configuration path is changed. So this how we do it.
i. First, we open the configuration file /var/www/html/webmail/inc/config.php in any text editor. For that, we run the below command.

vim /var/www/html/webmail/inc/config.php

ii. Then we change the value as given below:

$idle_timeout = 15; //minutes

iii. Finally, this must fix the webmail issue.

[Need urgent assistance in fixing DirectAdmin errors? – We'd be happy to help you. ]


Conclusion


This article will guide you on how to resolve #timeout #error in #webmail in #DirectAdmin. Generally, webmail timeout issue can occur if the timeout value is exceeded.
The term timeout or time-out has several meanings, including: A network parameter related to an enforced event designed to occur at the conclusion of a predetermined elapsed time.
To fix Webmail timeout error in DirectAdmin:
Modify the config file "/var/www/html/webmail/inc/config.php" or in /var/www/html/webmail/inc/config.security.php
and set
Code:
# Session timeout for inactivity
#
$idle_timeout = 10; //minutes
to whatever value you need.