How to set one click auto-login for Webmail on DirectAdmin

Set one click auto-login for RoundCube on DirectAdmin is simple and needed for webmail and other apps that use that software.

To do this, you are supposed to have direct access to your server shell via root access of your hosting.

Here are the steps to follow;

Switch to the ‘directadmin’ directory by using the following command.

# cd /usr/local/directadmin/

Then, enable the one click Webmail auto-login by executing the following command.

# ./directadmin set one_click_webmail_login 1

After that, restart the DirectAdmin service by executing the following command.

# service directadmin restart

Now, switch to the ‘custombuild’ directory.

# cd custombuild

After that, run the following command to update the build script.

# ./build update

Then, update changes to the dovecot configuration by executing the following command.

# ./build dovecot_conf

Execute the following command to update the changes to the EXIM configuration file.

# ./build exim_conf

Finally, execute the following command to update RoundCube.

# ./build roundcube

Done.