Applicable to:
- Plesk for Linux
Question
Is it possible to enable 2FA (two factor authentication) for Roundcube in Plesk?
Answer
This feature is yet to be implemented in Plesk.
You can vote for this feature with this link: UserVoice: 2FA (two-factor authentication) for webmail, e.g. Google Authenticator for Roundcube login
Most voted features are likely to be implemented.
Use an open source Roundcube plugin like: alexandregz/twofactor_gauthenticator
Use these steps to install the plugin in Plesk Roundcube:
-
Connect to the server via SSH
-
Go to Roundcube plugin folder:
# cd /usr/share/psa-roundcube/plugins
-
Clone the repository:
# git clone https://github.com/alexandregz/twofactor_gauthenticator.git
-
Edit Roundcube configuration file
/usr/share/psa-roundcube/config/defaults.inc.php
# vi /usr/share/psa-roundcube/config/defaults.inc.php
-
Edit the plugin section and leave it like this:
// List of active plugins (in plugins/ directory)
$config['plugins'] = ['twofactor_gauthenticator', 'password', 'markasjunk', 'managesieve']; -
Copy the configuration file:
# cp twofactor_gauthenticator/config.inc.php.dist twofactor_gauthenticator/config.inc.php
-
(Optional), open the configuration file and adjust if needed:
# vi twofactor_gauthenticator/config.inc.php
Note: For example, you can set force_enrollment_users to true to force all users to use 2FA.
Follow the instructions on git to configure 2FA
Comments
0 comments
Please sign in to leave a comment.