Skip to content

octaviofilipepereira/RoundcubeHacks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Remote Virtualmin Password Driver [Roundcube v1.4.2]

Plugin driver that adds functionality to change the user/email password on a remote Virtualmin server, using Webmin / Virtualmin API.

INSTALATION:

  • Change the config.inc.php, as described, and transfer to your roundcube instalation;
  • Change the virtualmin_remote.php driver, as described, and transfer to your roundcube instalation;

USAGE:

  • Login to Roundcube Webmail, access to settings->password;
  • Change your user/email password;
  • To debug the connection to the remote virtualmin server, uncomment the debug line in virtualmin_remote.php;

Load Imap Server Host By $GET [Roundcube v1.4.2]

We need to centralize our customers access to webmail.

Roundcube already includes multiple host functionality, however it only allows you to select a particular host via the selection box.

What was done was to change the behavior of Roundcube so as to accept input from a particular host via $ GET, where the host is passed by URL.

Additionally a validation has been created to check if the host is allowed or not, causing a certain login behavior.

  1. If the host is allowed, the "server" field is filled in, allowing the user to authenticate to the desired server.
  2. If the host does not exist and is not allowed, the "server" field and the "login" button are automatically inactivated, prevent attacks.
  3. After user logout the storage server used by the user, will be available to use again.